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

LibWeb: Make Window.screen a replaceable attribute

Required by Shadertoy.
This commit is contained in:
Luke Wilde 2023-02-28 20:15:18 +00:00 committed by Linus Groh
parent 4463de3d10
commit 7b635998a8
2 changed files with 8 additions and 1 deletions

View file

@ -224,7 +224,9 @@ private:
JS_DECLARE_NATIVE_FUNCTION(performance_setter);
JS_DECLARE_NATIVE_FUNCTION(history_getter);
JS_DECLARE_NATIVE_FUNCTION(screen_getter);
JS_DECLARE_NATIVE_FUNCTION(screen_setter);
JS_DECLARE_NATIVE_FUNCTION(event_getter);
JS_DECLARE_NATIVE_FUNCTION(event_setter);