-
Alex Cooper authored
Adds four new tests around tailored consent/level scenarios: * TestConsentNotNeededForInline * TestConsentPersistsLowerLevel * TestConsentRepromptsHigherLevel * TestConsentRepromptsAfterReload Refactored WebXrVrConsentDialogBrowserTest methods into the base class and re-works how base class methods work. The mock (which always accepts consent requests, but does not call out to display the dialog) is now used unless the fake consent manager has previously been set up. This allowed changing the consent tests to run on all runtimes rather than just the OpenVr Runtime. Renamed existing tests so that all test names fit a similar pattern. Bug: 987029,996454 Change-Id: I9a4224fb169ee7df764a061fdb65038e42c05a8a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1767085 Commit-Queue: Alexander Cooper <alcooper@chromium.org> Reviewed-by:
Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/master@{#690024}
b62ef862