Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 36.7k
worker: add support for Web Workers#64894
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
a467ea61f3ddd7ded3ce7bf3e70c056b9bf1beb0abFile filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Diff view
Diff view
Uh oh!
There was an error while loading. Please reload this page.
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -151,6 +151,7 @@ export default [ | ||
| WritableStreamDefaultWriter: 'readonly', | ||
| WritableStreamDefaultController: 'readonly', | ||
| WebSocket: 'readonly', | ||
| Worker: 'readonly', | ||
avivkeller marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| }, | ||
| }, | ||
| }, | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -51,6 +51,8 @@ exposeLazyInterfaces(globalThis, 'internal/worker/io', ['BroadcastChannel']); | ||
| exposeLazyInterfaces(globalThis, 'internal/worker/io', [ | ||
| 'MessageChannel', 'MessagePort', | ||
| ]); | ||
| // https://html.spec.whatwg.org/multipage/workers.html#dedicated-workers-and-the-worker-interface | ||
| exposeLazyInterfaces(globalThis, 'internal/webworker', ['Worker']); | ||
avivkeller marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| // https://www.w3.org/TR/FileAPI/#dfn-Blob | ||
| exposeLazyInterfaces(globalThis, 'internal/blob', ['Blob']); | ||
| // https://www.w3.org/TR/FileAPI/#dfn-file | ||
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.