1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:17:44 +00:00

LibWeb: Make window.{window,self,frames} return the WindowProxy

These now follow the spec and return the WindowProxy rather than the
Window itself.
This commit is contained in:
Andreas Kling 2022-10-20 15:52:41 +02:00
parent 940b455ed0
commit 58522f5088
2 changed files with 39 additions and 6 deletions

View file

@ -203,6 +203,10 @@ private:
JS_DECLARE_NATIVE_FUNCTION(inner_width_getter);
JS_DECLARE_NATIVE_FUNCTION(inner_height_getter);
JS_DECLARE_NATIVE_FUNCTION(window_getter);
JS_DECLARE_NATIVE_FUNCTION(frames_getter);
JS_DECLARE_NATIVE_FUNCTION(self_getter);
JS_DECLARE_NATIVE_FUNCTION(parent_getter);
JS_DECLARE_NATIVE_FUNCTION(device_pixel_ratio_getter);