Open Bug 296310 Opened 19 years ago Updated 2 years ago

Possible to circumvent slow script warning

Categories

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

defect

Tracking

()

People

(Reporter: bzbarsky, Unassigned)

Details

Right now, we clobber the state that controls slow script warnings any time we
call nsJSContext::ScriptEvaluated.  This means that a script that calls event
handlers (via dispatchEvent) will never hit the slow script warning, for example.

I think we should save off the state we have when we start a new (nested) script
evaluation and restore it when the evaluation is done...

Seem reasonable?
Flags: blocking1.9a1?
Flags: blocking1.9a1? → blocking1.9-
Whiteboard: [wanted-1.9]
Assignee: general → jst
Whiteboard: [wanted-1.9]
QA Contact: ian → general
Component: DOM → DOM: Core & HTML

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: jstenback+bmo → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.