DOM must use nsThreadJSContextStack to make xpconnect happy

VERIFIED FIXED in M10

Status

()

Core
DOM: Core & HTML
P3
normal
VERIFIED FIXED
19 years ago
a year ago

People

(Reporter: John Bandhauer, Assigned: vidur (gone))

Tracking

Trunk
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

19 years ago
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.
(Assignee)

Updated

19 years ago
Status: NEW → ASSIGNED
Whiteboard: Have additions in my tree. Will land for M10.
Target Milestone: M10
(Assignee)

Updated

19 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED
(Assignee)

Comment 1

19 years ago
Calls to push and pop contexts checked in on 8/19/1999. Jband will probably need
to verify.

Comment 2

19 years ago
Jband could you verify this one please ?

Updated

19 years ago
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.