In FF Aurora, Firefox chrome code can access the Reflect API's. The xpcshell application cannot.
I think I found the right place to insert the needed code: http://hg.mozilla.org/mozilla-central/annotate/b57d50c6c046/js/src/xpconnect/shell/xpcshell.cpp#l1971 We seem to be creating a few helpful top-level objects here. Corresponding code in the JS shell: http://hg.mozilla.org/mozilla-central/annotate/b57d50c6c046/js/src/shell/js.cpp#l5304
Created attachment 559590 [details] [diff] [review] patch, v1
I don't have commit privileges, and I'm not sure if this should go on mozilla-inbound, mozilla-central, or tracemonkey first.
Comment on attachment 559590 [details] [diff] [review] patch, v1 r=me
There is no TraceMonkey, only Inbound. http://hg.mozilla.org/integration/mozilla-inbound/rev/b384cfab8b1d