Adds the WorkerOptions object as the second argument for a shared worker constructor. The previous second argument, a DOMString containing the worker’s name is still supported.
Motivation
WorkerOptions is necessary for implementing the new feature (ES module).
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 81
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Positive
- No signal
- No signal
- No signals
Owner
Last updated on 2020-11-26