gecko-dev/testing
Kearwood "Kip" Gilbert b3787eec77 Bug 1603825 - Suppress the VR permission UI when no VR runtimes are detected r=daoshengmu,bzbarsky
This patch suppresses VR device access permission prompts for users that do not have any VR runtimes installed.

We could not depend on the existing VR device enumeration functions to suppress the permission prompts, as the
act of enumerating VR devices will result in some hardware physically powering on and software starting up (and staying running)
in the background.

This patch includes logic to spawn the VR process with an additional flag indicating that it should attempt only to detect the
runtimes, without proceeding to enumerate and activate hardware and software.

VRManager now includes an enum to more clearly organize it's state machine model, which now must ensure that the runtime detection
happens on-demand when the VR session support capabilities are first determined.

There is a new pref to disable the suppression of permission prompts for use within permission UI tests on machines without VR runtimes.
Renamed some variables and added comments to make code in nsGlobalWindowInner and Navigator clearer and better represent the updated logic -- to allow the separate detection of VR runtimes and VR session activation. Both the runtime detection and VR
session activity uses VREventObserver to send events to nsGlobalWindowInner.

Differential Revision: https://phabricator.services.mozilla.com/D57568

--HG--
extra : moz-landing-system : lando
2020-01-03 22:47:26 +00:00
..
awsy Bug 1605880 - Use consistent fission perfherder data naming for talos/raptor/awsy r=sparky,Marian 2019-12-27 17:11:55 +00:00
condprofile
config
crashtest Bug 1603825 - Suppress the VR permission UI when no VR runtimes are detected r=daoshengmu,bzbarsky 2020-01-03 22:47:26 +00:00
extensions
firefox-ui
geckodriver
gtest
jsshell
marionette Bug 1571424 - [marionette] Full screenshot has to capture the whole content size. r=marionette-reviewers,ato 2020-01-03 09:07:00 +00:00
mochitest Bug 1605918 - Get rid of synthesizeDragStart() in EventUtils.js r=smaug 2019-12-27 16:25:24 +00:00
modules
mozbase Bug 1605731 - Fix assertion in mach formatter with multiple repetitions of suite, r=ahal 2020-01-02 21:21:09 +00:00
mozharness Bug 1605381 - Schedule wpt crashtests in CI, r=ahal 2020-01-02 17:13:54 +00:00
profiles
raptor Bug 1606767 - Fix permafail on reference browser by using non-conditioned profile. r=rwood,perftest-reviewers 2020-01-03 19:25:53 +00:00
runtimes
specialpowers
talos Bug 1604972 - Remove tresize iframes temporarily r=mccr8 2019-12-21 01:38:35 +00:00
tools
tps
web-platform Bug 1606606 - [wpt-sync] Update web-platform-tests to fda9fa30b9c18f3689f09384c0d4f104c6e6fd4d, a=testonly 2020-01-03 11:36:18 +00:00
webdriver
xpcshell Bug 1588154 - make dom.serviceWorkers.parent_intercept true by default r=asuth,jgraham 2019-12-23 14:16:42 +00:00
addtest.py
cppunittest.ini Bug 1598703: Part 2 - Add IAT Patching capabilities to the Windows DLL Interceptor; r=mhowell 2019-12-23 23:11:35 +00:00
mach_commands.py
moz.build
parse_build_tests_ccov.py
README.txt
remotecppunittests.py
runcppunittests.py
testinfo.py Bug 1605381 - Schedule wpt crashtests in CI, r=ahal 2020-01-02 17:13:54 +00:00
testsuite-targets.mk Bug 1606182 - add python-test using python3 to make check r=Callek 2019-12-30 18:02:23 +00:00

Common testing tools for mozilla codebase projects, test suite definitions
for automated test runs, tests that don't fit anywhere else, and other fun
stuff