summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/Location.h
diff options
context:
space:
mode:
authorLuke Wilde <lukew@serenityos.org>2023-05-15 20:11:38 +0100
committerAndreas Kling <kling@serenityos.org>2023-05-16 11:25:44 +0200
commit00493687f2a2fe894735359d0289cb0a0a54a4a3 (patch)
tree15c56dd301b90cd55c7ba756693bed2d845ce763 /Userland/Libraries/LibWeb/HTML/Location.h
parentbaeee0effe67479ccf2a6c64eb3419e252434bac (diff)
downloadserenity-00493687f2a2fe894735359d0289cb0a0a54a4a3.zip
LibWeb: Implement location.assign
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/Location.h')
-rw-r--r--Userland/Libraries/LibWeb/HTML/Location.h1
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;