Bug 1256916 - Fix eslint issues in devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js. r=bgrins
authormoby <mvonbriesen@mozilla.com>
Wed, 25 May 2016 11:36:00 -0400
changeset 299094 685e4f30fd465aae04e3ae38c11a51e4efe31ff0
parent 299093 31267984105ed9585607db8c177d18f17e3c5e7e
child 299095 8dfd7c9d86397ed898d84933a3c39834f1db886f
push id30289
push userryanvm@gmail.com
push dateThu, 26 May 2016 15:21:32 +0000
treeherdermozilla-central@b0096c5c7277 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins
bugs1256916
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 1256916 - Fix eslint issues in devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js. r=bgrins
devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js
--- a/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js
+++ b/devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js
@@ -16,17 +16,17 @@ const SAMPLE_MSG = "specified a header t
 add_task(function* () {
   let { browser } = yield loadTab(TEST_URI);
 
   let hud = yield openConsole();
 
   hud.jsterm.clearOutput();
 
   let loaded = loadBrowser(browser);
-  content.location = TEST_DOC;
+  BrowserTestUtils.loadURI(browser, TEST_DOC);
   yield loaded;
 
   yield waitForSuccess({
     name: "Subresource STS warning displayed successfully",
     validator: function () {
       return hud.outputNode.textContent.indexOf(SAMPLE_MSG) > -1;
     }
   });