Interface nsIOpenWindowInfoType

nsIOpenWindowInfo is a helper type which contains details used when opening new content windows. This object is used to correctly create new initial content documents when creating a new window.

Hierarchy

Properties

forceNoOpener: boolean

Should |opener| be set on the newly-created content window?

isForPrinting: boolean

Whether this is a window opened for printing

isForWindowDotPrint: boolean

Whether this is a window opened for window.print(). When this is true, isForPrinting is necessarily true as well.

isRemote: boolean

If true, the content document should be created initially-remote

originAttributes: any

Origin Attributes for the to-be-created toplevel BrowsingContext

parent: BrowsingContext

BrowsingContext which requested the creation of this new window

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Returns const_OriginAttributes

  • Callback to invoke when the browsing context for a new window is ready.

    Returns nsIBrowsingContextReadyCallback

  • BrowserParent instance to use in the new window

    Returns BrowserParent

Generated using TypeDoc