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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论