Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

XPCOM category image-sniffing-services

In versions of Firefox prior to Firefox 3, extensions could add decoders for new image types. However, such decoders relied on servers sending correct MIME types; images sent with incorrect MIME types would not be correctly displayed.

In Firefox 3, a new XPCOM category was added in bugĀ 391667 to allow "third-party" XPCOM components to identify images based on their content. If Mozilla's built-in image code cannot identify an image, then any XPCOM components implementing the nsIContentSniffer interface may register under the "image-sniffing-services" category, and will be queried to determine the MIME type of the image being downloaded.

Note: This category was removed. See Bug 813787 - Remove support for image-sniffing-services.

Document Tags and Contributors

 Contributors to this page: teoli, def00111, trevorh, Sheppy, Ben Karel
 Last updated by: def00111,