Support document visiblity state and events in webviews

This commit is contained in:
Kevin Sawicki 2016-05-24 12:44:09 -07:00
parent 1e15ce6ccd
commit 73b07f76a3
6 changed files with 25 additions and 4 deletions

View file

@ -868,7 +868,7 @@ describe('<webview> tag', function () {
w.loadURL('file://' + fixtures + '/pages/webview-zoom-factor.html')
})
it('has the initial hidden state and receives visibilitychange events', function (done) {
it('inherits the parent window hidden state and receives visibilitychange events', function (done) {
w = new BrowserWindow({
show: false
})