mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 14:02:47 +00:00
Bug 1508287 - Ensure exposing console
to modules loaded for worker server. r=yulia
Without this devtools/server/tests/unit/test_breakpoint-22.js fails in protocol.js writeError function when trying to use console object. MozReview-Commit-ID: JFhFboHugUh Differential Revision: https://phabricator.services.mozilla.com/D12309 --HG-- extra : moz-landing-system : lando
This commit is contained in:
parent
1e43108db5
commit
807406b3ec
@ -564,6 +564,7 @@ this.worker = new WorkerDebuggerLoader({
|
||||
"lazyRequireModule": lazyRequireModule,
|
||||
"retrieveConsoleEvents": this.retrieveConsoleEvents,
|
||||
"setConsoleEventHandler": this.setConsoleEventHandler,
|
||||
"console": console,
|
||||
},
|
||||
loadSubScript: loadSubScript,
|
||||
modules: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user