Bug 1235964 - Fix dead CPOW intermittent. r=bgrins, a=test-only
authorNicolas Chevobbe <chevobbe.nicolas@gmail.com>
Mon, 30 May 2016 13:54:53 +0200
changeset 333220 12ebcba46956a810bed79613d03e70c432525025
parent 333219 b787be8570fc1a5a91fd6b3ec1c09a9ecdc7cc84
child 333221 54232e1311eec1eeea1ba3ea25e9ec6eafcb94fd
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, test-only
bugs1235964
milestone48.0a2
Bug 1235964 - Fix dead CPOW intermittent. r=bgrins, a=test-only MozReview-Commit-ID: 7KGew84XUHs
devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_601177_log_levels.js
@@ -24,17 +24,17 @@ add_task(function* () {
   }
 
   yield testLogLevels(hud);
 
   Services.prefs.clearUserPref("javascript.options.strict");
 });
 
 function testLogLevels(hud) {
-  content.location = TEST_URI2;
+  BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI2);
 
   info("waiting for messages");
 
   return waitForMessages({
     webconsole: hud,
     messages: [
       {
         text: "test-bug-601177-log-levels.html",