spec: Revert back to original behavior of setImmediate
This commit is contained in:
parent
42515c6f41
commit
4a91972037
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ describe '<webview> tag', ->
|
||||||
|
|
||||||
it 'preload script can still use "process" in required modules when nodeintegration is off', (done) ->
|
it 'preload script can still use "process" in required modules when nodeintegration is off', (done) ->
|
||||||
webview.addEventListener 'console-message', (e) ->
|
webview.addEventListener 'console-message', (e) ->
|
||||||
assert.equal e.message, 'object function object'
|
assert.equal e.message, 'object undefined object'
|
||||||
done()
|
done()
|
||||||
webview.setAttribute 'preload', "#{fixtures}/module/preload-node-off.js"
|
webview.setAttribute 'preload', "#{fixtures}/module/preload-node-off.js"
|
||||||
webview.src = "file://#{fixtures}/api/blank.html"
|
webview.src = "file://#{fixtures}/api/blank.html"
|
||||||
|
|
Loading…
Reference in a new issue