spec: Revert back to original behavior of setImmediate

This commit is contained in:
Cheng Zhao 2015-09-22 14:40:48 +08:00
parent 42515c6f41
commit 4a91972037

View file

@ -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"