Skip to content

Commit f460ff7

Browse files
committed
Disabled WebXR features.
Chromium change: https://chromium.googlesource.com/chromium/src/+/17998a4e8a4a855668a98ef7af72273ad6e4a658 commit 17998a4e8a4a855668a98ef7af72273ad6e4a658 Author: Alex Cooper <alcooper@chromium.org> Date: Fri Oct 11 19:24:02 2019 +0000 Enable WebXR feature by default This feature is intended to ship in 79, so the feature needs to be enabled. Intent to Ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/CHCM_xALBG4/JeQQYkONBwAJ Bug: 1007537 https://chromium.googlesource.com/chromium/src/+/755e5ce23981c33575207caef9cbe6a3194931df commit 755e5ce23981c33575207caef9cbe6a3194931df Author: Alex Cooper <alcooper@chromium.org> Date: Wed Oct 16 19:58:00 2019 +0000 Enable WebXR Gamepad Module by default This feature is intended to ship in 79, so the flag should be enabled by default. Intent to Ship: https://groups.google.com/a/chromium.org/d/msg/blink-dev/Nvll21RaKwM/fTn8qUaNBwAJ Bug: 1013739
1 parent 9bc746a commit f460ff7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

app/brave_main_delegate.cc

+2
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ bool BraveMainDelegate::BasicStartupComplete(int* exit_code) {
169169
features::kLookalikeUrlNavigationSuggestionsUI.name,
170170
features::kNotificationTriggers.name,
171171
features::kSmsReceiver.name,
172+
features::kWebXr.name,
173+
features::kWebXrGamepadModule.name,
172174
unified_consent::kUnifiedConsent.name,
173175
switches::kSyncUSSBookmarks.name,
174176
};

app/brave_main_delegate_browsertest.cc

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ IN_PROC_BROWSER_TEST_F(BraveMainDelegateBrowserTest, DisabledFeatures) {
4848
&features::kDefaultEnableOopRasterization,
4949
&features::kNotificationTriggers,
5050
&features::kSmsReceiver,
51+
&features::kWebXr,
52+
&features::kWebXrGamepadModule,
5153
&unified_consent::kUnifiedConsent,
5254
&features::kLookalikeUrlNavigationSuggestionsUI,
5355
&switches::kSyncUSSBookmarks,

0 commit comments

Comments
 (0)