Commit 394496a5 authored by Alexander Cooper's avatar Alexander Cooper Committed by Commit Bot

Remove Unused XR Consent Flow flag

Now that the XR Consent Flow has been removed, nothing checks this flag
(disabling it for tests) anymore. Remove the flag and the only place
that set it.

Bug: 1064384
Change-Id: Ie8568324c45288d7055a510b211290d6e2696699
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2220227
Commit-Queue: Alexander Cooper <alcooper@chromium.org>
Reviewed-by: default avatarBrian Sheedy <bsheedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#773406}
parent aedb2ffa
...@@ -237,11 +237,6 @@ const char kDisablePromptOnRepost[] = "disable-prompt-on-repost"; ...@@ -237,11 +237,6 @@ const char kDisablePromptOnRepost[] = "disable-prompt-on-repost";
const char kDisableSearchGeolocationDisclosure[] = const char kDisableSearchGeolocationDisclosure[] =
"disable-search-geolocation-disclosure"; "disable-search-geolocation-disclosure";
// Disables prompting the user for consent before fulfilling WebXR's
// requestSession(). Use only when absolutely necessary, such as for perf tests.
const char kDisableXrDeviceConsentPromptForTesting[] =
"disable-xr-device-consent-prompt-for-testing";
// Some tests seem to require the application to close when the last // Some tests seem to require the application to close when the last
// browser window is closed. Thus, we need a switch to force this behavior // browser window is closed. Thus, we need a switch to force this behavior
// for ChromeOS Aura, disable "zero window mode". // for ChromeOS Aura, disable "zero window mode".
......
...@@ -79,7 +79,6 @@ extern const char kDisableExtensionsFileAccessCheck[]; ...@@ -79,7 +79,6 @@ extern const char kDisableExtensionsFileAccessCheck[];
extern const char kDisablePrintPreview[]; extern const char kDisablePrintPreview[];
extern const char kDisablePromptOnRepost[]; extern const char kDisablePromptOnRepost[];
extern const char kDisableSearchGeolocationDisclosure[]; extern const char kDisableSearchGeolocationDisclosure[];
extern const char kDisableXrDeviceConsentPromptForTesting[];
extern const char kDisableZeroBrowsersOpenForTests[]; extern const char kDisableZeroBrowsersOpenForTests[];
extern const char kDiskCacheDir[]; extern const char kDiskCacheDir[];
extern const char kDiskCacheSize[]; extern const char kDiskCacheSize[];
......
...@@ -18,8 +18,6 @@ from contrib.vr_benchmarks.desktop_runtimes import wmr_runtimes ...@@ -18,8 +18,6 @@ from contrib.vr_benchmarks.desktop_runtimes import wmr_runtimes
CARDBOARD_PATH = os.path.join('chrome', 'android', 'shared_preference_files', CARDBOARD_PATH = os.path.join('chrome', 'android', 'shared_preference_files',
'test', 'vr_cardboard_skipdon_setupcomplete.json') 'test', 'vr_cardboard_skipdon_setupcomplete.json')
WEBXR_CONSENT_DIALOG_DISABLE_FLAG = (
'--disable-xr-device-consent-prompt-for-testing')
class SharedVrPageStateFactory(shared_page_state.SharedPageState): class SharedVrPageStateFactory(shared_page_state.SharedPageState):
...@@ -66,8 +64,6 @@ class _SharedVrPageState(shared_page_state.SharedPageState): ...@@ -66,8 +64,6 @@ class _SharedVrPageState(shared_page_state.SharedPageState):
super(_SharedVrPageState, self).__init__( super(_SharedVrPageState, self).__init__(
test, finder_options, story_set, possible_browser) test, finder_options, story_set, possible_browser)
self._story_set = story_set self._story_set = story_set
self._finder_options.AppendExtraBrowserArgs(
[WEBXR_CONSENT_DIALOG_DISABLE_FLAG])
@property @property
def recording_wpr(self): def recording_wpr(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment