Bug 1250778 - Fix eslint errors in browser_webconsole_bug_600183_charset.js. a=test-only
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 26 May 2016 14:57:29 -0700
changeset 333221 54232e1311eec1eeea1ba3ea25e9ec6eafcb94fd
parent 333220 12ebcba46956a810bed79613d03e70c432525025
child 333222 32b390cabb649a6d57014cbc27580e22dbcad49a
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)
reviewerstest-only
bugs1250778
milestone48.0a2
Bug 1250778 - Fix eslint errors in browser_webconsole_bug_600183_charset.js. a=test-only MozReview-Commit-ID: 3Aa7SEq0tj7
devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_600183_charset.js
@@ -42,18 +42,18 @@ function waitForRequest() {
     performTest(req, console).then(deferred.resolve);
   };
   return deferred.promise;
 }
 
 add_task(function* () {
   let { browser } = yield loadTab(INIT_URI);
 
-  let hud = yield openConsole();
+  yield openConsole();
 
   let gotLastRequest = waitForRequest();
 
   let loaded = loadBrowser(browser);
-  content.location = TEST_URI;
+  BrowserTestUtils.loadURI(browser, TEST_URI);
   yield loaded;
 
   yield gotLastRequest;
 });