mozilla/addon-sdk — pull request #1547 by Mossop (2014-07-11 00:24:48+00:00)
Title: Rollup for mochitestification

A bunch of fixes here required for mochitestification. Most of them are related to switching from cuddlefish to the native loader for running tests.

Some comments:

nodeResolve has a different method signature to resolve. First it accepts more parameters but that is easily wrapped. It can also return undefined when resolve never can, is that intentional and should we fix it? I wallpapered over it in sdk/test/loader.

mochetestified tests don't install as an add-on we just load the modules bare from the file system so a few tests are moved to testaddons where we are really testing packaging behaviour.