Closed Bug 598536 Opened 14 years ago Closed 11 years ago

Please show "Prevent...creating addi. dialogs" at second alert/confirm/prompt

Categories

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

defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
blocking2.0 --- -
status2.0 --- ?
status1.9.2 --- unaffected
status1.9.1 --- unaffected

People

(Reporter: BijuMailList, Unassigned)

References

Details

Submitting this request as Bug 598231 WONTFIXED

There are request at bug 61098 Comment 318 asking the to trigger 
 "Prevent...creating addi. dialogs" at a lesser iteration.
currently it is 12 iteration, that is too long to wait for an average user.
if not... make it a about:config item too...
Severity: minor → normal
This is Chrome's behavior, and I think it works well.  This should only be if it's twice in some time period, though, not if the site pops up an alert, returns control to the user, and pops up a totally different one thirty seconds after the first was closed.  As noted on bug 61098 comment 317, javascript:i=1;while(1)alert(i++); only shows the checkbox on the twelfth dialog, which is too long -- by then I might have just given up and restarted the browser.

In Chrome the threshold seems to be about one second.  This produces no checkbox on the second popup:

javascript:i=1;function f(){ alert(i++); setTimeout(f, 1000); } f();

But this does:

javascript:i=1;function f(){ alert(i++); setTimeout(f, 500); } f();

Strangely, both of them show the checkbox on the *third* alert in Firefox, much earlier than in the while loop.  This looks like a straight bug -- the checkbox should be delayed more if anything, not less.  (But with the setTimeout put at 10000, it doesn't display the checkbox at all that I can see, which is good.)
This bug is long fixed, should be closed.
I haven't noticed this in recent testing. Please reopen if you're still seeing this.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.