Bug 1225906 - Correct GCLI staticRequire after repackaging. r=ochameau

This commit is contained in:
J. Ryan Stinnett 2015-11-18 11:05:26 -06:00
parent 7b4320560e
commit 1269e2aa91

View File

@ -116,7 +116,7 @@ exports.staticRequire = function(requistingModule, name) {
return new Promise(function(resolve, reject) {
var filename = resourceDirName(requistingModule.id) + '/' + name;
filename = filename.replace(/\/\.\//g, '/');
filename = 'resource://devtools/' + filename;
filename = 'resource://devtools/shared/gcli/source/lib/' + filename;
var xhr = Cc['@mozilla.org/xmlextras/xmlhttprequest;1']
.createInstance(Ci.nsIXMLHttpRequest);