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 296372 77c7f00c0cd1d422783f56726391b37070f3e5ac
parent 296371 2a70b4b044c35494a1b2c0d8a51dadc10bade3bf
child 296373 e9149132e07a04f5bcaf5f5519d74d1079febe14
push id76311
push usercbook@mozilla.com
push dateFri, 06 May 2016 12:26:12 +0000
treeherdermozilla-inbound@84a3e5716801 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslinclark
bugs1256775
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 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 });
 });
-