spec/fixtures/pages/window-open-hide.html (11 lines of code) (raw):

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