Closed Bug 260366 Opened 20 years ago Closed 20 years ago

Popup blocker fails to block popups when closing a tab

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 259117

People

(Reporter: mozilla, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20040914 Firefox/0.10 When there is more than one tab open, closing a tab with a page that opens a popup using onunload event in body, results in a popup window, and the popup blocker fails to block the popup. I couldn't reproduce it with only one tab, I also couldn't reproduce it on 0.9.3. Reproducible: Always Steps to Reproduce: 1. Go to the demo here: http://www.aymanh.com/popupdemo/ . 2. Middle-click on the link in the demo to open a new tab in the background. 3. Close the demo's tab. Actual Results: A new window with Google.com appears. Expected Results: Nothing should appear. As I said, you need more than one tab open, and I couldn't reproduce it with 0.9.3. View the demo source to see what JavaScript code causes this.
Version: unspecified → 1.0 Branch
This was fixed within a day after 1.0PR was released. *** This bug has been marked as a duplicate of 259117 *** *** This bug has been marked as a duplicate of 259117 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Version: 1.0 Branch → unspecified
You need to log in before you can comment on or make changes to this bug.