Closed Bug 237318 Opened 21 years ago Closed 3 years ago

turning off JavaScript from preferences does not abort existing JS threads

Categories

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

x86
Linux
defect

Tracking

()

RESOLVED INVALID

People

(Reporter: jwz, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040116

If I go to Preferences and disable JavaScript, and JS code that was already
running in another window continues running.  

Reproducible: Always
Steps to Reproduce:
    <script language=javascript>
    alert ("dammit");
    alert ("dammit");
    alert ("dammit");
    alert ("dammit");
    </script>
Actual Results:  
The code keeps running and the dialog boxes keep coming.

Expected Results:  
Turning off the global JavaScript preference should kill all JavaScript threads
and de-post all existing JavaScript dialogs.

Mozilla 1.6, Red Hat 9.

See also bug 237317.
Assignee: events → general
Component: DOM: Events → DOM
No threads, thank rickg.  Should be easy to fix.

/be
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: general → nobody
QA Contact: ian → 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

This is no longer a setting in Preferences as far as I can tell.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.