Return null when window.open() is popup blocked
[WebKit-https.git] / LayoutTests / fast / events / popup-blocked-from-fake-button-click.html
index f6536f5..278cb3d 100644 (file)
@@ -9,7 +9,7 @@
             var win;
             function popup() {
                 win = window.open("about:blank", "blank");
-                shouldBeUndefined("win");
+                shouldBeNull("win");
             }
 
             if (window.testRunner) {