This is a hack Luke put together a while back, and it's been sitting in my cpg patch queue. It would be nice to fix it in Gecko, but we'll save that for a later date.
Created attachment 612714 [details] [diff] [review]
Bug 743034 - Fix script proto exec. v2 r=bholley
Pushed to m-i: http://hg.mozilla.org/integration/mozilla-inbound/rev/76032e5e6ccc