Closed Bug 297105 Opened 20 years ago Closed 19 years ago

Popups blocked with "dom.popup_maximum" ignore whitelist

Categories

(Firefox :: General, defect)

1.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 260264

People

(Reporter: davem, Unassigned)

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Build Identifier: 

I have a webpage, which legitimately uses popups on a doubleclick handler.

dom.popup_maximum will start blocking popups after 20 have been created (by 
default). 

This is true even if the site is whitelisted.

Reproducible: Always

Steps to Reproduce:
1. Find a page with ondoubleclk=window.open(..)
2. Open 20 popups


Actual Results:  
3. From then on, you won't be able to create more, even if you whitelist the 
site, or reload the page.

Expected Results:  
Popups should continue opening as before.

I have repro-ed this in 1.0.2 and 1.0.4
Rewording:

1. Find a page containing a visible element where ondblclick='window.open(..)'. 
For instance <div ondblclick='window.open(..)'>

2. Double click it 20 times. [and see 20 popups. You can close them if you like]


Status: UNCONFIRMED → NEW
Ever confirmed: true
dup of bug 260264?

I'd do it myself, but I noticed that bugs@bengoodger.com confirmed....
Yes, this is a dupe. Which way it should be duped is up to Ben.

This is a limit imposed in nsGlobalWindow, and therefore doesn't really have any
clue about any whitelists.

http://lxr.mozilla.org/mozilla/source/dom/src/base/nsGlobalWindow.cpp#3162
Version: unspecified → Trunk

*** This bug has been marked as a duplicate of 260264 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
Version: Trunk → 1.0 Branch
You need to log in before you can comment on or make changes to this bug.