On Tue, Jun 08, 2004 at 08:42:35PM +0200, C.S. wrote: > Why are nsIMIMEInfo's cloned when retrieving them from the mime > service ?
They aren't... they are newly created. I guess that amounts to the same from your point of view :) > This forces us to write 1000's lines of code just to > programmaticaly change prefs for a handler (like it's done in > chrome://communicator/content/pref/overrideHandler.js). well, even if nsIMIMEService handed out the same nsIMIMEInfo each time you ask it, that probably wouldn't help you, since the changed handler would not persist across a mozilla restart. http://bugzilla.mozilla.org/show_bug.cgi?id=190413 might interest you -- _______________________________________________ Mozilla-xpcom mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-xpcom
