mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:27:35 +00:00
LibWeb: Support assigning to window.location
Assignments actually forward to window.location.href, as the spec requires. Since the window object is implemented by hand, this looks a little janky. Eventually we should move all this stuff to IDL.
This commit is contained in:
parent
2a7924f96c
commit
95e011e2a0
2 changed files with 20 additions and 2 deletions
|
@ -82,6 +82,9 @@ private:
|
|||
|
||||
JS_DECLARE_NATIVE_FUNCTION(document_getter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(location_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(location_setter);
|
||||
|
||||
JS_DECLARE_NATIVE_FUNCTION(name_getter);
|
||||
JS_DECLARE_NATIVE_FUNCTION(name_setter);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue