Bug 1243259 - Fix dead CPOW intermittent. r=bgrins
authorNicolas Chevobbe <chevobbe.nicolas@gmail.com>
Sat, 28 May 2016 22:06:03 +0200
changeset 324541 58ae8bb46ffd90633f1fc824cea2b8b6007d3cfc
parent 324540 c37ebb6f4e2ee6e38d3a5d33dbd7aece0ed3465e
child 324542 585d451b7795f473a253dce05369b909723d789e
push id9671
push userraliiev@mozilla.com
push dateMon, 06 Jun 2016 20:27:52 +0000
treeherdermozilla-aurora@cea65ca3d0bd [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1243259
milestone49.0a1
Bug 1243259 - Fix dead CPOW intermittent. r=bgrins MozReview-Commit-ID: Bp4HzR929VJ
devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js
--- a/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js
+++ b/devtools/client/webconsole/test/browser_webconsole_console_trace_duplicates.js
@@ -10,17 +10,17 @@ function test() {
                    "test/test-bug_939783_console_trace_duplicates.html";
 
   Task.spawn(runner).then(finishTest);
 
   function* runner() {
     const {tab} = yield loadTab("data:text/html;charset=utf8,<p>hello");
     const hud = yield openConsole(tab);
 
-    content.location = TEST_URI;
+    BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI);
 
     // NB: Now that stack frames include a column number multiple invocations
     //     on the same line are considered unique. ie:
     //       |foo(); foo();|
     //     will generate two distinct trace entries.
     yield waitForMessages({
       webconsole: hud,
       messages: [{