mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Auto merge of #20277 - servo:test-webvr, r=jdm
Enable /webvr/ tests <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20277) <!-- Reviewable:end -->
This commit is contained in:
commit
5feb13ac66
13 changed files with 68 additions and 11 deletions
|
@ -5,6 +5,7 @@
|
||||||
// https://w3c.github.io/webvr/#interface-navigator
|
// https://w3c.github.io/webvr/#interface-navigator
|
||||||
[NoInterfaceObject]
|
[NoInterfaceObject]
|
||||||
interface VR {
|
interface VR {
|
||||||
|
[Pref="dom.webvr.enabled"]
|
||||||
Promise<sequence<VRDisplay>> getDisplays();
|
Promise<sequence<VRDisplay>> getDisplays();
|
||||||
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
|
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
|
||||||
};
|
};
|
||||||
|
|
|
@ -103,6 +103,8 @@ skip: true
|
||||||
skip: false
|
skip: false
|
||||||
[webgl]
|
[webgl]
|
||||||
skip: false
|
skip: false
|
||||||
|
[webvr]
|
||||||
|
skip: false
|
||||||
[WebIDL]
|
[WebIDL]
|
||||||
skip: false
|
skip: false
|
||||||
[websockets]
|
[websockets]
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
[parser-sets-attributes-and-children.html]
|
[parser-sets-attributes-and-children.html]
|
||||||
expected:
|
expected:
|
||||||
if os == "mac": TIMEOUT
|
if os == "mac": TIMEOUT
|
||||||
if os == "linux": TIMEOUT
|
if os == "linux": CRASH
|
||||||
|
|
|
@ -1,8 +1,3 @@
|
||||||
[wbr-element.html]
|
|
||||||
type: reftest
|
|
||||||
reftype: !=
|
|
||||||
refurl: /html/semantics/text-level-semantics/the-wbr-element/wbr-element-notref.html
|
|
||||||
|
|
||||||
[wbr-element.html]
|
[wbr-element.html]
|
||||||
type: reftest
|
type: reftest
|
||||||
reftype: ==
|
reftype: ==
|
||||||
|
|
1
tests/wpt/metadata/webvr/__dir__.ini
Normal file
1
tests/wpt/metadata/webvr/__dir__.ini
Normal file
|
@ -0,0 +1 @@
|
||||||
|
prefs: ["dom.webvr.enabled:true"]
|
22
tests/wpt/metadata/webvr/idlharness.https.html.ini
Normal file
22
tests/wpt/metadata/webvr/idlharness.https.html.ini
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
[idlharness.https.html]
|
||||||
|
[Navigator interface: operation getVRDisplays()]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Navigator interface: attribute activeVRDisplays]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Navigator interface: attribute vrEnabled]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[HTMLIFrameElement interface: attribute allowvr]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Gamepad interface: attribute displayId]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[VRDisplay interface: operation requestPresent([object Object\])]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[VRDisplay interface: operation exitPresent()]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
[webvr-disabled-by-feature-policy.https.sub.html]
|
||||||
|
expected: TIMEOUT
|
||||||
|
[Feature-Policy header vr "none" disallows the top-level document.]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Feature-Policy header vr "none" disallows same-origin iframes.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Feature-Policy header vr "none" disallows cross-origin iframes.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
[webvr-enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html]
|
||||||
|
[Feature-Policy allow="vr" attribute allows same-origin relocation]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Feature-Policy allow="vr" attribute disallows cross-origin relocation]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
[webvr-enabled-by-feature-policy-attribute.https.sub.html]
|
||||||
|
[Feature-Policy allow="vr" attribute allows same-origin iframe]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Feature-Policy allow="vr" attribute allows cross-origin iframe]
|
||||||
|
expected: FAIL
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[webvr-enabled-by-feature-policy.https.sub.html]
|
||||||
|
expected: TIMEOUT
|
||||||
|
[Feature-Policy header vr * allows same-origin iframes.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Feature-Policy header vr * allows cross-origin iframes.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
[webvr-enabled-on-self-origin-by-feature-policy.https.sub.html]
|
||||||
|
expected: TIMEOUT
|
||||||
|
[Feature-Policy header vr "self" allows same-origin iframes.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
||||||
|
[Feature-Policy header vr "self" disallows cross-origin iframes.]
|
||||||
|
expected: TIMEOUT
|
||||||
|
|
|
@ -1,3 +0,0 @@
|
||||||
[border_radius_elliptical_a.html]
|
|
||||||
bug: https://github.com/servo/servo/issues/19271
|
|
||||||
expected: FAIL
|
|
|
@ -1,2 +0,0 @@
|
||||||
[transition_calc_implicit.html]
|
|
||||||
expected: TIMEOUT
|
|
Loading…
Add table
Add a link
Reference in a new issue