Created attachment 578748 [details] [diff] [review] Patch Required only for the tracer.
Comment on attachment 578748 [details] [diff] [review] Patch I guess this changes behavior in js_FindClassObject in the goofball case where the JS stack is empty and cx->globalObject is null. We used to set *vp to undefined and return true. Now we will throw. Fine with me, if it passes try server. Thanks for doing this.
http://hg.mozilla.org/integration/mozilla-inbound/rev/e67dd183cd4d There were a few failures on try, but they seemed to be failures that lots of other try builds were having, so I think it's good.