mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 19:06:55 +02:00
Unfortunately the added test (which passes locally) is skipped as it is based off other Worker tests which are also skipped due to being flakey in CI. (cherry picked from commit 755b63132b72cb25bd358415bf2fdf2be3c14c47)
15 lines
556 B
Plaintext
15 lines
556 B
Plaintext
#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;
|
|
};
|