mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
LibWeb: Add {,de}serialization steps for DOMMatrixReadonly
This commit is contained in:
parent
57e7d6e989
commit
181424377d
Notes:
sideshowbarker
2024-07-17 05:09:48 +09:00
Author: https://github.com/kennethmyhra
Commit: 181424377d
Pull-request: https://github.com/SerenityOS/serenity/pull/23538
Reviewed-by: https://github.com/ADKaster
5 changed files with 170 additions and 2 deletions
|
@ -15,6 +15,12 @@
|
|||
println(`File.text(): ${text}`);
|
||||
println(`File.size: ${file.size}`);
|
||||
|
||||
let domMatrixReadOnly = structuredClone(new DOMMatrixReadOnly([1.7976931348623157e+308, 2.2250738585072014e-308, 2.2204460492503131e-016, 40, 50, 60]));
|
||||
println(`instanceOf DOMMatrixReadOnly: ${domMatrixReadOnly instanceof DOMMatrixReadOnly}`);
|
||||
println(`DOMMatrixReadOnly: ${JSON.stringify(domMatrixReadOnly)}`);
|
||||
domMatrixReadOnly = structuredClone(new DOMMatrixReadOnly([10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160]));
|
||||
println(`DOMMatrixReadOnly: ${JSON.stringify(domMatrixReadOnly)}`);
|
||||
|
||||
done();
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue