Bug 1256775 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js. r=linclark
authorMichael Kohler <mkohler@picobudget.com>
Tue, 03 May 2016 16:03:00 -0400
changeset 296093 77c7f00c0cd1d422783f56726391b37070f3e5ac
parent 296092 2a70b4b044c35494a1b2c0d8a51dadc10bade3bf
child 296094 e9149132e07a04f5bcaf5f5519d74d1079febe14
push id19078
push userryanvm@gmail.com
push dateThu, 05 May 2016 14:51:22 +0000
treeherderfx-team@e9149132e07a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinclark
bugs1256775
milestone49.0a1
Bug 1256775 - [ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js. r=linclark
devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js
--- a/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js
+++ b/devtools/client/webconsole/test/browser_bug_869003_inspect_cross_domain_object.js
@@ -16,17 +16,17 @@ add_task(function* () {
   // variables view for a given object, it updates a property in the view and
   // checks the result. We can get a timeout with debug builds on slower
   // machines.
   requestLongerTimeout(2);
 
   yield loadTab("data:text/html;charset=utf8,<p>hello");
   let hud = yield openConsole();
 
-  content.location = TEST_URI;
+  BrowserTestUtils.loadURI(gBrowser.selectedBrowser, TEST_URI);
 
   let [result] = yield waitForMessages({
     webconsole: hud,
     messages: [{
       name: "console.log message",
       text: "foobar",
       category: CATEGORY_WEBDEV,
       severity: SEVERITY_LOG,
@@ -70,9 +70,8 @@ add_task(function* () {
 
   info("onFetchAfterUpdate");
 
   yield findVariableViewProperties(aVar, [
     { name: "hello", value: "omgtest" },
     { name: "bug", value: 869003 },
   ], { webconsole: hud });
 });
-