MDN self-hosted library · e01.org

sessions.Filter

The Filter object enables you to restrict the number of Session objects returned by a call to sessions.getRecentlyClosed().

no runnable cells webextension-api-type upstream source

The Filter object enables you to restrict the number of Session objects returned by a call to sessions.getRecentlyClosed().

Type

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

  • maxResults
  • : number. The maximum number of results to return.

Examples

Browser compatibility

[!NOTE] This API is based on Chromium's chrome.sessions API.