Closed Bug 52579 Opened 20 years ago Closed 20 years ago

xpconnect needs to notify DOM of ScriptEvaluated

Categories

(Core :: XPConnect, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jband_mozilla, Assigned: jband_mozilla)

References

Details

Attachments

(1 file)

DOM can pop up its "anti-infinite loop" dialog inappropriately because xpconnect 
runs code on a DOM JSContext and neglects to call 
nsIScriptContext::ScriptEvaluated upon completion.

I'll attach a patch.

I'm looking for review and approval.
Attached patch proposed fixSplinter Review
The patch adds a param to ScriptEvaluated to avoid premature call to the 
termination funciton when called from xpconnect.
Status: NEW → ASSIGNED
I'll buy that for a dollar.  ra=brendan@mozilla.org.

/be
Blocks: 13350
Looks good to mee too, ship it! :-)
fix in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Marking Verified -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.