Closed Bug 10592 Opened 25 years ago Closed 25 years ago

DOM must use nsThreadJSContextStack to make xpconnect happy

Categories

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

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jband_mozilla, Assigned: vidur)

Details

(Whiteboard: Have additions in my tree. Will land for M10.)

Vidur,

I *did* finally check in the nsThreadJSContextStack stuff. The
interface is at:
http://lxr.mozilla.org/mozilla/source/js/src/xpconnect/idl/nsIJSContextStack.idl

The implementation (if you care) is at:
http://lxr.mozilla.org/mozilla/source/js/src/xpconnect/src/xpcthreadcontext.cpp

There is an example usage at:
http://lxr.mozilla.org/mozilla/source/js/src/xpconnect/tests/TestXPC.cpp#1133

xpconnect registers the service using the progid
"nsThreadJSContextStack".

As far as I know this works. The only race should be the init
that will happen on the very first use.

John.
Status: NEW → ASSIGNED
Whiteboard: Have additions in my tree. Will land for M10.
Target Milestone: M10
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Calls to push and pop contexts checked in on 8/19/1999. Jband will probably need
to verify.
Jband could you verify this one please ?
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.