Namespace: browser

browser

Source:

Classes

Context
Windows

Methods

(static) getBrowserForTab(tab) → {Browser}

Get the <xul:browser> for the specified tab.

Parameters:
Name Type Description
tab Tab

The tab whose browser needs to be returned.

Source:
Returns:

The linked browser for the tab or null if no browser can be found.

Type
Browser

(static) getTabBrowser(win) → {Tab}

Return the tab browser for the specified chrome window.

Parameters:
Name Type Description
win ChromeWindow

Window whose tabbrowser needs to be accessed.

Source:
Returns:

Tab browser or null if it's not a browser window.

Type
Tab