ladybird/Userland/Libraries/LibWeb/HTML/MessagePort.idl
Andreas Kling 95559c4277 LibWeb: Implement basic support for MessageChannel and MessagePort
This patch adds a basic initial implementation of these API's.

Since LibWeb currently doesn't support workers, this implementation of
messaging doesn't bother with serializing and deserializing messages.
2021-09-19 22:34:44 +02:00

10 lines
211 B
Text

interface MessagePort : EventTarget {
undefined postMessage(any message);
undefined start();
undefined close();
attribute EventHandler onmessage;
attribute EventHandler onmessageerror;
};