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:
parent
940b455ed0
commit
58522f5088
2 changed files with 39 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue