mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-03-01 22:07:41 +00:00

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").