From: Cheng Zhao Date: Tue, 22 Sep 2015 06:40:48 +0000 (+0800) Subject: spec: Revert back to original behavior of setImmediate X-Git-Tag: v0.33.1~1^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=4a9197203745e6462f8f01dc35690725842a01d4;p=electron.git spec: Revert back to original behavior of setImmediate --- diff --git a/spec/webview-spec.coffee b/spec/webview-spec.coffee index b310b7b1..961da0b9 100644 --- a/spec/webview-spec.coffee +++ b/spec/webview-spec.coffee @@ -86,7 +86,7 @@ describe ' 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"