Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

nsIFrameLoaderOwner

Represents the owner of an nsIFrameLoader.
1.0
28
Introduced
Gecko 1.8
Inherits from: nsISupports Last changed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

Method overview

[noscript, notxpcom] alreadyAddRefed_nsFrameLoader GetFrameLoader();
void swapFrameLoaders(in nsIFrameLoaderOwner aOtherOwner);

Attributes

Attribute Type Description
frameLoader nsIFrameLoader The frame loader owned by this nsIFrameLoaderOwner. Read only.

Methods

Requires Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1)

getFrameLoader()

Returns the frame loader object owned by this object.

[noscript, notxpcom] alreadyAddRefed_nsFrameLoader GetFrameLoader();
Parameters

None.

Return value

The nsIFrameLoader owned by this object.

Requires Gecko 1.9.1 (Firefox 3.5 / Thunderbird 3.0 / SeaMonkey 2.0)

swapFrameLoaders()

Swaps frame loaders with the given nsIFrameLoaderOwner. This may only be possible in a very limited set of circumstances, or never, depending on the object implementing this interface.

void swapFrameLoaders(
  in nsIFrameLoaderOwner aOtherOwner
);
Parameters
aOtherOwner
The other frame loader owner with which to swap frame loaders.
Exceptions thrown
NS_ERROR_DOM_SECURITY_ERR
If the swap is not allowed on security grounds.
NS_ERROR_NOT_IMPLEMENTED
If the swapping logic is not implemented for the either the current frame loader owner or the specified one with which you're trying to swap.

See also

Document Tags and Contributors

 Contributors to this page: Sheppy
 Last updated by: Sheppy,