override: intialise BrowserWindowProxy.closed
This commit is contained in:
parent
488a69d461
commit
6b8d4a43a3
2 changed files with 2 additions and 0 deletions
|
@ -37,6 +37,7 @@ describe 'chromium feature', ->
|
|||
describe 'window.open', ->
|
||||
it 'returns a BrowserWindowProxy object', ->
|
||||
b = window.open 'about:blank', 'test', 'show=no'
|
||||
assert.equal b.closed, false
|
||||
assert.equal b.constructor.name, 'BrowserWindowProxy'
|
||||
b.close()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue