add DidFailProvisionalLoad method
This commit is contained in:
parent
bb2f3a82d9
commit
87cb2ece80
3 changed files with 18 additions and 0 deletions
|
@ -58,6 +58,11 @@ describe 'browser-window module', ->
|
|||
done()
|
||||
w.loadUrl 'about:blank'
|
||||
|
||||
it 'should emit did-fail-load event', (done) ->
|
||||
w.webContents.on 'did-fail-load', ->
|
||||
done()
|
||||
w.loadUrl 'file://a.txt'
|
||||
|
||||
describe 'BrowserWindow.show()', ->
|
||||
it 'should focus on window', ->
|
||||
return if isCI
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue