LibWeb: Update structured deserialization to accept its target realm

This is a formal parameter to this AO in the spec.
This commit is contained in:
Timothy Flynn 2025-04-17 08:57:55 -04:00 committed by Tim Flynn
commit 5eab109d85
Notes: github-actions[bot] 2025-04-17 17:47:42 +00:00
4 changed files with 9 additions and 8 deletions

View file

@ -124,7 +124,7 @@ WebIDL::ExceptionOr<GC::Ref<JS::PrimitiveString>> deserialize_string_primitive(J
WebIDL::ExceptionOr<GC::Ref<JS::BigInt>> deserialize_big_int_primitive(JS::VM& vm, ReadonlySpan<u32> vector, size_t& position);
WebIDL::ExceptionOr<SerializedTransferRecord> structured_serialize_with_transfer(JS::VM& vm, JS::Value value, Vector<GC::Root<JS::Object>> const& transfer_list);
WebIDL::ExceptionOr<DeserializedTransferRecord> structured_deserialize_with_transfer(JS::VM& vm, SerializedTransferRecord&);
WebIDL::ExceptionOr<DeserializedTransferRecord> structured_deserialize_with_transfer(SerializedTransferRecord&, JS::Realm& target_realm);
}