Closed Bug 293291 Opened 20 years ago Closed 7 years ago

A lot of assertions with threaded JS on 1.7 branch

Categories

(Core :: XPConnect, defect)

1.7 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: Biesinger, Unassigned)

Details

(Keywords: assertion)

Attachments

(2 files)

Situation:
- A js component that creates threads and executes code there
- Chrome code that instantiates the component and calls a function on it,
passing objects there
- The component tries very carefully to stay away from DOM Stuff, especially
global windows

Starting in 1.7.7, that causes an extreme amount of assertions about lack of
threadsafety of nsGlobalWindowImpl.
Attached patch possible patch?Splinter Review
this patch avoids the assertions...
this is an example of the stack of this assertion (an nsDocument in this
case... also happens with a window though)
Assignee: dbradley → nobody
QA Contact: pschwartau → xpconnect
Hopefully singlethreaded XPConnect means that this isn't an issue any more...
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: