misc: client shim update
This commit is contained in:
parent
078fa94408
commit
1797dfb692
1 changed files with 4 additions and 2 deletions
|
|
@ -66,10 +66,12 @@ window = {
|
|||
WebSocket: Object,
|
||||
localStorage: {
|
||||
getItem(){return null}
|
||||
}, sessionStorage: {
|
||||
},
|
||||
sessionStorage: {
|
||||
getItem(){return null},
|
||||
setItem(){},
|
||||
},
|
||||
},
|
||||
MutationObserver: class MutationObserver{}
|
||||
}
|
||||
|
||||
Object.assign(global, window)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue