mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 13:14:48 +00:00
fix(core): rethrow exception during structured cloning serialization (#14671)
- Introduced optional callback for Deno.core.serialize API, that returns cloning error if there is one. - Removed try/catch in seralize structured clone function and throw error from callback. - Removed "Object with a getter that throws" assertion from WPT.
This commit is contained in:
parent
3aa6d5d8b0
commit
402b497299
3 changed files with 39 additions and 16 deletions
|
@ -3655,7 +3655,6 @@
|
|||
"Object Blob object, Blob empty",
|
||||
"Object Blob object, Blob NUL",
|
||||
"File basic",
|
||||
"Object with a getter that throws",
|
||||
"Serializing a non-serializable platform object fails",
|
||||
"An object whose interface is deleted from the global must still deserialize",
|
||||
"A subclass instance will deserialize as its closest serializable superclass",
|
||||
|
@ -3682,7 +3681,6 @@
|
|||
"Object Blob object, Blob empty",
|
||||
"Object Blob object, Blob NUL",
|
||||
"File basic",
|
||||
"Object with a getter that throws",
|
||||
"Serializing a non-serializable platform object fails",
|
||||
"An object whose interface is deleted from the global must still deserialize",
|
||||
"A subclass instance will deserialize as its closest serializable superclass",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue