mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibWeb: Add {,de}serialization steps for DOMPoint
This commit is contained in:
committed by
Andreas Kling
parent
bf4fb39bfb
commit
b7006b2423
@@ -31,6 +31,10 @@
|
||||
println(`instanceOf DOMPointReadOnly: ${domPointReadOnly instanceof DOMPointReadOnly}`);
|
||||
println(`DOMPointReadOnly: ${JSON.stringify(domPointReadOnly)}`);
|
||||
|
||||
let domPoint = structuredClone(new DOMPoint(10, 20, 30, 40));
|
||||
println(`instanceOf DOMPoint: ${domPoint instanceof DOMPoint}`);
|
||||
println(`DOMPoint: ${JSON.stringify(domPoint)}`);
|
||||
|
||||
done();
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user