Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIWebScriptsAccessService Interface Reference

import "nsIWebScriptsAccessService.idl";

Inheritance diagram for nsIWebScriptsAccessService:
Inheritance graph
[legend]
Collaboration diagram for nsIWebScriptsAccessService:
Collaboration graph
[legend]

List of all members.

Public Member Functions

boolean canAccess (in nsIURI aTransportURI, in AString aType)
 Call this method to check script access...
void invalidateCache (in string aTransportURI)
 This method will invalidate the cached entry for the transport uri.

Detailed Description

Definition at line 43 of file nsIWebScriptsAccessService.idl.


Member Function Documentation

boolean nsIWebScriptsAccessService::canAccess ( in nsIURI  aTransportURI,
in AString  aType 
)

Call this method to check script access...

aTransportURI - The web service URI. aType - Type requested by the script. return TRUE if access granted else FALSE

This method will invalidate the cached entry for the transport uri.

Also one can clear the entire cache by passing in a null string.


The documentation for this interface was generated from the following file: