Bug 1243388 - Don't access CPOW in browser_webconsole_bug_597756_reopen_closed_tab.js;r=linclark
authorBrian Grinstead <bgrinstead@mozilla.com>
Wed, 27 Jan 2016 14:16:34 -0800
changeset 326697 8f7eb6173acfe3955bd34b05b6131589c1a2cfc2
parent 326696 6c9406cbc5019478f91784616b357ed9fb68de35
child 326698 24320d1e9d99d14e391db8013e88736a6bff4247
push id10166
push users.kaspari@gmail.com
push dateThu, 28 Jan 2016 12:16:34 +0000
reviewerslinclark
bugs1243388
milestone47.0a1
Bug 1243388 - Don't access CPOW in browser_webconsole_bug_597756_reopen_closed_tab.js;r=linclark
devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js
--- a/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js
+++ b/devtools/client/webconsole/test/browser_webconsole_bug_597756_reopen_closed_tab.js
@@ -49,17 +49,17 @@ add_task(function* () {
 
   yield testMessages();
 
   HUD = null;
 });
 
 function reload(browser) {
   let loaded = loadBrowser(browser);
-  content.location.reload();
+  browser.reload();
   return loaded;
 }
 
 function testMessages() {
   return waitForMessages({
     webconsole: HUD,
     messages: [{
       name: "error message displayed",