This value represents the maximum number of sessions that will be returned by a call to sessions.getRecentlyClosed(). It is read-only for WebExtension code, and is set to 25.

Browser compatibility

Update compatibility data on GitHub
ChromeEdgeFirefoxOperaFirefox for Android
MAX_SESSION_RESULTSChrome Full support YesEdge No support NoFirefox Full support 52Opera Full support YesFirefox Android No support No


Full support  
Full support
No support  
No support

This API is based on Chromium's chrome.sessions API.

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

Document Tags and Contributors

Contributors to this page: mdnwebdocs-bot, wbamberg
Last updated by: mdnwebdocs-bot,