jsparser: shared global object
This commit is contained in:
parent
4ff67140b8
commit
932a6cb532
2 changed files with 3 additions and 0 deletions
|
|
@ -134,6 +134,7 @@ module.exports = {
|
|||
intervals = {}
|
||||
|
||||
sandbox.contentWindow.console = console
|
||||
sandbox.contentWindow.global = {}
|
||||
|
||||
document.documentElement.removeChild(sandbox)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue