Bug 1256863 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js. r=linclark, a=test-only
authorMichael Kohler <mkohler@picobudget.com>
Mon, 02 May 2016 12:28:00 +0200
changeset 333099 5108e581ac5c34169d0a8453df00e1702a50d673
parent 333098 f8c2d37d27143661a99cd10f90d198aae18b3536
child 333100 d17e4865654d0d701f2105fd48333e453ec2997a
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
bugs1256863
milestone48.0a2
Bug 1256863 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js. r=linclark, a=test-only
devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_646025_console_file_location.js
@@ -14,17 +14,17 @@ const TEST_URI2 = "http://example.com/br
                  "webconsole/test/" +
                  "test-bug-646025-console-file-location.html";
 
 add_task(function* () {
   yield loadTab(TEST_URI);
 
   let hud = yield openConsole();
 
-  content.location = TEST_URI2;
+  BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI2);
 
   yield waitForMessages({
     webconsole: hud,
     messages: [{
       text: "message for level log",
       category: CATEGORY_WEBDEV,
       severity: SEVERITY_LOG,
       source: { url: "test-file-location.js", line: 6 },