Shared worker extended lifetime
Limited availability
The extendedLifetime option of the SharedWorker() constructor gives shared workers extra time to perform operations after all pages using it have been navigated away from or closed.
Browser support
- Chrome 148 Released on 2026-05-05
- Chrome Android 148 Released on 2026-05-05
- Edge 148 Released on 2026-05-07
- Firefox Not supported Bugs: 2021443
- Firefox for Android Not supported
- Safari Not supported
- Safari on iOS Not supported
MDN documentation
No MDN documentation found. You can search for the feature on MDN. If you believe that MDN has no documentation about this feature, you can open an issue on MDN's GitHub repository.Specifications
- HTML (#dom-sharedworkeroptions-extendedlifetime), from HTML Workstream (WHATWG).
View as JSON | Edit this feature | Report an issue | Web-features entry: source, dist