From 402b497299c04e3b4714842c5caad50197088d0c Mon Sep 17 00:00:00 2001 From: Mark Ladyshau <47859603+mrkldshv@users.noreply.github.com> Date: Thu, 26 May 2022 17:14:38 +0200 Subject: 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. --- tools/wpt/expectation.json | 2 -- 1 file changed, 2 deletions(-) (limited to 'tools') diff --git a/tools/wpt/expectation.json b/tools/wpt/expectation.json index aa168a88b..f13bf39d8 100644 --- a/tools/wpt/expectation.json +++ b/tools/wpt/expectation.json @@ -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", -- cgit v1.2.3