mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 04:37:55 +00:00
LibWeb: Expose Worker to DedicatedWorker and SharedWorker
This commit is contained in:
committed by
Sam Atkins
parent
b757ee0bc8
commit
4133177895
@@ -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 = {});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user