DOM must use nsThreadJSContextStack to make xpconnect happy

VERIFIED FIXED in M10

Status

()

P3
normal
VERIFIED FIXED
20 years ago
2 years ago

People

(Reporter: jband_mozilla, Assigned: vidur)

Tracking

Trunk
x86
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

(Reporter)

Description

20 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

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

Updated

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

Comment 1

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

Comment 2

20 years ago
Jband could you verify this one please ?

Updated

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