jsparser: shared global object

This commit is contained in:
jean-emmanuel 2019-04-07 18:20:44 +02:00
parent 0386f6c430
commit 78266c0733
2 changed files with 3 additions and 0 deletions

View file

@ -134,6 +134,7 @@ module.exports = {
intervals = {}
sandbox.contentWindow.console = console
sandbox.contentWindow.global = {}
document.documentElement.removeChild(sandbox)