Bug 1580961, disable intermittently failing part of the pointerlock test, leaving the main part that tests the original bug fix, as is, r=Gijs
authorNeil Deakin <neil@mozilla.com>
Wed, 13 Nov 2019 14:15:52 +0000
changeset 502135 51dc2e048fa0512dccc5495bb86b43452dddc63d
parent 502134 45374ab225daf31a9dc7f765e4587dd1cd7be7d9
child 502136 81b1c17310c2e3060f5a6e92f0a5221514c5fa72
push id114172
push userdluca@mozilla.com
push dateTue, 19 Nov 2019 11:31:10 +0000
treeherdermozilla-inbound@b5c5ba07d3db [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersGijs
bugs1580961
milestone72.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1580961, disable intermittently failing part of the pointerlock test, leaving the main part that tests the original bug fix, as is, r=Gijs Differential Revision: https://phabricator.services.mozilla.com/D51619
dom/tests/browser/browser_pointerlock_warning.js
--- a/dom/tests/browser/browser_pointerlock_warning.js
+++ b/dom/tests/browser/browser_pointerlock_warning.js
@@ -37,16 +37,19 @@ add_task(async function show_pointerlock
   // Pointerlock should be released after escape is pressed.
   await ContentTask.spawn(tab.linkedBrowser, null, async function() {
     Assert.equal(content.document.pointerLockElement, null);
   });
 
   await BrowserTestUtils.removeTab(tab);
 });
 
+/*
+// XXX Bug 1580961 - this part of the test is disabled.
+//
 // Make sure the pointerlock warning is shown, but this time escape is not pressed until after the
 // notification is closed via the timeout.
 add_task(async function show_pointerlock_warning_timeout() {
   let tab = await BrowserTestUtils.openNewForegroundTab(gBrowser, TEST_URL);
 
   let warning = document.getElementById("pointerlock-warning");
   let warningShownPromise = BrowserTestUtils.waitForAttribute(
     "onscreen",
@@ -75,8 +78,9 @@ add_task(async function show_pointerlock
 
   // Pointerlock should now be released.
   await ContentTask.spawn(tab.linkedBrowser, null, async function() {
     Assert.equal(content.document.pointerLockElement, null);
   });
 
   await BrowserTestUtils.removeTab(tab);
 });
+*/