embedding/components/find/public/nsIWebBrowserFind.idlScriptable
Controls how find behaves when multiple frames or iframes are present.
Inherits from: nsISupports Last changed in Gecko 1.7

Get an instance by doing a QueryInterface from nsIWebBrowserFind.

Attributes

Attribute Type Description
currentSearchFrame nsIDOMWindow Frame at which to start the search. Once the search is done, this will be set to be the last frame searched, whether or not a result was found. Has to be equal to or contained within the rootSearchFrame.
rootSearchFrame nsIDOMWindow Frame within which to confine the search (normally the content area frame). Set this to only search a subtree of the frame hierarchy.
searchParentFrames boolean

Whether to allow the search to propagate out of the currentSearchFrame into its parent frame(s). Search is always confined within the rootSearchFrame. Default is true.

Setting nsIWebBrowserfind.searchFrames to true sets this to true.
searchSubframes boolean

Whether to recurse down into subframes while searching. Default is true.

Setting nsIWebBrowserfind.searchFrames to true sets this to true.

See also