Bug 1256854 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js. r=linclark, a=test-only
authorMichael Kohler <mkohler@picobudget.com>
Mon, 02 May 2016 12:28:00 +0200
changeset 333098 f8c2d37d27143661a99cd10f90d198aae18b3536
parent 333097 04934785596476f6dd8baccc355202aeba59af35
child 333099 5108e581ac5c34169d0a8453df00e1702a50d673
push id6048
push userkmoir@mozilla.com
push dateMon, 06 Jun 2016 19:02:08 +0000
treeherdermozilla-beta@46d72a56c57d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinclark, test-only
bugs1256854
milestone48.0a2
Bug 1256854 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js. r=linclark, a=test-only
devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_618078_network_exceptions.js
@@ -18,17 +18,17 @@ add_task(function* () {
   let hud = yield openConsole();
 
   // On e10s, the exception is triggered in child process
   // and is ignored by test harness
   if (!Services.appinfo.browserTabsRemoteAutostart) {
     expectUncaughtException();
   }
 
-  content.location = TEST_URI2;
+  BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI2);
 
   yield waitForMessages({
     webconsole: hud,
     messages: [{
       text: "bug618078exception",
       category: CATEGORY_JS,
       severity: SEVERITY_ERROR,
     }],