Closed Bug 474586 Opened 16 years ago Closed 12 years ago

nsJSContext::MaybeCC is called before nsJSContext is properly initialized.

Categories

(Core :: JavaScript Engine, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: andrei, Unassigned)

References

Details

With the patch bug 453432 comment 36 the unit tests "make -C ../obj-x86_64-unknown-linux-gnu/toolkit/mozapps/extensions/test/ check" fail with core dumped. The investigation shows that the static variable nsJSRuntime::sRuntime is not set to the proper value by the moment when the nsJSRuntime::MaybeGC function is called.
Summary: nsJSContext::MaybeCC is called before nsJSContext is properly initialized. → nsJSContext::MaybeGC is called before nsJSContext is properly initialized.
The summary was OK. In the comment I mistyped the function name. It is definitely MaybeCC, not MybeGC
Summary: nsJSContext::MaybeGC is called before nsJSContext is properly initialized. → nsJSContext::MaybeCC is called before nsJSContext is properly initialized.
Blocks: 373462
I'm going to guess that this isn't a problem any more.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.