import "nsIAboutModule.idl";
Inheritance diagram for nsIAboutModule:Public Member Functions | |
| nsIChannel | newChannel (in nsIURI aURI) |
| Constructs a new channel for the about protocol module. | |
| unsigned long | getURIFlags (in nsIURI aURI) |
| A method to get the flags that apply to a given about: URI. | |
Public Attributes | |
| const unsigned long | URI_SAFE_FOR_UNTRUSTED_CONTENT = (1 << 0) |
| A flag that indicates whether a URI is safe for untrusted content. | |
| const unsigned long | ALLOW_SCRIPT = (1 << 1) |
| A flag that indicates whether script should be enabled for the given about: URI even if it's disabled in general. | |
| const unsigned long | HIDE_FROM_ABOUTABOUT = (1 << 2) |
| A flag that indicates whether this about: URI doesn't want to be listed in about:about, especially if it's not useful without a query string. | |
| unsigned long nsIAboutModule::getURIFlags | ( | in nsIURI | aURI | ) |
A method to get the flags that apply to a given about: URI.
The URI passed in is guaranteed to be one of the URIs that this module registered to deal with.
| nsIChannel nsIAboutModule::newChannel | ( | in nsIURI | aURI | ) |
Constructs a new channel for the about protocol module.
| aURI | the uri of the new channel |
| const unsigned long nsIAboutModule::ALLOW_SCRIPT = (1 << 1) |
A flag that indicates whether script should be enabled for the given about: URI even if it's disabled in general.
| const unsigned long nsIAboutModule::HIDE_FROM_ABOUTABOUT = (1 << 2) |
A flag that indicates whether this about: URI doesn't want to be listed in about:about, especially if it's not useful without a query string.
| const unsigned long nsIAboutModule::URI_SAFE_FOR_UNTRUSTED_CONTENT = (1 << 0) |
A flag that indicates whether a URI is safe for untrusted content.
If it is, web pages and so forth will be allowed to link to this about: URI. Otherwise, only chrome will be able to link to it.
1.7.1