mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Add {,de}serialization steps for DOMPointReadonly
This commit is contained in:
committed by
Andreas Kling
parent
8d2f7cfb58
commit
bf4fb39bfb
Notes:
sideshowbarker
2024-07-16 23:34:49 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/bf4fb39bfb Pull-request: https://github.com/SerenityOS/serenity/pull/23538 Reviewed-by: https://github.com/ADKaster
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user