servo/tests/wpt/meta/html/webappapis/structured-clone/structured-clone.any.js.ini
Andrei Volykhin 26f4da8249
script: Propagate a pending JS exception on structured cloning (#37964)
During the object (de)serialization steps on structured cloning
https://html.spec.whatwg.org/multipage/#safe-passing-of-structured-data
it is possible to throw a JS exception.

`self.postMessage({ get whatever() { throw customError } }));`

Require to propagate a pending JS exception and not throw the default
"DataCloneError" DOM exception.

Testing: Improvements in the following tests
- html/infrastructure/safe-passing-of-structured-data/*
- html/webappapis/structured-clone/structured-clone.any.js*
- wasm/serialization/arraybuffer/transfer.window.js
- webmessaging/without-ports/026.html
- workers/semantics/structured-clone/dedicated.html

Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>
2025-07-09 14:47:55 +00:00

47 lines
1 KiB
INI
Vendored

[structured-clone.any.worker.html]
[File basic]
expected: FAIL
[A subclass instance will deserialize as its closest serializable superclass]
expected: FAIL
[Growable SharedArrayBuffer]
expected: FAIL
[structured-clone.any.html]
[File basic]
expected: FAIL
[FileList empty]
expected: FAIL
[Array FileList object, FileList empty]
expected: FAIL
[Object FileList object, FileList empty]
expected: FAIL
[ImageData 1x1 transparent black]
expected: FAIL
[ImageData 1x1 non-transparent non-black]
expected: FAIL
[Array ImageData object, ImageData 1x1 transparent black]
expected: FAIL
[Array ImageData object, ImageData 1x1 non-transparent non-black]
expected: FAIL
[Object ImageData object, ImageData 1x1 transparent black]
expected: FAIL
[Object ImageData object, ImageData 1x1 non-transparent non-black]
expected: FAIL
[A subclass instance will deserialize as its closest serializable superclass]
expected: FAIL
[Growable SharedArrayBuffer]
expected: FAIL