mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 05:09:12 +00:00
LibWeb: Implement DedicatedWorkerGlobalScope postMessage(msg, transfer)
Unfortunately the added test (which passes locally) is skipped as it is based off other Worker tests which are also skipped due to being flakey in CI.
This commit is contained in:
parent
70599d3f8d
commit
755b63132b
Notes:
github-actions[bot]
2024-10-28 22:33:18 +00:00
Author: https://github.com/shannonbooth
Commit: 755b63132b
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2022
6 changed files with 43 additions and 2 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
virtual ~DedicatedWorkerGlobalScope() override;
|
||||
|
||||
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);
|
||||
|
||||
void set_name(String name) { m_name = move(name); }
|
||||
String name() const { return m_name; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue