moxie0 / Convergence

An agile, distributed, and secure alternative to the Certificate Authority system.
http://convergence.io
623 stars 127 forks source link

Convergence add-on doesn't seem to work on Firefox 10.0a1 (nightly) #111

Closed PAStheLoD closed 12 years ago

PAStheLoD commented 12 years ago

Nightly build of 2011-10-31, 64-bit build (on a Windows7 64bit)

Here's from the console (started with -console):

Loading: A:\personal\firefox_profile\pas\extensions\convergence@extension.thoughtcrime.org\components\DatabaseHelper.js Loaded! Settings loaded threshold: minority Configuring cache... Found existing certificate! LISTEN PORT: 50228 Initializing error: TypeError: Components.classes['@mozilla.org/threads/workerfactory;1'] is undefined , ()@file:///A:/personal/firefox_profile/pas/extensions/convergence@extension.thoughtcrime.org/components/Convergence.js -> file:///A:/personal/firefox_profile/pas/extensions/convergence@extension.thoughtcrime.org/components/ConnectionManager.js:87 ConnectionManager([object Object],[object XPCWrappedNative_NoHelper],[object XPCWrappedNative_NoHelper],[object XPCWrappedNative_NoHelper],[object XPCWrappedNative_NoHelper],[object XPCWrappedNative_NoHelper],[object Object],[object Object])@file:///A:/personal/firefox_profile/pas/extensions/convergence@extension.thoughtcrime.org/components/Convergence.js -> file:///A:/personal/firefox_profile/pas/extensions/convergence@extension.thoughtcrime.org/components/ConnectionManager.js:66()@file:///A:/personal/firefox_profile/pas/extensions/convergence@extension.thoughtcrime.org/components/Convergence.js:102 Convergence()@file:///A:/personal/firefox_profile/pas/extensions/convergence@extension.thoughtcrime.org/components/Convergence.js:40(null,[object XPCWrappedNative_NoHelper])@resource://gre/modules/XPCOMUtils.jsm:301 ConvergenceContentPolicy()@file:///A:/personal/firefox_profile/pas/extensions/convergence@extension.thoughtcrime.org/components/ConvergenceContentPolicy.js:31(null,[object XPCWrappedNative_NoHelper])@resource://gre/modules/XPCOMUtils.jsm:301

FTS0: INITIALIZATION_TIME: 497ms CertificateStatus constructor called : A:\Programok\Mozilla Firefox Nightly 64bit\nss3.dll Constructed! Getting current tab status... Getting current tab status... Getting current tab status...

With the same profile it works on 7.0.1.

PAStheLoD commented 12 years ago

Woah, sorry for not marking down this shit.

moxie0 commented 12 years ago

Looks like they removed the nsIWorkerFactory component in Gecko 8.0. https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIWorkerFactory

That's annoying, we'll have to do a version check around all the places where chromeworkers are created. Git pull requests accepted. =)

ewanm89 commented 12 years ago

While the new API is nicer, did they have to all out drop the old one. A little crossover time and spit a warning in the console would have been nicer.

moxie0 commented 12 years ago

This particular problem should be fixed in the latest release.