Auto merge of #24427 - Manishearth:various-xr, r=jdm

Various XR fixes

Mostly making sure we expose the correct things on the XRSession interface.

No backend currently supports visibility state changes, and it's tricky to do this for Hololens because currently we must pump the event loop to notice these events, and only rAF pumps the event loop right now, which means that applications which choose to stop running rAF when blurred will have a problem.

r? @jdm
This commit is contained in:
bors-servo 2019-10-11 22:16:00 -04:00 committed by GitHub
commit a84d4ab755
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 55 additions and 19 deletions

View file

@ -14,9 +14,6 @@
[XR interface: calling supportsSession(XRSessionMode) on navigator.xr with too few arguments must throw TypeError]
expected: FAIL
[XRSession interface: attribute onvisibilitychange]
expected: FAIL
[XRInputSourcesChangeEvent interface object length]
expected: FAIL
@ -143,9 +140,6 @@
[XRBoundedReferenceSpace interface object name]
expected: FAIL
[XRSession interface: attribute visibilityState]
expected: FAIL
[XRWebGLLayer interface: attribute ignoreDepthValues]
expected: FAIL