Bug 1594637 - Fix browser_webconsole_output_order intermittent. r=Honza.
authorNicolas Chevobbe <nchevobbe@mozilla.com>
Fri, 08 Nov 2019 11:52:16 +0000
changeset 501284 526d08f2c191cdf8f5bbf13c620d9f9d54562e24
parent 501283 4abf68889876561e21d1b6fc9f794ae1e13bd08c
child 501285 52be2a1daacd90ef14c410106b0cb470464bb486
push id114168
push userdluca@mozilla.com
push dateSun, 10 Nov 2019 03:08:55 +0000
treeherdermozilla-inbound@33f64c1ef3e4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersHonza
bugs1594637
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 1594637 - Fix browser_webconsole_output_order intermittent. r=Honza. It's not obvious to me what the culprit is, but it may be because of the clearOutput call somehow. Let's see if this fix the intermittent. Differential Revision: https://phabricator.services.mozilla.com/D52321
devtools/client/webconsole/test/browser/browser_webconsole_output_order.js
--- a/devtools/client/webconsole/test/browser/browser_webconsole_output_order.js
+++ b/devtools/client/webconsole/test/browser/browser_webconsole_output_order.js
@@ -7,17 +7,16 @@
 "use strict";
 
 const TEST_URI =
   "http://example.com/browser/devtools/client/webconsole/" +
   "test/browser/test-console.html";
 
 add_task(async function() {
   const hud = await openNewTabAndConsole(TEST_URI);
-  hud.ui.clearOutput();
 
   const messages = ["console.log('foo', 'bar');", "foo bar", "undefined"];
   const onMessages = waitForMessages({
     hud,
     messages: messages.map(text => ({ text })),
   });
 
   execute(hud, "console.log('foo', 'bar');");