Bug 1256892 - Fix eslint issues in browser_webconsole_hpkp_invalid-headers.js;r=pbro
MozReview-Commit-ID: KXVGsTJY9VN
--- a/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js
+++ b/devtools/client/webconsole/test/browser_webconsole_hpkp_invalid-headers.js
@@ -95,17 +95,17 @@ add_task(function* () {
"by a certificate in the default root certificate store. To " +
"prevent accidental breakage, the specified header was ignored."
}, hud);
});
function* checkForMessage(curTest, hud) {
hud.jsterm.clearOutput();
- content.location = curTest.url;
+ BrowserTestUtils.loadURI(gBrowser.selectedBrowser, curTest.url);
let results = yield waitForMessages({
webconsole: hud,
messages: [
{
name: curTest.name,
text: curTest.text,
category: CATEGORY_SECURITY,