Created attachment 531764 [details] [diff] [review] Patch Normally this isn't necessary, but for an upcoming patch, I need to have a dummy frame in the same compartment as the current compartment. The dummy frame isn't really a "caller", so we should skip it.
Please pretend that I named the new StackFrame* variable "callerframe" so it doesn't conflict with the JSObject "caller" inside the if statement. I also made a getCompartment -> compartment renaming while I was there.
Note that the patch that landed was slightly different than the patch attached here... Asking for tracking-firefox5 as this is a prerequisite for bug 650273.
cdleary-bot mozilla-central merge info: http://hg.mozilla.org/mozilla-central/rev/2453a6adb500
Comment on attachment 531764 [details] [diff] [review] Patch Please land this patch to mozilla-beta.
I don't see this in mozilla-beta yet and we're starting to run out of runway. Please land ASAP. Thanks.
Comment on attachment 531764 [details] [diff] [review] Patch pulling back approval and not going to try to fix for Firefox 5.