Bug 1280520 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js. r=bgrins
authorNicolas Chevobbe <chevobbe.nicolas@gmail.com>
Fri, 17 Jun 2016 17:23:44 +0200
changeset 302159 027db1e33f89606c4996feae0203e5f3bb5db43d
parent 302158 bb9e0276322deeed563438c77495927a3e5b1984
child 302160 0ffa18cfc8b4e9970275ab6dd94686792a5c8ae1
child 302200 1176a934e5badc9a3d804172be29865c8545ff06
push id78626
push usercbook@mozilla.com
push dateTue, 21 Jun 2016 10:14:39 +0000
treeherdermozilla-inbound@70cb21780f68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1280520
milestone50.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 1280520 - Fix dead CPOW intermittent in browser_webconsole_bug_613642_prune_scroll.js. r=bgrins MozReview-Commit-ID: 5hlcANi1exr
devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_613642_prune_scroll.js
@@ -50,17 +50,19 @@ add_task(function* () {
   msgNode.scrollIntoView(false);
 
   isnot(scrollBoxElement.scrollTop, oldScrollTop,
         "scroll location updated (scrolled to message)");
 
   oldScrollTop = scrollBoxElement.scrollTop;
 
   // add a message
-  content.console.log("hello world");
+  ContentTask.spawn(gBrowser.selectedBrowser, {}, function* () {
+    content.console.log("hello world");
+  });
 
   yield waitForMessages({
     webconsole: hud,
     messages: [{
       text: "hello world",
       category: CATEGORY_WEBDEV,
       severity: SEVERITY_LOG,
     }],