Issue #2729 - Add missing jsonifier interfaces to DOM{Matrix|Rect|Point}

Resolves #2729
Resolves #2705
This commit is contained in:
Moonchild 2025-04-16 16:07:57 +02:00 • committed by roytam1
commit 8bacedc9a9
3 changed files with 6 additions and 1 deletions

View file

@ -82,6 +82,7 @@ interface DOMMatrixReadOnly {
[Throws] Float32Array toFloat32Array(); [Throws] Float32Array toFloat32Array();
[Throws] Float64Array toFloat64Array(); [Throws] Float64Array toFloat64Array();
[Exposed=Window] stringifier; [Exposed=Window] stringifier;
jsonifier;
}; };
[Constructor, [Constructor,

View file

@ -19,7 +19,9 @@ interface DOMPointReadOnly {
readonly attribute unrestricted double x; readonly attribute unrestricted double x;
readonly attribute unrestricted double y; readonly attribute unrestricted double y;
readonly attribute unrestricted double z; readonly attribute unrestricted double z;
readonly attribute unrestricted double w; readonly attribute unrestricted double w;
jsonifier;
}; };
[Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0, [Constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,

View file

@ -36,6 +36,8 @@ interface DOMRectReadOnly {
readonly attribute unrestricted double right; readonly attribute unrestricted double right;
readonly attribute unrestricted double bottom; readonly attribute unrestricted double bottom;
readonly attribute unrestricted double left; readonly attribute unrestricted double left;
jsonifier;
}; };
dictionary DOMRectInit { dictionary DOMRectInit {