diff --git a/spec/chromium-spec.js b/spec/chromium-spec.js index 1b88d78e2ab..700983bb5ae 100644 --- a/spec/chromium-spec.js +++ b/spec/chromium-spec.js @@ -391,6 +391,14 @@ describe('chromium feature', function () { }) b = window.open('', '__proto__') }) + + it('does not throw an exception when the features include webPreferences', function () { + let b + assert.doesNotThrow(function () { + b = window.open('', '', 'webPreferences=') + }) + b.close() + }) }) describe('window.opener', function () {