1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 11:47:35 +00:00

LibWeb: Implement Window.focus

This commit is contained in:
Luke Wilde 2022-11-05 14:38:49 +00:00 committed by Andreas Kling
parent a10204133a
commit a569d02b0d
2 changed files with 25 additions and 0 deletions

View file

@ -256,6 +256,7 @@ private:
JS_DECLARE_NATIVE_FUNCTION(cancel_animation_frame);
JS_DECLARE_NATIVE_FUNCTION(atob);
JS_DECLARE_NATIVE_FUNCTION(btoa);
JS_DECLARE_NATIVE_FUNCTION(focus);
JS_DECLARE_NATIVE_FUNCTION(get_computed_style);
JS_DECLARE_NATIVE_FUNCTION(match_media);