mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:17:36 +00:00
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.
This commit is contained in:
parent
c7aa32b90f
commit
95559c4277
12 changed files with 322 additions and 0 deletions
8
Userland/Libraries/LibWeb/HTML/MessageChannel.idl
Normal file
8
Userland/Libraries/LibWeb/HTML/MessageChannel.idl
Normal file
|
@ -0,0 +1,8 @@
|
|||
interface MessageChannel {
|
||||
|
||||
constructor();
|
||||
|
||||
readonly attribute MessagePort port1;
|
||||
readonly attribute MessagePort port2;
|
||||
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue