Merge pull request #2424 from deepak1556/web_contents_patch

webcontents: minor patches
This commit is contained in:
Cheng Zhao 2015-08-06 09:52:16 +08:00
commit 20a8e7838f
9 changed files with 29 additions and 4 deletions

View file

@ -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()