Backed out 4 changesets (bug 1381645) for failing in dom/tests/mochitest/general/test_interfaces.html on a CLOSED TREE

Backed out changeset 7b2482a5eb04 (bug 1381645)
Backed out changeset ef3252b0ba21 (bug 1381645)
Backed out changeset 7c022a5e28f2 (bug 1381645)
Backed out changeset 2f71c8989cc0 (bug 1381645)
This commit is contained in:
Noemi Erli 2018-01-24 20:04:34 +02:00
Родитель 0375f07548
Коммит 52ab84dbf1
5 изменённых файлов: 10 добавлений и 222 удалений

Просмотреть файл

@ -1181,21 +1181,21 @@ var interfaceNamesInGlobalScope =
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VideoStreamTrack", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRDisplay", releaseNonWindows: false},
{name: "VRDisplay", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRDisplayCapabilities", releaseNonWindows: false},
{name: "VRDisplayCapabilities", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRDisplayEvent", releaseNonWindows: false},
{name: "VRDisplayEvent", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VREyeParameters", releaseNonWindows: false},
{name: "VREyeParameters", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRFieldOfView", releaseNonWindows: false},
{name: "VRFieldOfView", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRFrameData", releaseNonWindows: false},
{name: "VRFrameData", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRPose", releaseNonWindows: false},
{name: "VRPose", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VRStageParameters", releaseNonWindows: false},
{name: "VRStageParameters", insecureContext: true, releaseNonWindows: false},
// IMPORTANT: Do not change this list without review from a DOM peer!
{name: "VTTCue", insecureContext: true},
// IMPORTANT: Do not change this list without review from a DOM peer!

Просмотреть файл

@ -1,6 +1,5 @@
# Please confirm there is no other VR display connected. Otherwise, VRPuppetDisplay can't be attached.
[DEFAULT]
scheme = https
support-files =
VRSimulationDriver.js
requestPresent.js

Просмотреть файл

@ -217,10 +217,10 @@ partial interface Navigator {
};
partial interface Navigator {
[SecureContext, Throws, Pref="dom.vr.enabled"]
[Throws, Pref="dom.vr.enabled"]
Promise<sequence<VRDisplay>> getVRDisplays();
// TODO: Use FrozenArray once available. (Bug 1236777)
[SecureContext, Frozen, Cached, Pure, Pref="dom.vr.enabled"]
[Frozen, Cached, Pure, Pref="dom.vr.enabled"]
readonly attribute sequence<VRDisplay> activeVRDisplays;
[ChromeOnly, Pref="dom.vr.enabled"]
readonly attribute boolean isWebVRContentDetected;

Просмотреть файл

@ -9,7 +9,6 @@ enum VREye {
};
[Pref="dom.vr.enabled",
SecureContext,
HeaderFile="mozilla/dom/VRDisplay.h"]
interface VRFieldOfView {
readonly attribute double upDegrees;
@ -50,7 +49,6 @@ dictionary VRLayer {
* These are expected to be static per-device/per-user.
*/
[Pref="dom.vr.enabled",
SecureContext,
HeaderFile="mozilla/dom/VRDisplay.h"]
interface VRDisplayCapabilities {
/**
@ -92,7 +90,6 @@ interface VRDisplayCapabilities {
* that support room-scale experiences.
*/
[Pref="dom.vr.enabled",
SecureContext,
HeaderFile="mozilla/dom/VRDisplay.h"]
interface VRStageParameters {
/**
@ -118,7 +115,6 @@ interface VRStageParameters {
};
[Pref="dom.vr.enabled",
SecureContext,
HeaderFile="mozilla/dom/VRDisplay.h"]
interface VRPose
{
@ -140,7 +136,6 @@ interface VRPose
[Constructor,
Pref="dom.vr.enabled",
SecureContext,
HeaderFile="mozilla/dom/VRDisplay.h"]
interface VRFrameData {
readonly attribute DOMHighResTimeStamp timestamp;
@ -163,7 +158,6 @@ interface VRSubmitFrameResult {
};
[Pref="dom.vr.enabled",
SecureContext,
HeaderFile="mozilla/dom/VRDisplay.h"]
interface VREyeParameters {
/**
@ -187,7 +181,6 @@ interface VREyeParameters {
};
[Pref="dom.vr.enabled",
SecureContext,
HeaderFile="mozilla/dom/VRDisplay.h"]
interface VRDisplay : EventTarget {
/**

Просмотреть файл

@ -11,207 +11,3 @@
[HTMLIFrameElement interface: attribute allowvr]
expected: FAIL
[Navigator interface: operation getVRDisplays()]
expected: FAIL
[Navigator interface: attribute activeVRDisplays]
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: 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: 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: 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: 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: 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: attribute sittingToStandingTransform]
expected: FAIL
[VRStageParameters interface: attribute sizeX]
expected: FAIL
[VRStageParameters interface: attribute sizeZ]
expected: FAIL