From 887548abab906e74bfff7971f7fb1845be2ebc91 Mon Sep 17 00:00:00 2001 From: Brian Grinstead Date: Tue, 16 Feb 2016 17:30:12 -0800 Subject: [PATCH] Bug 1247962 - Get rid of CPOW in browser_webconsole_live_filtering_on_search_strings.js;r=linclark MozReview-Commit-ID: EyBMJ3dqZSW --- ...wser_webconsole_live_filtering_on_search_strings.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js b/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js index fed9a62c1356..d41bb40a59eb 100644 --- a/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js +++ b/devtools/client/webconsole/test/browser_webconsole_live_filtering_on_search_strings.js @@ -15,11 +15,11 @@ add_task(function*() { let hud = yield openConsole(); hud.jsterm.clearOutput(); - let console = content.console; - - for (let i = 0; i < 50; i++) { - console.log("http://www.example.com/ " + i); - } + ContentTask.spawn(gBrowser.selectedBrowser, {}, function*() { + for (let i = 0; i < 50; i++) { + content.console.log("http://www.example.com/ " + i); + } + }); yield waitForMessages({ webconsole: hud,