diff --git a/atom/renderer/lib/init.coffee b/atom/renderer/lib/init.coffee index 196891554dd9..32d3ee76d1b9 100644 --- a/atom/renderer/lib/init.coffee +++ b/atom/renderer/lib/init.coffee @@ -93,6 +93,7 @@ else delete global.process delete global.setImmediate delete global.clearImmediate + delete global.global # Load the script specfied by the "preload" attribute. if preloadScript diff --git a/spec/fixtures/pages/c.html b/spec/fixtures/pages/c.html index f0e33fde5ea1..bc55104ec535 100644 --- a/spec/fixtures/pages/c.html +++ b/spec/fixtures/pages/c.html @@ -1,7 +1,7 @@ diff --git a/spec/webview-spec.coffee b/spec/webview-spec.coffee index cd22e57a18bf..b47c72ac0fb8 100644 --- a/spec/webview-spec.coffee +++ b/spec/webview-spec.coffee @@ -34,7 +34,7 @@ describe ' tag', -> describe 'nodeintegration attribute', -> it 'inserts no node symbols when not set', (done) -> webview.addEventListener 'console-message', (e) -> - assert.equal e.message, 'undefined undefined undefined' + assert.equal e.message, 'undefined undefined undefined undefined' done() webview.src = "file://#{fixtures}/pages/c.html" document.body.appendChild webview