Bug 1243259 - Fix dead CPOW intermittent. r=bgrins, a=test-only CLOSED TREE FIREFOX_48_0b3_BUILD1 FIREFOX_48_0b3_RELEASE
authorNicolas Chevobbe <chevobbe.nicolas@gmail.com>
Sat, 28 May 2016 22:06:03 +0200
changeset 335407 13b02b96281e550c3cdbdf4eaed034aa1edefd69
parent 335406 758bf5a6607b7e44a20e5682d62afe8ea6a048a5
child 335408 a12645dfe28dd9e05380721c19ad3ba478617e97
push id1146
push userCallek@gmail.com
push dateMon, 25 Jul 2016 16:35:44 +0000
treeherdermozilla-release@a55778f9cd5a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, test-only
bugs1243259
milestone48.0
Bug 1243259 - Fix dead CPOW intermittent. r=bgrins, a=test-only CLOSED TREE 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: [{