Open Bug 616805 Opened 14 years ago Updated 2 years ago

non-modal slow script handling feature ("don't ask me again") for unresponsive script

Categories

(Core :: DOM: Core & HTML, enhancement, P5)

enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: jmoon5ftm, Unassigned)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 GTB7.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 GTB7.1

The "Unresponsive script" dialog includes an option to "Don't ask me again", but apparently this option only works if you choose to allow a script to freeze your browser.

I'd like to suggest that if a user clicks "Don't ask me again" and then chooses to stop the script, then Firefox should quit asking.  Instead, thow up an information bar saying something like "Firefox has automatically blocked a script that was taking too long to run.  [ Stop automatic blocking ]"

Reproducible: Always

Steps to Reproduce:
1. Visit a web site with a script that runs too long (forever?) on your browser / os / plugin configuration / whatever.
2. When the "Unresponsive script" dialog appears, ask Firefox to stop the script and "Don't ask me again".
3. Wait until the bad script runs again, or refresh the page.
Actual Results:  
The "Unresponsive script" dialog comes up again.

Expected Results:  
Firefox should stop asking.
Assignee: nobody → general
Component: General → JavaScript Engine
Product: Firefox → Core
QA Contact: general → general
See Also: → 611248, 707490
Summary: non-modal slow script handling feature ("don't ask me again") → non-modal slow script handling feature ("don't ask me again") for unresponsive script
I think this is more of a Gecko bug--for the slow script warning, the only thing the JS engine per se does is to notify DOM when the script has been running longer than a set time.
Assignee: general → nobody
Component: JavaScript Engine → DOM
QA Contact: general → general
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046

Move all DOM bugs that haven’t been updated in more than 3 years and has no one currently assigned to P5.

If you have questions, please contact :mdaly.
Priority: -- → P5
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.