mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
spec: Remove the will-navigate test
It is unreliable to test in renderer process, remove it for now.
This commit is contained in:
@@ -294,16 +294,6 @@ describe 'browser-window module', ->
|
||||
w.show()
|
||||
w.minimize()
|
||||
|
||||
describe 'will-navigate event', ->
|
||||
@timeout 10000
|
||||
it 'emits when user starts a navigation', (done) ->
|
||||
url = "file://#{fixtures}/pages/will-navigate.html"
|
||||
w.webContents.on 'will-navigate', (event, u) ->
|
||||
event.preventDefault()
|
||||
assert.equal u, url
|
||||
done()
|
||||
w.loadUrl url
|
||||
|
||||
xdescribe 'beginFrameSubscription method', ->
|
||||
it 'subscribes frame updates', (done) ->
|
||||
w.loadUrl "file://#{fixtures}/api/blank.html"
|
||||
|
||||
Reference in New Issue
Block a user