mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
Shared workers are essentially just workers that may be accessed from scripts within the same origin. There are plenty of FIXMEs here (mostly building on existing worker FIXMEs that are already in place), but this lets us run the shared worker variants of WPT tests.
12 lines
344 B
Plaintext
12 lines
344 B
Plaintext
#import <HTML/WorkerGlobalScope.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/workers.html#sharedworkerglobalscope
|
|
[Global=(Worker,SharedWorker),Exposed=SharedWorker]
|
|
interface SharedWorkerGlobalScope : WorkerGlobalScope {
|
|
[Replaceable] readonly attribute DOMString name;
|
|
|
|
undefined close();
|
|
|
|
attribute EventHandler onconnect;
|
|
};
|