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

LibWeb: Use navigate() instead of did_set_location_href in Location

This commit is contained in:
Aliaksandr Kalenik 2023-08-22 18:33:20 +02:00 committed by Andreas Kling
parent 083e4a3f30
commit acff244335
4 changed files with 7 additions and 17 deletions

View file

@ -51,7 +51,7 @@ public:
void replace(String const& url) const;
void reload() const;
WebIDL::ExceptionOr<void> assign(String const& url) const;
WebIDL::ExceptionOr<void> assign(String const& url);
virtual JS::ThrowCompletionOr<JS::Object*> internal_get_prototype_of() const override;
virtual JS::ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype) override;