diff --git a/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js b/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js index a05e02adb676..36b13ce02f43 100644 --- a/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js +++ b/devtools/client/webconsole/test/browser_repeated_messages_accuracy.js @@ -99,7 +99,9 @@ function testConsoleRepeats(hud) { hud.jsterm.clearOutput(true); hud.jsterm.execute("undefined"); - content.console.log("undefined"); + ContentTask.spawn(gBrowser.selectedBrowser, {}, function* () { + content.console.log("undefined"); + }); info("make sure console API messages are not coalesced with jsterm output");