1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 07:17:35 +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

@ -94,6 +94,8 @@ private:
JS_DECLARE_NATIVE_FUNCTION(screen_left_getter);
JS_DECLARE_NATIVE_FUNCTION(screen_top_getter);
JS_DECLARE_NATIVE_FUNCTION(post_message);
JS_DECLARE_NATIVE_FUNCTION(local_storage_getter);
JS_DECLARE_NATIVE_FUNCTION(alert);