mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:57:44 +00:00
LibWeb/HTML: Port Window.structuredClone() to IDL
This commit is contained in:
parent
a31c561a5a
commit
129ab02470
8 changed files with 42 additions and 25 deletions
|
@ -4,12 +4,15 @@
|
|||
// https://html.spec.whatwg.org/multipage/web-messaging.html#messageport
|
||||
[Exposed=(Window,Worker,AudioWorklet), Transferable]
|
||||
interface MessagePort : EventTarget {
|
||||
|
||||
undefined postMessage(any message);
|
||||
undefined start();
|
||||
undefined close();
|
||||
|
||||
// event handlers
|
||||
attribute EventHandler onmessage;
|
||||
attribute EventHandler onmessageerror;
|
||||
|
||||
};
|
||||
|
||||
dictionary StructuredSerializeOptions {
|
||||
sequence<object> transfer = [];
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue