Assert document visibility in main context
This commit is contained in:
parent
b26428c43c
commit
1d824d4645
3 changed files with 13 additions and 4 deletions
4
spec/fixtures/api/isolated.html
vendored
4
spec/fixtures/api/isolated.html
vendored
|
@ -19,7 +19,9 @@
|
|||
typeofArrayPush: typeof Array.prototype.push,
|
||||
typeofFunctionApply: typeof Function.prototype.apply,
|
||||
typeofPreloadExecuteJavaScriptProperty: typeof window.preloadExecuteJavaScriptProperty,
|
||||
typeofOpenedWindow: typeof opened
|
||||
typeofOpenedWindow: typeof opened,
|
||||
documentHidden: document.hidden,
|
||||
documentVisibilityState: document.visibilityState
|
||||
}, '*')
|
||||
</script>
|
||||
</head>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue