LibWeb/HTML: Only trim single '#' on Location.hash setter

This commit is contained in:
Shannon Booth 2025-04-23 17:00:56 +12:00 committed by Tim Ledbetter
commit f1d79483b7
Notes: github-actions[bot] 2025-04-23 07:25:29 +00:00
2 changed files with 3 additions and 3 deletions

View file

@ -48,7 +48,7 @@ public:
WebIDL::ExceptionOr<void> set_search(String const&);
WebIDL::ExceptionOr<String> hash() const;
WebIDL::ExceptionOr<void> set_hash(String const&);
WebIDL::ExceptionOr<void> set_hash(StringView);
WebIDL::ExceptionOr<void> replace(String const& url);
void reload() const;