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:
bors-servo 2018-03-12 10:32:52 -04:00 committed by GitHub
commit 5feb13ac66
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 68 additions and 11 deletions

View file

@ -5,6 +5,7 @@
// https://w3c.github.io/webvr/#interface-navigator
[NoInterfaceObject]
interface VR {
[Pref="dom.webvr.enabled"]
Promise<sequence<VRDisplay>> getDisplays();
//readonly attribute FrozenArray<VRDisplay> activeVRDisplays;
};

View file

@ -103,6 +103,8 @@ skip: true
skip: false
[webgl]
skip: false
[webvr]
skip: false
[WebIDL]
skip: false
[websockets]

View file

@ -1,4 +1,4 @@
[parser-sets-attributes-and-children.html]
expected:
if os == "mac": TIMEOUT
if os == "linux": TIMEOUT
if os == "linux": CRASH

View file

@ -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]
type: reftest
reftype: ==

View file

@ -0,0 +1 @@
prefs: ["dom.webvr.enabled:true"]

View 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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -1,3 +0,0 @@
[border_radius_elliptical_a.html]
bug: https://github.com/servo/servo/issues/19271
expected: FAIL

View file

@ -1,2 +0,0 @@
[transition_calc_implicit.html]
expected: TIMEOUT