Bug 1256916 - Fix eslint issues in devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js. r=bgrins, a=test-only
authormoby <mvonbriesen@mozilla.com>
Wed, 25 May 2016 11:36:00 -0400
changeset 319023 7b3cc5e56d4cd7cb71a88f38d5ed8766c1d91c3f
parent 319022 862a92423935bd4f2451d21345182cea99d2a63e
child 319024 433520b687b76bc6332bf080db94b01ebf4ef881
push id9623
push userryanvm@gmail.com
push dateMon, 30 May 2016 13:38:22 +0000
treeherdermozilla-aurora@433520b687b7 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbgrins, test-only
bugs1256916
milestone48.0a2
Bug 1256916 - Fix eslint issues in devtools/client/webconsole/test/browser_webconsole_show_subresource_security_errors.js. r=bgrins, a=test-only
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;
     }
   });