diff options
Diffstat (limited to 'ext/web/02_structured_clone.js')
-rw-r--r-- | ext/web/02_structured_clone.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/web/02_structured_clone.js b/ext/web/02_structured_clone.js index 058390cfe..62bb48ebd 100644 --- a/ext/web/02_structured_clone.js +++ b/ext/web/02_structured_clone.js @@ -77,7 +77,7 @@ return core.deserialize(core.serialize(value)); } catch (e) { if (ObjectPrototypeIsPrototypeOf(TypeErrorPrototype, e)) { - throw new DOMException("Uncloneable value", "DataCloneError"); + throw new DOMException(e.message, "DataCloneError"); } throw e; } |