Optional
aInstancePtr: objectA run time mechanism for interface discovery.
NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.
aInstancePtr must not be null.
[in] A requested interface IID
[out] A pointer to an interface pointer to receive the result.
A window has been created. Add it to our list.
the window to add
the corresponding chrome window. The DOM window and chrome will be mapped together, and the corresponding chrome can be retrieved using the (not private) method getChromeForWindow. If null, any extant mapping will be cleared.
Like the public interface's open(), but can handle openDialog-style arguments and calls which shouldn't result in us navigating the window.
the new window
This method may examine the JS context stack for purposes of determining the security context to use for the search for a given window named aName.
This method should try to set the default charset for the new window to the default charset of the document in the calling window (which is determined based on the JS stack and the value of aParent). This is not guaranteed, however.
parent window, if any. Null if no parent. If it is impossible to get to an nsIWebBrowserChrome from aParent, this method will effectively act as if aParent were null.
window name from JS window.open. can be null. If a window with this name already exists, the openWindow call may just load aUrl in it (if aUrl is not null) and return it.
window features from JS window.open. can be null.
true if we were called from script.
use dialog defaults (see nsGlobalWindowOuter::OpenInternal)
true if we should navigate the new window to the specified URL.
Window argument
true if the window is a popup spam window; used for popup blocker internals.
If true, force noopener behavior. This means not looking for existing windows with the given name, not setting an opener on the newly opened window, and returning null from this method.
if aNavigate is true, this allows the caller to pass in an nsIDocShellLoadState to use for the navigation. Callers can pass in null if they want the windowwatcher to just construct a loadinfo itself. If aNavigate is false, this argument is ignored.
Opens a new window so that the window that aOpeningTab belongs to is set as the parent window. The newly opened window will also inherit load context information from aOpeningTab.
the nsIRemoteTab of the initial browser for the newly opened window.
The nsIRemoteTab that is requesting the new window be opened.
Window features if called with window.open or similar.
True if called via window.open or similar.
The current zoom multiplier for the opener tab. This is then applied to the newly opened window.
Information used to create the initial content browser in the new window.
Generated using TypeDoc
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.