Merge pull request #2424 from deepak1556/web_contents_patch
webcontents: minor patches
This commit is contained in:
commit
20a8e7838f
9 changed files with 29 additions and 4 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