LibWeb: Post all MessagePort messages over their LocalSockets

This is to allow future changes to do cross-process MessagePorts in an
implementation-agnostic way. Add some tests for this behavior.

Delivering messages that were posted to a MessagePort just before it was
transferred is not yet implemented still.
This commit is contained in:
Andrew Kaster 2023-12-19 15:28:56 -07:00 committed by Andrew Kaster
commit c0f50b12a4
Notes: sideshowbarker 2024-07-16 22:11:09 +09:00
7 changed files with 301 additions and 52 deletions

View file

@ -0,0 +1,6 @@
Port1: "Hello"
Port1: {"foo":{}}
Port1: "DONE"
Port2: "Hello"
Port3: "Hello from the transferred port"
Port2: "DONE"