From f5cf6d4ddd1b791f3b79da04802ce087db54804e Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 24 May 2017 11:30:25 -0700 Subject: [PATCH] Add spec for native window.open from iframe --- spec/api-browser-window-spec.js | 8 ++++++++ spec/fixtures/api/native-window-open-blank.html | 2 +- spec/fixtures/api/native-window-open-iframe.html | 10 ++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 spec/fixtures/api/native-window-open-iframe.html diff --git a/spec/api-browser-window-spec.js b/spec/api-browser-window-spec.js index 6c54731aa70f..f59449b2a5ac 100644 --- a/spec/api-browser-window-spec.js +++ b/spec/api-browser-window-spec.js @@ -1285,6 +1285,14 @@ describe('BrowserWindow module', function () { w.loadURL('file://' + path.join(fixtures, 'api', 'native-window-open-file.html')) }) + it('opens window from + +