forked from whatwg/html
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a name to dedicated workers, for debugging
Closes whatwg#2477. This also changes the SharedWorker constructor to allow passing the name via an options bag, e.g. SharedWorker(url, { name }), in addition to directly as a string. This new url-plus-options form supersedes the previous signature of SharedWorker(url, name, options), where previously options was only used for module-worker-related options, which haven't shipped in implementations yet. Tests: web-platform-tests/wpt#5880
- Loading branch information
Showing
1 changed file
with
69 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters