This is an archived page. It's not actively maintained.

nsIFrameLoaderOwner

Represents the owner of an nsIFrameLoader.
1.0
66
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

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.

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