mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:42:43 +00:00 
			
		
		
		
	LibWeb: Support [de]serialization for {Map, Set, Object, Array} objects
This commit is contained in:
		
							parent
							
								
									4e89ec7fd5
								
							
						
					
					
						commit
						20734ac335
					
				
					 8 changed files with 447 additions and 190 deletions
				
			
		|  | @ -283,7 +283,7 @@ WebIDL::ExceptionOr<JS::NonnullGCPtr<UserTiming::PerformanceMeasure>> Performanc | |||
|         auto record = TRY(HTML::structured_serialize(vm, start_or_measure_options_dictionary_object->detail)); | ||||
| 
 | ||||
|         // 2. Set entry's detail to the result of calling the StructuredDeserialize algorithm on record and the current realm.
 | ||||
|         detail = TRY(HTML::structured_deserialize(vm, record, realm, Optional<HTML::SerializationMemory> {})); | ||||
|         detail = TRY(HTML::structured_deserialize(vm, record, realm, Optional<HTML::DeserializationMemory> {})); | ||||
|     } | ||||
| 
 | ||||
|     // 2. Otherwise, set it to null.
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Idan Horowitz
						Idan Horowitz