mozilla/addon-sdk — pull request #406 by ochameau (2012-04-19 18:05:59+00:00)
Title: Addon install module

I refactored the addon-install module coming from addon builder in order to use promises.
I faced similar issue to http and request unit test where we need a reference to a test file.
Now that XPI are packed, we can't get a file reference to data file, but only URLs.
Here I needed to get a file reference to a test addon.
I've included a "tmp file" module. I can factored it out if it help.