Closed Bug 152007 Opened 23 years ago Closed 23 years ago

Pop-up blocking doesn't work on this page

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 144726

People

(Reporter: xenite, Assigned: jst)

References

()

Details

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1a) Gecko/20020614 BuildID: 2002061404 Even though Mozilla is configured not to open unrequested windows, the page manages to open a new window (http://www.popupad.net/ats/switch.php). Reproducible: Always Steps to Reproduce: 1. Configure Mozilla not to open unrequested windows. 2. Got to http://www.yourmp3.net/search.php
Attached file testcase
Confirming using build 2002061406 - WinXP Here is the script called for pop-up. function loadpopup() { document.flauncher.submit(); focus(); setTimeout('focus()',2000); }
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: petersen → amar
This is an Java script bug. Over to DOM Level 0 for further triaging.
Component: Layout → DOM Level 0
QA Contact: amar → desale
->
Assignee: attinasi → jst
See also bug 159036 The issue here is that javascript is submitting a form which has a target of a new window. arguably, the new window is requested. (the user has submitted a form... they probably have the alert off so they didn't notice.) The question is whether something with a target of a new window should be allowed to create a new window if the user didn't specifically initiate the call. (in this case a submit() action was called from within an onload event handler.) I'm not sure exactly where this bug should be filed, but I do know that discussion is already taking place in bug 159036 about what is and isn't a requested window, and it might be best to bring this up over there.
OS: Windows 2000 → All
Hardware: PC → All
*** This bug has been marked as a duplicate of 144726 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: