Bug 1256848 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js. r=jlast, a=test-only
authorWellington Cordeiro <wellington@wellingtoncordeiro.com>
Thu, 05 May 2016 21:48:11 -0700
changeset 333109 8ebfcbda759ef1d642ca82a26170a5bebe6671dd
parent 333108 61411310ed8af6c7dc6d5442c6617dfa9ac377b6
child 333110 28efb86c3f0a1352faa8dea7871c99544c393217
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)
reviewersjlast, test-only
bugs1256848
milestone48.0a2
Bug 1256848 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js. r=jlast, a=test-only MozReview-Commit-ID: HTmrjNK1nRI
devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_603750_websocket.js
@@ -10,17 +10,17 @@ const TEST_URI = "http://example.com/bro
 const TEST_URI2 = "data:text/html;charset=utf-8,Web Console test for " +
                   "bug 603750: Web Socket errors";
 
 add_task(function* () {
   yield loadTab(TEST_URI2);
 
   let hud = yield openConsole();
 
-  content.location = TEST_URI;
+  BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI);
 
   yield waitForMessages({
     webconsole: hud,
     messages: [
       {
         text: "ws://0.0.0.0:81",
         source: { url: "test-bug-603750-websocket.js" },
         category: CATEGORY_JS,