Return null when window.open() is popup blocked
[WebKit-https.git] / LayoutTests / fast / events / popup-blocking-timers6.html
index 64b0f6f..a19660f 100644 (file)
@@ -16,7 +16,7 @@
                 newWindow = window.open("about:blank");
                 self.focus();
                 debug("Test calling window.open() with a 1001 ms delay. A popup should not be allowed.")
-                shouldBeUndefined("newWindow");
+                shouldBeNull("newWindow");
 
                 if (window.testRunner)
                     testRunner.notifyDone();