Make DOMPoint and DOMPointReadOnly serializable (#35989)

* script: Make DOMPointReadOnly serializable.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Make DOMPoint serializable.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* script: Shrink worker script event.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>

* Update components/script/dom/dompoint.rs

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Josh Matthews <josh@joshmatthews.net>

---------

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Josh Matthews 2025-03-26 21:35:02 -04:00 committed by GitHub
parent 1df1ba58d6
commit 53a2e61fec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 224 additions and 45 deletions

View file

@ -1,28 +1,4 @@
[structured-serialization.html]
[DOMPointReadOnly clone: basic]
expected: FAIL
[DOMPointReadOnly clone: custom property]
expected: FAIL
[DOMPointReadOnly clone: throwing getters]
expected: FAIL
[DOMPointReadOnly clone: non-initial values]
expected: FAIL
[DOMPoint clone: basic]
expected: FAIL
[DOMPoint clone: custom property]
expected: FAIL
[DOMPoint clone: throwing getters]
expected: FAIL
[DOMPoint clone: non-initial values]
expected: FAIL
[DOMRectReadOnly clone: basic]
expected: FAIL