1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:57:46 +00:00

LibWeb: Add simple ad-hoc version of window.postMessage()

This allows us to use the wpt.live copy of the ACID3 test, which is kept
updated, unlike the acidtests.org version.
This commit is contained in:
Andreas Kling 2022-02-26 17:21:40 +01:00
parent fc5e414596
commit f855cbac92
4 changed files with 29 additions and 0 deletions

View file

@ -102,6 +102,8 @@ public:
Window* parent();
DOM::ExceptionOr<void> post_message(JS::Value, String const& target_origin);
private:
explicit Window(Document&);