-- var o = newGlobal('new-compartment'); o.makeFinalizeObserver(); -- This seems to be shell-only, but it would be nice to fix this for fuzzers.
autoBisect shows this is probably related to the following changeset: The first bad revision is: changeset: 62765:6e2ee1f3f6c6 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] patch 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] patch can haz JS_GetGlobalForScopeChain instead?
A testcase for this bug was automatically identified at js/src/jit-test/tests/basic/testBug637014.js.