mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10: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").
Simple xpcshell-based test harness converted from netwerk/test/unit Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness