interface Window {
    alwaysOnTop: boolean;
    focused: boolean;
    height?: number;
    id?: number;
    incognito: boolean;
    left?: number;
    sessionId?: string;
    state?: WindowState;
    tabs?: Tab[];
    title?: string;
    top?: number;
    type?: browser.windows.WindowType;
    width?: number;
}
Index
alwaysOnTop: boolean

Whether the window is set to be always on top.

focused: boolean

Whether the window is currently the focused window.

height?: number

The height of the window, including the frame, in pixels. Under some circumstances a Window may not be assigned height property, for example when querying closed windows from the sessions API.

id?: number

The ID of the window. Window IDs are unique within a browser session. Under some circumstances a Window may not be assigned an ID, for example when querying windows using the sessions API, in which case a session ID may be present.

incognito: boolean

Whether the window is incognito.

left?: number

The offset of the window from the left edge of the screen in pixels. Under some circumstances a Window may not be assigned left property, for example when querying closed windows from the sessions API.

sessionId?: string

The session ID used to uniquely identify a Window obtained from the sessions API.

state?: WindowState

The state of this browser window.

tabs?: Tab[]

Array of tabs.Tab objects representing the current tabs in the window.

title?: string

The title of the window. Read-only.

top?: number

The offset of the window from the top edge of the screen in pixels. Under some circumstances a Window may not be assigned top property, for example when querying closed windows from the sessions API.

The type of browser window this is.

width?: number

The width of the window, including the frame, in pixels. Under some circumstances a Window may not be assigned width property, for example when querying closed windows from the sessions API.