mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb+WebWorker: Implement a first cut of post_message for Workers
This implementation completely ignores MessagePorts, and manually plumbs data through LocalSockets.
This commit is contained in:
parent
05ec93e276
commit
1602663b9e
Notes:
sideshowbarker
2024-07-17 03:16:02 +09:00
Author: https://github.com/ADKaster
Commit: 1602663b9e
Pull-request: https://github.com/SerenityOS/serenity/pull/22021
15 changed files with 225 additions and 29 deletions
|
@ -18,6 +18,11 @@ interface WorkerGlobalScope : EventTarget {
|
|||
attribute EventHandler ononline;
|
||||
attribute EventHandler onrejectionhandled;
|
||||
attribute EventHandler onunhandledrejection;
|
||||
|
||||
// FIXME: This belongs on the subclasses of WorkerGlobalScope
|
||||
undefined postMessage(any message, any transfer);
|
||||
attribute EventHandler onmessage;
|
||||
attribute EventHandler onmessageerror;
|
||||
};
|
||||
|
||||
WorkerGlobalScope includes WindowOrWorkerGlobalScope;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue