var o = newGlobal('new-compartment');
This seems to be shell-only, but it would be nice to fix this for fuzzers.
Created attachment 515345 [details]
autoBisect shows this is probably related to the following changeset:
The first bad revision is:
user: Brendan Eich
date: Wed Feb 23 19:38:27 2011 -0800
summary: Followup fixes and tests in wake of global |this| binding change (636364, r=luke/gal/dvander, thanks to Waldo for the newGlobal shell function).
Hope for .x
Shell only, NPOTB, can't block by definition, but definitely something we should fix right away.
Created attachment 515374 [details] [diff] [review]
Ah JS_GetGlobalObject, we love you so much.
Gary, you can push this patch after luke reviewed it.
Comment on attachment 515374 [details] [diff] [review]
can haz JS_GetGlobalForScopeChain instead?
*** Bug 731549 has been marked as a duplicate of this bug. ***
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug637014.js.