mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 01:20:25 +00:00
14 lines
556 B
Text
14 lines
556 B
Text
#import <HTML/WorkerGlobalScope.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/workers.html#dedicatedworkerglobalscope
|
|
[Global=(Worker,DedicatedWorker),Exposed=DedicatedWorker]
|
|
interface DedicatedWorkerGlobalScope : WorkerGlobalScope {
|
|
[Replaceable] readonly attribute DOMString name;
|
|
|
|
undefined postMessage(any message, sequence<object> transfer);
|
|
undefined postMessage(any message, optional StructuredSerializeOptions options = {});
|
|
undefined close();
|
|
|
|
attribute EventHandler onmessage;
|
|
attribute EventHandler onmessageerror;
|
|
};
|