mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:47:44 +00:00
LibWeb: Allow reloading the current page with location.reload()
This commit is contained in:
parent
71007f6ebb
commit
3b11e471bd
5 changed files with 32 additions and 3 deletions
|
@ -40,6 +40,8 @@ public:
|
|||
private:
|
||||
virtual const char* class_name() const override { return "LocationObject"; }
|
||||
|
||||
static JS::Value reload(JS::Interpreter&);
|
||||
|
||||
static JS::Value href_getter(JS::Interpreter&);
|
||||
static void href_setter(JS::Interpreter&, JS::Value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue