mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-02-24 00:24:38 +00:00
LibWeb: Add SerializationMemory parameter to serialization_steps()
We want to bring with us the value of SerializationMemory to Serializable::serialization_steps() when doing sub serialization.
This commit is contained in:
committed by
Andreas Kling
parent
924423c596
commit
4669c1ba31
@@ -315,7 +315,7 @@ public:
|
||||
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));
|
||||
TRY(serializable.serialization_steps(m_serialized, m_for_storage, m_memory));
|
||||
}
|
||||
|
||||
// 20. Otherwise, if value is a platform object, then throw a "DataCloneError" DOMException.
|
||||
|
||||
Reference in New Issue
Block a user