]> khamidou — GitHub mirrors - electron.git/commitdiff
spec: Revert back to original behavior of setImmediate
authorCheng Zhao <zcbenz@gmail.com>
Tue, 22 Sep 2015 06:40:48 +0000 (14:40 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Tue, 22 Sep 2015 06:40:48 +0000 (14:40 +0800)
spec/webview-spec.coffee

index b310b7b129f8cd2ce10a65e5d3206993b29b02da..961da0b9f1604e93489dc9e4d1c20b01ea8829ec 100644 (file)
@@ -86,7 +86,7 @@ describe '<webview> tag', ->
 
     it 'preload script can still use "process" in required modules when nodeintegration is off', (done) ->
       webview.addEventListener 'console-message', (e) ->
-        assert.equal e.message, 'object function object'
+        assert.equal e.message, 'object undefined object'
         done()
       webview.setAttribute 'preload', "#{fixtures}/module/preload-node-off.js"
       webview.src = "file://#{fixtures}/api/blank.html"