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

@ -36,6 +36,7 @@ public:
WebIDL::ExceptionOr<void> terminate();
WebIDL::ExceptionOr<void> post_message(JS::Value message, StructuredSerializeOptions const&);
WebIDL::ExceptionOr<void> post_message(JS::Value message, Vector<JS::Handle<JS::Object>> const& transfer);
virtual ~Worker() = default;