diff --git a/spec/webview-spec.js b/spec/webview-spec.js index d2c37c857df..36997a13c78 100644 --- a/spec/webview-spec.js +++ b/spec/webview-spec.js @@ -321,6 +321,10 @@ describe(' tag', function () { }) describe('allowpopups attribute', function () { + if (process.env.TRAVIS === 'true' && process.platform === 'darwin') { + return + } + it('can not open new window when not set', function (done) { var listener = function (e) { assert.equal(e.message, 'null') @@ -346,6 +350,10 @@ describe(' tag', function () { }) describe('new-window event', function () { + if (process.env.TRAVIS === 'true' && process.platform === 'darwin') { + return + } + it('emits when window.open is called', function (done) { webview.addEventListener('new-window', function (e) { assert.equal(e.url, 'http://host/')