Return null when window.open() is popup blocked
[WebKit-https.git] / LayoutTests / fast / events / popup-blocked-from-untrusted-click-event-on-anchor.html
index e7e9ebf..16e7fc9 100644 (file)
@@ -9,7 +9,7 @@
             var win;
             function popup() {
                 win = window.open('about:blank','blank','height=200,width=200');
-                shouldBeUndefined("win");
+                shouldBeNull("win");
             }
 
             if (window.testRunner) {