LibWeb: Implement Worker.postMessage(message, transfer)

This commit is contained in:
Shannon Booth 2024-10-29 01:10:30 +13:00 committed by Andreas Kling
commit bf81e2fd64
Notes: github-actions[bot] 2024-10-28 22:33:09 +00:00
3 changed files with 12 additions and 2 deletions

View file

@ -10,8 +10,7 @@ interface Worker : EventTarget {
constructor(DOMString scriptURL, optional WorkerOptions options = {});
undefined terminate();
// FIXME: IDL overload issue here
// FIXME: undefined postMessage(any message, sequence<object> transfer);
undefined postMessage(any message, sequence<object> transfer);
undefined postMessage(any message, optional StructuredSerializeOptions options = {});
attribute EventHandler onmessage;