spec: Add test for allowpopups attribute
This commit is contained in:
parent
9cbdde2eba
commit
f06f8ae73b
2 changed files with 32 additions and 0 deletions
12
spec/fixtures/pages/window-open-hide.html
vendored
Normal file
12
spec/fixtures/pages/window-open-hide.html
vendored
Normal file
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<body>
|
||||
<script type="text/javascript" charset="utf-8">
|
||||
var w = window.open('http://host', '', 'show=no');
|
||||
if (w == null)
|
||||
console.log('null');
|
||||
else
|
||||
console.log('window');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue