mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Add {,de}serialization steps for DOMPoint
This commit is contained in:
committed by
Andreas Kling
parent
bf4fb39bfb
commit
b7006b2423
Notes:
sideshowbarker
2024-07-17 03:51:15 +09:00
Author: https://github.com/kennethmyhra Commit: https://github.com/SerenityOS/serenity/commit/b7006b2423 Pull-request: https://github.com/SerenityOS/serenity/pull/23538 Reviewed-by: https://github.com/ADKaster
@@ -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