Bustage fix for bug 561480 to check typeof == undefined instead of == null.

--HG--
extra : rebase_source : 281817a091523853341168c117be30862deba6ad
This commit is contained in:
Edward Lee 2010-05-07 13:29:04 -07:00
parent e670005eb2
commit 1c6db4115b

View File

@ -1123,7 +1123,7 @@ WeaveCrypto.prototype = {
}
};
let component = Services == null || ctypes == null ? [] : [WeaveCrypto];
let component = typeof Services == "undefined" || typeof ctypes == "undefined" ? [] : [WeaveCrypto];
function NSGetModule (compMgr, fileSpec) {
return XPCOMUtils.generateModule(component);
}