Open Bug 637505 Opened 13 years ago Updated 2 years ago

A second thread entering a compartment should trip an assertion

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect

Tracking

()

People

(Reporter: jimb, Unassigned)

References

(Blocks 1 open bug)

Details

Only one thread at a time is allowed to execute in a compartment, or access a compartment's objects. SpiderMonkey should have assertions that this rule is respected.

At the moment, it doesn't seem like AutoCompartment::enter, for example, performs any checks like this.
Blocks: 636907
Assignee: general → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.