sessions.Session - Mozilla | MDN

Type

Values of this type are objects. They contain the following properties:

lastModified

number. The time the tab or window was closed, in milliseconds since the epoch.

tab Optional

object. If the object represents a closed tab, then this property is present and will be a tabs.Tab object. This will contain url, title, and favIconUrl only if the extension has the "tabs" permission or host permissions to access the tab's URL.

window Optional

object. If the object represents a closed window, then this property is present and will be a windows.Window object.

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.