Commit Graph

2 Commits

Author SHA1 Message Date
Jonathan Protzenko
c0260ef7cc Bug 628669: Provide support for relative URLs in Components utils import (JSM, JS modules) r=bsmedberg r=mrbkap
This patch allows a JS module to import another one with a relative path. For
instance, if you have a set of modules you want to drop-in in any extension, and
these modules depend on each other, you can import XPCOMUtils and then do
XPCOMUtils.importRelative(this, "otherfile.jsm").
2011-04-14 00:10:13 +02:00
Marco Bonardo
3b9c85bd88 Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted 2010-02-23 14:11:37 +01:00