1234567891011121314151617181920212223 |
- From: Daniel Micay <danielmicay@gmail.com>
- Date: Sun, 16 Jun 2019 15:57:29 -0400
- Subject: disable sensors access site setting by default
- ---
- components/content_settings/core/browser/content_settings_registry.cc | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
- diff --git a/components/content_settings/core/browser/content_settings_registry.cc b/components/content_settings/core/browser/content_settings_registry.cc
- --- a/components/content_settings/core/browser/content_settings_registry.cc
- +++ b/components/content_settings/core/browser/content_settings_registry.cc
- @@ -412,7 +412,7 @@ void ContentSettingsRegistry::Init() {
- // TODO(crbug.com/904439): Update this to "SECURE_ONLY" once
- // DeviceOrientationEvents and DeviceMotionEvents are only fired in secure
- // contexts.
- - Register(CONTENT_SETTINGS_TYPE_SENSORS, "sensors", CONTENT_SETTING_ALLOW,
- + Register(CONTENT_SETTINGS_TYPE_SENSORS, "sensors", CONTENT_SETTING_BLOCK,
- WebsiteSettingsInfo::UNSYNCABLE, WhitelistedSchemes(),
- ValidSettings(CONTENT_SETTING_ALLOW, CONTENT_SETTING_BLOCK),
- WebsiteSettingsInfo::SINGLE_ORIGIN_ONLY_SCOPE,
- --
- 2.11.0
|