diff --git a/Userland/Libraries/LibWeb/FileAPI/Blob.cpp b/Userland/Libraries/LibWeb/FileAPI/Blob.cpp index 056cddd3a6..b1f8a3d9f1 100644 --- a/Userland/Libraries/LibWeb/FileAPI/Blob.cpp +++ b/Userland/Libraries/LibWeb/FileAPI/Blob.cpp @@ -153,8 +153,6 @@ WebIDL::ExceptionOr Blob::serialization_steps(HTML::SerializationRecord& r { auto& vm = this->vm(); - TRY(HTML::serialize_string(vm, record, interface_name())); - // FIXME: 1. Set serialized.[[SnapshotState]] to value’s snapshot state. // NON-STANDARD: FileAPI spec doesn't specify that type should be serialized, although diff --git a/Userland/Libraries/LibWeb/FileAPI/File.cpp b/Userland/Libraries/LibWeb/FileAPI/File.cpp index db6e71d1a5..5e882789cf 100644 --- a/Userland/Libraries/LibWeb/FileAPI/File.cpp +++ b/Userland/Libraries/LibWeb/FileAPI/File.cpp @@ -91,8 +91,6 @@ WebIDL::ExceptionOr File::serialization_steps(HTML::SerializationRecord& r { auto& vm = this->vm(); - TRY(HTML::serialize_string(vm, record, interface_name())); - // FIXME: 1. Set serialized.[[SnapshotState]] to value’s snapshot state. // NON-STANDARD: FileAPI spec doesn't specify that type should be serialized, although diff --git a/Userland/Libraries/LibWeb/HTML/StructuredSerialize.cpp b/Userland/Libraries/LibWeb/HTML/StructuredSerialize.cpp index c0b2d6fc94..4e4307111a 100644 --- a/Userland/Libraries/LibWeb/HTML/StructuredSerialize.cpp +++ b/Userland/Libraries/LibWeb/HTML/StructuredSerialize.cpp @@ -306,6 +306,8 @@ public: m_serialized.append(ValueTag::SerializableObject); + TRY(serialize_string(m_vm, m_serialized, serializable.interface_name())); + // 1. Perform the serialization steps for value's primary interface, given value, serialized, and forStorage. TRY(serializable.serialization_steps(m_serialized, m_for_storage)); }