Bug 1256819 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js. r=bgrins
authormoby <mvonbriesen@mozilla.com>
Tue, 24 May 2016 16:18:00 -0400
changeset 299092 3c5ce08d5baa28904b6a8e9f99d82f66d51d5a1c
parent 299091 6a39cf939f60fff5e45c961ca5fe50769984d4a9
child 299093 31267984105ed9585607db8c177d18f17e3c5e7e
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
bugs1256819
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 1256819 - Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js. r=bgrins
devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_1010953_cspro.js
@@ -33,17 +33,17 @@ const CSP_REPORT_MSG = "Content Security
 add_task(function* () {
   let { browser } = yield loadTab(TEST_URI);
 
   let hud = yield openConsole();
 
   hud.jsterm.clearOutput();
 
   let loaded = loadBrowser(browser);
-  content.location = TEST_VIOLATION;
+  BrowserTestUtils.loadURI(browser, TEST_VIOLATION);
   yield loaded;
 
   yield waitForSuccess({
     name: "Confirmed that CSP and CSP-Report-Only log different messages to " +
           "the console.",
     validator: function () {
       console.log(hud.outputNode.textContent);
       let success = false;