Assert document visibility in main context

This commit is contained in:
Kevin Sawicki 2017-01-16 12:56:39 -08:00
parent b26428c43c
commit 1d824d4645
3 changed files with 13 additions and 4 deletions

View file

@ -1853,7 +1853,9 @@ describe('BrowserWindow module', function () {
typeofArrayPush: 'number',
typeofFunctionApply: 'boolean',
typeofPreloadExecuteJavaScriptProperty: 'number',
typeofOpenedWindow: 'object'
typeofOpenedWindow: 'object',
documentHidden: true,
documentVisibilityState: 'hidden'
}
}