diff options
author | Luke Wilde <lukew@serenityos.org> | 2023-05-15 20:11:38 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-05-16 11:25:44 +0200 |
commit | 00493687f2a2fe894735359d0289cb0a0a54a4a3 (patch) | |
tree | 15c56dd301b90cd55c7ba756693bed2d845ce763 /Userland/Libraries/LibWeb/HTML/Location.h | |
parent | baeee0effe67479ccf2a6c64eb3419e252434bac (diff) | |
download | serenity-00493687f2a2fe894735359d0289cb0a0a54a4a3.zip |
LibWeb: Implement location.assign
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Location.h')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/Location.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/Location.h b/Userland/Libraries/LibWeb/HTML/Location.h index 5ea4493e8b..e154137562 100644 --- a/Userland/Libraries/LibWeb/HTML/Location.h +++ b/Userland/Libraries/LibWeb/HTML/Location.h @@ -50,6 +50,7 @@ public: void replace(String const& url) const; void reload() const; + WebIDL::ExceptionOr<void> assign(String const& url) const; virtual JS::ThrowCompletionOr<JS::Object*> internal_get_prototype_of() const override; virtual JS::ThrowCompletionOr<bool> internal_set_prototype_of(Object* prototype) override; |