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 338084 685e4f30fd465aae04e3ae38c11a51e4efe31ff0
parent 338083 31267984105ed9585607db8c177d18f17e3c5e7e
child 338085 8dfd7c9d86397ed898d84933a3c39834f1db886f
push id6249
push userjlund@mozilla.com
push dateMon, 01 Aug 2016 13:59:36 +0000
treeherdermozilla-beta@bad9d4f5bf7e [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;
     }
   });