[Bug 467729] RFE: Add font autoinstallation support

Bugzilla@Mozilla bugzilla-daemon at mozilla.org
Thu Nov 20 08:11:17 UTC 2014

Do not reply to this email. You can add comments to this bug at

--- Comment #26 from Karl Tomlinson (:karlt) <karlt at mozbugz.karlt.net> 2014-11-20 00:11:17 PST ---
(In reply to Frédéric Wang (:fredw) from comment #25)
> IIUC nsIObserver seems quite standard (even when not all the
> parameters are used).

Yes, nsIObserver is good.

> - The aSubject parameter could probably be null and so I can avoid passing
> it to each callback functions.

That was what I meant.

> However, if a caller launches two PackageKit
> commands using different nsIPackageKit instances, the aSubject parameter
> will allow to determine from which instance the callback is coming (this
> does not help if the same nsIPackageKit is used though).

There is usually only one instance of each xpcom service.

I assume multiple observers could be used to track the results of different
calls, if necessary.

Configure bugmail: https://bugzilla.mozilla.org/userprefs.cgi?tab=email

Product/Component: Firefox :: General

------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the fonts-bugs mailing list