projects
/
platform
/
framework
/
web
/
crosswalk-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0aa53f4
)
Add spec for webPreferences in features string
author
Kevin Sawicki
<kevinsawicki@gmail.com>
Tue, 25 Apr 2017 21:19:59 +0000
(14:19 -0700)
committer
Kevin Sawicki
<kevinsawicki@gmail.com>
Wed, 26 Apr 2017 17:56:53 +0000
(10:56 -0700)
spec/chromium-spec.js
patch
|
blob
|
history
diff --git
a/spec/chromium-spec.js
b/spec/chromium-spec.js
index 1b88d78e2ab3a0c367df7280584f69219bdf744c..700983bb5ae97edbba54db741d74a7da84bd324e 100644
(file)
--- 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 () {