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
ChromeEdgeFirefoxOperaSafariFirefox for Android
MAX_SESSION_RESULTSChrome Full support YesEdge Full support 79Firefox Full support 52Opera Full support YesSafari No support NoFirefox 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.