Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
Find Properties Used to get properties such as 'type' and 'content-disposition' 'type' is a nsISupportsCString containing the images' mime type such as 'image/png' 'content-disposition' will be a nsISupportsCString containing the header If you call this before any data has been loaded from a URI, it will succeed, but come back empty.
Hopefully this will be removed with bug 805119
NULL if the URL was not found in the cache
The URI to look up.
Optional pointer to the document that the cache entry belongs to.
Evict images from the non-chrome cache which match the the given base domain. Matching cache entries will be cleared across all origin attributes and all processes.
NS_ERROR_NOT_AVAILABLE if not called in the parent process.
base domain to delete cache entries for.
Evict images from the cache with the same origin and the same originAttributes of the passed principal, across all processes. May only be called from the parent process.
NS_ERROR_NOT_AVAILABLE if not called in the parent process.
The principal to clear cache entries for. The principals origin attributes are used to determine whether the private or normal browsing cache is cleared.
Generated using TypeDoc
imgICache interface
Author
Stuart Parmenter pavlov@netscape.com
Version
0.1
See
imagelib2