Bug 14502 - Pop-up blocker doesn't work
Summary: Pop-up blocker doesn't work
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL: http://svn.openqa.org/fisheye/browse/...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 18:48 PDT by Dan Fabulich
Modified: 2007-07-03 10:32 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Fabulich 2007-07-02 18:48:48 PDT
Select "Block Pop-Up Windows" under the "Edit" menu; make sure it is checked.
Go to http://svn.openqa.org/fisheye/browse/~raw,r=1769/selenium/trunk/src/main/resources/tests/html/test_select_window.html and click on "Click here to open a pop-up window".  A pop-up window will open.  Uncheck "Block Pop-Up Windows" and click on the button again.  A pop-up window will open.

Using WebKit-r23922 built 02 July 2007 on Windows XP SP2.
Comment 1 Dan Fabulich 2007-07-02 18:51:19 PDT
Ordinarily I would have guessed that this isn't really a WebKit bug, but this seems to behave differently from the stock Safari 3.0.2 Beta for Windows.  (Again that's the official WebKit-r23922 built 02 July 2007 on Windows XP SP2.)

Specifically, in that case, I find that when I save the file to disk and access it from the hard drive, pop-ups are always blocked, even when I uncheck "Block Pop-Up Windows".  WebKit-r23922 seemed to be more consistent by never blocking pop-ups.  Regardless, this caught my interest enough to make me want to file a bug.
Comment 2 mitz 2007-07-03 01:31:22 PDT
The pop-up in the test case should not be blocked since it is opened by the user.
Comment 3 Dan Fabulich 2007-07-03 10:32:49 PDT
d'oh!  I've confirmed on the same build that pop-ups spawned during onload are caught.