nsIImgManager

IID:D60B3710-166D-11d5-A542-0010A401EB10
Inherits From:nsISupports

This interface is implemented by the following components:


Methods

PRBool testPermission ( nsIURI uri , nsIURI firstUri )

PRBool testPermission ( nsIURI uri , nsIURI firstUri )

Test if the given image from URI can be loaded

Arguments:
uri: the uri of the image which wants to be loaded
firstUri: the uri of the document which tried to load the image
Returns:
whether the image has permission to be loaded

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com