diff --git a/Libraries/LibWeb/HTML/Storage.cpp b/Libraries/LibWeb/HTML/Storage.cpp
index 3d1f5a9d2107..126755f6a531 100644
--- a/Libraries/LibWeb/HTML/Storage.cpp
+++ b/Libraries/LibWeb/HTML/Storage.cpp
@@ -144,8 +144,7 @@ WebIDL::ExceptionOr Storage::set_item(String const& key, String const& val
// https://html.spec.whatwg.org/multipage/webstorage.html#dom-storage-removeitem
void Storage::remove_item(String const& key)
{
- // 1. If this's map[key] does not exist, then return null.
- // FIXME: Return null?
+ // 1. If this's map[key] does not exist, then return.
auto it = map().find(key);
if (it == map().end())
return;
@@ -190,8 +189,8 @@ void Storage::broadcast(Optional const& key, Optional const& old
auto& relevant_global = relevant_global_object(*this);
auto const& this_document = verify_cast(relevant_global).associated_document();
- // 2. Let url be thisDocument's URL.
- auto url = this_document.url().to_string();
+ // 2. Let url be the serialization of thisDocument's URL.
+ auto url = this_document.url().serialize();
// 3. Let remoteStorages be all Storage objects excluding storage whose:
GC::RootVector> remote_storages(heap());