LibWeb: Add {,de}serialization steps for DOMPointReadonly

This commit is contained in:
Kenneth Myhra
2024-03-09 23:02:22 +01:00
committed by Andreas Kling
parent 8d2f7cfb58
commit bf4fb39bfb
5 changed files with 59 additions and 1 deletions

View File

@@ -27,6 +27,10 @@
domMatrix = structuredClone(new DOMMatrix([10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160]));
println(`DOMMatrix: ${JSON.stringify(domMatrix)}`);
let domPointReadOnly = structuredClone(new DOMPointReadOnly(10, 20, 30, 40));
println(`instanceOf DOMPointReadOnly: ${domPointReadOnly instanceof DOMPointReadOnly}`);
println(`DOMPointReadOnly: ${JSON.stringify(domPointReadOnly)}`);
done();
});
</script>