LibWeb: Implement location.assign

This commit is contained in:
Luke Wilde
2023-05-15 20:11:38 +01:00
committed by Andreas Kling
parent baeee0effe
commit 00493687f2
3 changed files with 25 additions and 1 deletions

View File

@@ -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;