diff --git a/tests/wpt/include.ini b/tests/wpt/include.ini index 9daccd9d3f0..ecc822918a6 100644 --- a/tests/wpt/include.ini +++ b/tests/wpt/include.ini @@ -103,6 +103,8 @@ skip: true skip: false [webgl] skip: false +[webvr] + skip: false [WebIDL] skip: false [websockets] diff --git a/tests/wpt/metadata/webvr/idlharness.https.html.ini b/tests/wpt/metadata/webvr/idlharness.https.html.ini new file mode 100644 index 00000000000..ad4eaab2e38 --- /dev/null +++ b/tests/wpt/metadata/webvr/idlharness.https.html.ini @@ -0,0 +1,256 @@ +[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: existence and properties of interface object] + expected: FAIL + + [VRDisplay interface object length] + expected: FAIL + + [VRDisplay interface object name] + expected: FAIL + + [VRDisplay interface: existence and properties of interface prototype object] + expected: FAIL + + [VRDisplay interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [VRDisplay interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [VRDisplay interface: attribute isPresenting] + expected: FAIL + + [VRDisplay interface: attribute capabilities] + expected: FAIL + + [VRDisplay interface: attribute stageParameters] + expected: FAIL + + [VRDisplay interface: operation getEyeParameters(VREye)] + expected: FAIL + + [VRDisplay interface: attribute displayId] + expected: FAIL + + [VRDisplay interface: attribute displayName] + expected: FAIL + + [VRDisplay interface: operation getFrameData(VRFrameData)] + expected: FAIL + + [VRDisplay interface: attribute depthNear] + expected: FAIL + + [VRDisplay interface: attribute depthFar] + expected: FAIL + + [VRDisplay interface: operation requestAnimationFrame(FrameRequestCallback)] + expected: FAIL + + [VRDisplay interface: operation cancelAnimationFrame(long)] + expected: FAIL + + [VRDisplay interface: operation requestPresent([object Object\])] + expected: FAIL + + [VRDisplay interface: operation exitPresent()] + expected: FAIL + + [VRDisplay interface: operation getLayers()] + expected: FAIL + + [VRDisplay interface: operation submitFrame()] + expected: FAIL + + [VRDisplayCapabilities interface: existence and properties of interface object] + expected: FAIL + + [VRDisplayCapabilities interface object length] + expected: FAIL + + [VRDisplayCapabilities interface object name] + expected: FAIL + + [VRDisplayCapabilities interface: existence and properties of interface prototype object] + expected: FAIL + + [VRDisplayCapabilities interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [VRDisplayCapabilities interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [VRDisplayCapabilities interface: attribute hasPosition] + expected: FAIL + + [VRDisplayCapabilities interface: attribute hasExternalDisplay] + expected: FAIL + + [VRDisplayCapabilities interface: attribute canPresent] + expected: FAIL + + [VRDisplayCapabilities interface: attribute maxLayers] + expected: FAIL + + [VRPose interface: existence and properties of interface object] + expected: FAIL + + [VRPose interface object length] + expected: FAIL + + [VRPose interface object name] + expected: FAIL + + [VRPose interface: existence and properties of interface prototype object] + expected: FAIL + + [VRPose interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [VRPose interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [VRPose interface: attribute position] + expected: FAIL + + [VRPose interface: attribute linearVelocity] + expected: FAIL + + [VRPose interface: attribute linearAcceleration] + expected: FAIL + + [VRPose interface: attribute orientation] + expected: FAIL + + [VRPose interface: attribute angularVelocity] + expected: FAIL + + [VRPose interface: attribute angularAcceleration] + expected: FAIL + + [VRFrameData interface: existence and properties of interface object] + expected: FAIL + + [VRFrameData interface object length] + expected: FAIL + + [VRFrameData interface object name] + expected: FAIL + + [VRFrameData interface: existence and properties of interface prototype object] + expected: FAIL + + [VRFrameData interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [VRFrameData interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [VRFrameData interface: attribute leftProjectionMatrix] + expected: FAIL + + [VRFrameData interface: attribute leftViewMatrix] + expected: FAIL + + [VRFrameData interface: attribute rightProjectionMatrix] + expected: FAIL + + [VRFrameData interface: attribute rightViewMatrix] + expected: FAIL + + [VRFrameData interface: attribute pose] + expected: FAIL + + [VREyeParameters interface: existence and properties of interface object] + expected: FAIL + + [VREyeParameters interface object length] + expected: FAIL + + [VREyeParameters interface object name] + expected: FAIL + + [VREyeParameters interface: existence and properties of interface prototype object] + expected: FAIL + + [VREyeParameters interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [VREyeParameters interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [VREyeParameters interface: attribute offset] + expected: FAIL + + [VREyeParameters interface: attribute renderWidth] + expected: FAIL + + [VREyeParameters interface: attribute renderHeight] + expected: FAIL + + [VRStageParameters interface: existence and properties of interface object] + expected: FAIL + + [VRStageParameters interface object length] + expected: FAIL + + [VRStageParameters interface object name] + expected: FAIL + + [VRStageParameters interface: existence and properties of interface prototype object] + expected: FAIL + + [VRStageParameters interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [VRStageParameters interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [VRStageParameters interface: attribute sittingToStandingTransform] + expected: FAIL + + [VRStageParameters interface: attribute sizeX] + expected: FAIL + + [VRStageParameters interface: attribute sizeZ] + expected: FAIL + + [VRDisplayEvent interface: existence and properties of interface object] + expected: FAIL + + [VRDisplayEvent interface object length] + expected: FAIL + + [VRDisplayEvent interface object name] + expected: FAIL + + [VRDisplayEvent interface: existence and properties of interface prototype object] + expected: FAIL + + [VRDisplayEvent interface: existence and properties of interface prototype object's "constructor" property] + expected: FAIL + + [VRDisplayEvent interface: existence and properties of interface prototype object's @@unscopables property] + expected: FAIL + + [VRDisplayEvent interface: attribute display] + expected: FAIL + + [VRDisplayEvent interface: attribute reason] + expected: FAIL + diff --git a/tests/wpt/metadata/webvr/webvr-disabled-by-feature-policy.https.sub.html.ini b/tests/wpt/metadata/webvr/webvr-disabled-by-feature-policy.https.sub.html.ini new file mode 100644 index 00000000000..a55dd4fa48d --- /dev/null +++ b/tests/wpt/metadata/webvr/webvr-disabled-by-feature-policy.https.sub.html.ini @@ -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 + diff --git a/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini b/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini new file mode 100644 index 00000000000..f62af3274ab --- /dev/null +++ b/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy-attribute-redirect-on-load.https.sub.html.ini @@ -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 + diff --git a/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy-attribute.https.sub.html.ini b/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy-attribute.https.sub.html.ini new file mode 100644 index 00000000000..eefc44081c1 --- /dev/null +++ b/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy-attribute.https.sub.html.ini @@ -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 + diff --git a/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy.https.sub.html.ini b/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy.https.sub.html.ini new file mode 100644 index 00000000000..68ed346587c --- /dev/null +++ b/tests/wpt/metadata/webvr/webvr-enabled-by-feature-policy.https.sub.html.ini @@ -0,0 +1,11 @@ +[webvr-enabled-by-feature-policy.https.sub.html] + expected: TIMEOUT + [Feature-Policy header vr * allows the top-level document.] + expected: FAIL + + [Feature-Policy header vr * allows same-origin iframes.] + expected: TIMEOUT + + [Feature-Policy header vr * allows cross-origin iframes.] + expected: TIMEOUT + diff --git a/tests/wpt/metadata/webvr/webvr-enabled-on-self-origin-by-feature-policy.https.sub.html.ini b/tests/wpt/metadata/webvr/webvr-enabled-on-self-origin-by-feature-policy.https.sub.html.ini new file mode 100644 index 00000000000..8a36618dedb --- /dev/null +++ b/tests/wpt/metadata/webvr/webvr-enabled-on-self-origin-by-feature-policy.https.sub.html.ini @@ -0,0 +1,11 @@ +[webvr-enabled-on-self-origin-by-feature-policy.https.sub.html] + expected: TIMEOUT + [Feature-Policy header vr "self" allows the top-level document.] + expected: FAIL + + [Feature-Policy header vr "self" allows same-origin iframes.] + expected: TIMEOUT + + [Feature-Policy header vr "self" disallows cross-origin iframes.] + expected: TIMEOUT +