तो मैं एफएफ 4 और गीको 2 के साथ उपयोग के लिए पुराने एक्सटेंशन अपडेट करने पर काम कर रहा हूं लेकिन मुझे कुछ समस्याएं हैं जहां मुझे एक त्रुटि मिल रही है जो क्लास आईडी गुम या घटक के लिए गलत है ....फ़ायरफ़ॉक्स एक्सटेंशन डेवलपमेंट फ़ायरफ़ॉक्स 4
क्या किसी और के पास ऐसा ही कोई मुद्दा था या इस बारे में पता होना चाहिए कि इस बारे में कैसे जाना है?
function jsshellClient() {
this.classDescription = "sdConnector JavaScript Shell Service";
this.classID = Components.ID("{54f7f162-35d9-524d-9021-965a3ba86366}");
this.contractID = "@activestate.com/SDService?type=jsshell;1"
this._xpcom_categories = [{category: "sd-service", entry: "jsshell"}];
this.name = "jsshell";
this.prefs = Components.classes["@mozilla.org/preferences-service;1"]
.getService(Components.interfaces.nsIPrefService)
.getBranch("sdconnector.jsshell.");
this.enabled = this.prefs.getBoolPref("enabled");
this.port = this.prefs.getIntPref("port");
this.loopbackOnly = this.prefs.getBoolPref("loopbackOnly");
this.backlog = this.prefs.getIntPref("backlog");
}
jsshellClient.prototype = new session();
jsshellClient.prototype.constructor = jsshellClient;
जब इस के लिए प्रोटोटाइप पर generateNSGetFactory बुला यह FF4 करने में त्रुटि कंसोल CLASSID के बारे में शिकायत करने में कोई त्रुटि देता है। मुझे पूरा यकीन है कि एक और GUID का उपयोग नहीं कर रहा है इसलिए मुझे समस्या दिखाई नहीं दे रही है।
कोड क्यों पोस्ट करें जो त्रुटि का कारण बनता है? –