From: Cheng Zhao Date: Mon, 10 Mar 2014 14:42:03 +0000 (+0800) Subject: Update specs with new sandbox setting. X-Git-Tag: v0.10.7~3^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=31b08a3ec68bac87b93a5b46bd1fa28e3e0ef6c0;p=electron.git Update specs with new sandbox setting. --- diff --git a/spec/chromium-spec.coffee b/spec/chromium-spec.coffee index 91461a3e..f9be6307 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 = $('