sessions.Filter
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
Optional-
number
. The maximum number of results to return.
Browser compatibility
Report problems with this compatibility data on GitHubdesktop | mobile | ||||||
---|---|---|---|---|---|---|---|
Filter |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Examples
Note:
This API is based on Chromium's chrome.sessions
API.