mozilla/addon-sdk — pull request #533 by ochameau (2012-08-23 16:11:10+00:00)
Title: Bug 764840: Fix loader leak by using Sandboxes and nuking them instead of JSM.

Next try, after PR #473.

I tried to merge cuddlefish into bootstrap but it ended up being complicated because of manifest.
We have to put fake require statement in `loader.js` and I don't think that we want such noise in toolkit's loader.js ... (That's to be able to load `addon/runner` from bootstrap)

So I kept cuddlefish.js and switched to Sandboxes for it and loader.js.

https://bugzilla.mozilla.org/show_bug.cgi?id=764840