Initial structuredClone implementation (#32960)

* Initial structuredClone implementation

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Rename PostMessageOptions to StructuredSerializeOptions

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Update wpt test 2020 layout result

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Remove dublicated StructuredClone implementation

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>

* Remove comment from StructuredSerializeOptions webidl

Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>

---------

Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com>
Signed-off-by: Taym Haddadi <haddadi.taym@gmail.com>
This commit is contained in:
Taym Haddadi 2024-08-08 12:12:45 +02:00 committed by GitHub
parent f989d3776e
commit 08eb4faf4d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 74 additions and 862 deletions

View file

@ -2379,9 +2379,6 @@
[Window interface: operation reportError(any)]
expected: FAIL
[Window interface: operation structuredClone(any, optional StructuredSerializeOptions)]
expected: FAIL
[Window interface: window must inherit property "clientInformation" with the proper type]
expected: FAIL
@ -2397,12 +2394,6 @@
[Window interface: calling reportError(any) on window with too few arguments must throw TypeError]
expected: FAIL
[Window interface: window must inherit property "structuredClone(any, optional StructuredSerializeOptions)" with the proper type]
expected: FAIL
[Window interface: calling structuredClone(any, optional StructuredSerializeOptions) on window with too few arguments must throw TypeError]
expected: FAIL
[Document interface: attribute onvisibilitychange]
expected: FAIL

View file

@ -548,21 +548,12 @@
[WorkerGlobalScope interface: operation reportError(any)]
expected: FAIL
[WorkerGlobalScope interface: operation structuredClone(any, optional StructuredSerializeOptions)]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "reportError(any)" with the proper type]
expected: FAIL
[WorkerGlobalScope interface: calling reportError(any) on self with too few arguments must throw TypeError]
expected: FAIL
[WorkerGlobalScope interface: self must inherit property "structuredClone(any, optional StructuredSerializeOptions)" with the proper type]
expected: FAIL
[WorkerGlobalScope interface: calling structuredClone(any, optional StructuredSerializeOptions) on self with too few arguments must throw TypeError]
expected: FAIL
[Path2D interface: operation roundRect(unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>))]
expected: FAIL