LibWeb: Expose Worker to DedicatedWorker and SharedWorker

This commit is contained in:
Jamie Mansfield 2024-08-23 22:11:46 +01:00 committed by Sam Atkins
parent b757ee0bc8
commit 4133177895
Notes: github-actions[bot] 2024-08-24 10:26:16 +00:00

View file

@ -3,7 +3,7 @@
#import <HTML/MessagePort.idl>
// https://html.spec.whatwg.org/#worker
[Exposed=(Window)]
[Exposed=(Window,DedicatedWorker,SharedWorker)]
interface Worker : EventTarget {
constructor(DOMString scriptURL, optional WorkerOptions options = {});