mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09: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.
11 lines
344 B
Text
11 lines
344 B
Text
#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;
|
|
};
|