Created attachment 578748 [details] [diff] [review]
Required only for the tracer.
Comment on attachment 578748 [details] [diff] [review]
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.
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.