Closed Bug 468106 Opened 17 years ago Closed 17 years ago

nsXPCWrappedJSClass::CallMethod needs to root translated this

Categories

(Core :: XPConnect, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
mozilla1.9.1

People

(Reporter: peterv, Assigned: peterv)

Details

This used to not be a problem, because we ever got there from the main thread, but we think we can now hit this from other threads for DOM Workers. Simplest probably to move the holder variable to the top of the function, or root the thisObj.
Blake reminded me that we call JS_BeginRequest from the XPCCallContext constructor. We create a XPCCallContext at the beginning of nsXPCWrappedJSClass::CallMethod, so we should be fine.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.