JSDoc: Namespace: browser

# Namespace: browser

## browser

Source:
  - browser.js, line 21

### 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:
  - browser.js, line 34

##### 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:
  - browser.js, line 56

##### Returns:

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

Type
  Tab