Public Member Functions | Public Attributes

nsIAboutModule Interface Reference

import "nsIAboutModule.idl";

List of all members.

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.

Member Function Documentation

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.

Parameters:
aURI the uri of the new channel

Member Data Documentation

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::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.


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