Bug 1525129 - Fix intermittent in browser_webconsole_reverse_search_mouse_navigation.js; r=Honza.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Mon, 11 Feb 2019 12:13:20 +0000
changeset 458503 1e8fa611b7ae159304697d3de11aeae23c715bfa
parent 458502 fed3acd909919697e5272b5be4ade16d12d5746f
child 458504 587db27dbdda91e2b5c2001e22636d4a20aa452f
push id111855
push userbtara@mozilla.com
push dateMon, 11 Feb 2019 22:01:49 +0000
treeherdermozilla-inbound@42a097167d36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza
bugs1525129
milestone67.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 1525129 - Fix intermittent in browser_webconsole_reverse_search_mouse_navigation.js; r=Honza. Based on the failure logs, it looks like the test fails because a node highlighter is being triggered while the toolbox is closed. Changing one of the input to not display any nodes in the output should fix the issue. Differential Revision: https://phabricator.services.mozilla.com/D19341
devtools/client/webconsole/test/mochitest/browser_webconsole_reverse_search_mouse_navigation.js
--- a/devtools/client/webconsole/test/mochitest/browser_webconsole_reverse_search_mouse_navigation.js
+++ b/devtools/client/webconsole/test/mochitest/browser_webconsole_reverse_search_mouse_navigation.js
@@ -9,17 +9,17 @@
 const TEST_URI = `data:text/html,<meta charset=utf8>Test reverse search`;
 
 add_task(async function() {
   const hud = await openNewTabAndConsole(TEST_URI);
 
   const jstermHistory = [
     `document`,
     `document
-       .querySelectorAll("*")
+       .querySelectorAll("span")
        .forEach(console.log)`,
     `Dog = "Snoopy"`,
   ];
 
   const onLastMessage = waitForMessage(hud, `"Snoopy"`);
   for (const input of jstermHistory) {
     await hud.jsterm.execute(input);
   }