diff --git a/spec/chromium-spec.coffee b/spec/chromium-spec.coffee index 91461a3e00a2..f9be63079eaf 100644 --- a/spec/chromium-spec.coffee +++ b/spec/chromium-spec.coffee @@ -25,12 +25,14 @@ describe 'chromium feature', -> assert.equal b.constructor.name, 'BrowserWindow' b.destroy() - describe 'iframe with sandbox attribute', -> - it 'can not modify parent', (done) -> - page = path.join fixtures, 'pages', 'change-parent.html' + describe 'iframe', -> + page = path.join fixtures, 'pages', 'change-parent.html' + + beforeEach -> global.changedByIframe = false - iframe = $('