-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #550. The Worker and SharedWorker constructors now get an options object, which can be specified as { type: "module", crossOrigin }, where crossOrigin specifies the credentials mode used for the initial fetch and for subsequent imports. The module fetching and execution machinery is entirely reused from that for <script type="module">. This commit does not include any modifications to importScripts; those are in a subsequent commit.
- Loading branch information
Showing
1 changed file
with
103 additions
and
44 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