mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-17 07:50:04 +00:00
LibWeb: Expose MessagePort.postMessage(message, transfer)
The overload resolution is no longer an issue, and we already had this implemented :^)
This commit is contained in:
parent
897ba19e0f
commit
2c5cfbb968
Notes:
github-actions[bot]
2024-10-28 22:32:57 +00:00
Author: https://github.com/shannonbooth
Commit: 2c5cfbb968
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2022
1 changed files with 1 additions and 2 deletions
|
@ -4,8 +4,7 @@
|
||||||
// https://html.spec.whatwg.org/multipage/web-messaging.html#messageport
|
// https://html.spec.whatwg.org/multipage/web-messaging.html#messageport
|
||||||
[Exposed=(Window,Worker,AudioWorklet), Transferable]
|
[Exposed=(Window,Worker,AudioWorklet), Transferable]
|
||||||
interface MessagePort : EventTarget {
|
interface MessagePort : EventTarget {
|
||||||
// FIXME: IDL Overload resolution fails here
|
undefined postMessage(any message, sequence<object> transfer);
|
||||||
// FIXME: undefined postMessage(any message, sequence<object> transfer);
|
|
||||||
undefined postMessage(any message, optional StructuredSerializeOptions options = {});
|
undefined postMessage(any message, optional StructuredSerializeOptions options = {});
|
||||||
undefined start();
|
undefined start();
|
||||||
undefined close();
|
undefined close();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue