Assert built-in prototype isolation
This commit is contained in:
parent
ad3b837ad5
commit
ea2273dde5
3 changed files with 14 additions and 4 deletions
4
spec/fixtures/api/isolated-preload.js
vendored
4
spec/fixtures/api/isolated-preload.js
vendored
|
@ -8,7 +8,9 @@ window.addEventListener('message', (event) => {
|
|||
preloadProperty: typeof window.foo,
|
||||
pageProperty: typeof window.hello,
|
||||
typeofRequire: typeof require,
|
||||
typeofProcess: typeof process
|
||||
typeofProcess: typeof process,
|
||||
typeofArrayPush: typeof Array.prototype.push,
|
||||
typeofFunctionApply: typeof Function.prototype.apply
|
||||
},
|
||||
pageContext: event.data
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue