mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibWeb: Implement clean_up_after_running_script on a Realm
Taking further steps towards implementing the shadow realm spec :^)
This commit is contained in:
committed by
Andrew Kaster
parent
0628b74272
commit
d6fdaf6b26
@@ -1310,7 +1310,7 @@ WebIDL::ExceptionOr<JS::Value> structured_deserialize(JS::VM& vm, SerializationR
|
||||
|
||||
auto result = TRY(structured_deserialize_internal(vm, serialized.span(), target_realm, *memory));
|
||||
|
||||
target_settings.clean_up_after_running_script();
|
||||
clean_up_after_running_script(target_realm);
|
||||
VERIFY(result.value.has_value());
|
||||
return *result.value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user