Interface nsILoadContextType

An nsILoadContext represents the context of a load. This interface can be queried for various information about where the load is happening.

Hierarchy

Properties

associatedWindow: mozIDOMWindowProxy

associatedWindow is the window with which the load is associated, if any. Note that the load may be triggered by a document which is different from the document in associatedWindow, and in fact the source of the load need not be same-origin with the document in associatedWindow. This attribute may be null if there is no associated window.

isContent: boolean

True if the load context is content (as opposed to chrome). This is determined based on the type of window the load is performed in, NOT based on any URIs that might be around.

originAttributes: any

A dictionary of the non-default origin attributes associated with this nsILoadContext.

topFrameElement: Element

topFrameElement is the