mozilla/addon-sdk — pull request #309 by Gozala (2011-12-21 20:24:05+00:00)
Title: Bug 638742 - Update tests so they no longer assume add-on is unpacked.

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

This change updates tests and some of the low level API's that were written with an assumption that add-on is unpacked. Change also removes `toFilename` and `fromFilename` functions from `url` module as they were used only to translate add-on asset url's to a file urls and back which no longer should be done.

While this change was written (also tested) for [638742-packed-xpi](https://github.com/warner/addon-sdk/tree/638742-packed-xpi) branch from @warner it does not requires those changes and can be landed separately.