Bug 1407423 - Part 5: Remove assert from test_vrController_displayId.html
- The updated Puppet Display code now synthesizes puppet
displays with displayId's other than "1".
- I have removed the assert that displayId is always "1" from
the test in order to allow the test-verify to pass.
MozReview-Commit-ID: 3gngmbH9MzB
--- a/dom/vr/test/mochitest/test_vrController_displayId.html
+++ b/dom/vr/test/mochitest/test_vrController_displayId.html
@@ -37,17 +37,16 @@
function startTest() {
promise_test((test) => {
listenControllerEvents();
return VRSimulationDriver.AttachWebVRDisplay().then(() => {
return navigator.getVRDisplays().then((displays) => {
vrDisplay = displays[0];
assert_equals(displays.length, 1, "displays.length must be one after attach.");
- assert_equals(displays[0].displayId, 1, "displayId must be one.");
addController();
addController();
});
});
}, "Finish to add VRDisplay.");
}
runVRTest(startTest);