spec: Add test for allowpopups attribute

This commit is contained in:
Cheng Zhao 2015-09-22 21:17:50 +08:00
parent 9cbdde2eba
commit f06f8ae73b
2 changed files with 32 additions and 0 deletions

View 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>