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

LibWeb: Allow navigating to a new URL by setting window.location.href

This commit is contained in:
Andreas Kling 2020-05-18 21:52:50 +02:00
parent 1ec4db04cd
commit efdfdbabdb
5 changed files with 32 additions and 3 deletions

View file

@ -49,6 +49,8 @@ public:
void set_interval(JS::Function&, i32);
void set_timeout(JS::Function&, i32);
void did_set_location_href(Badge<Bindings::LocationObject>, const String& new_href);
private:
explicit Window(Document&);