Bug 1250778 - Fix eslint errors in browser_webconsole_bug_600183_charset.js. r=me
authorBrian Grinstead <bgrinstead@mozilla.com>
Thu, 26 May 2016 14:57:29 -0700
changeset 299120 91a78f4ce6fa709366cc84ee43e0c21a788042fa
parent 299119 f0ad74c19f64d4f1b72375056fa4994da7262cc2
child 299121 db599457058b23ffdc6c29c17881e09772020d41
push id30290
push userryanvm@gmail.com
push dateFri, 27 May 2016 01:44:20 +0000
treeherdermozilla-central@34ac60e5b29c [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1250778
milestone49.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1250778 - Fix eslint errors in browser_webconsole_bug_600183_charset.js. r=me 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;
 });