1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

LibWeb: Support [de]serialization for Error objects

This commit is contained in:
Idan Horowitz 2023-11-11 01:14:56 +02:00 committed by Andreas Kling
parent 71d4ab367a
commit 1d24e08934
3 changed files with 86 additions and 1 deletions

View file

@ -9,6 +9,8 @@
println(structuredClone(BigInt("0x1fffffffffffff")));
println(structuredClone(Date.UTC(2023, 7, 23)));
println(structuredClone(/abc/gimsuy));
println(structuredClone(new Error()));
println(structuredClone(new URIError("hello")));
{
let arrayBuffer = new ArrayBuffer(6);