DevTools - Browser Console - restore sessions

https://github.com/MoonchildProductions/moebius/pull/112
This commit is contained in:
janekptacijarabaci 2018-03-01 07:17:50 +01:00 committed by Roy Tam
commit 63ba51f58e
17 changed files with 135 additions and 46 deletions

View file

@ -187,7 +187,7 @@ function reload(event) {
// HUDService is going to close it on unload.
// Instead we have to manually toggle it.
if (reopenBrowserConsole) {
let HUDService = devtools.require("devtools/client/webconsole/hudservice");
let {HUDService} = devtools.require("devtools/client/webconsole/hudservice");
HUDService.toggleBrowserConsole();
}