servo/tests/wpt/meta/html/infrastructure
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
..
common-dom-interfaces/collections Fix IndexedDB WPT coverage (#37607) 2025-06-24 03:47:45 +00:00
safe-passing-of-structured-data script: Propagate a pending JS exception on structured cloning (#37964) 2025-07-09 14:47:55 +00:00
urls Sync WPT with upstream (15-06-2025) (#37468) 2025-06-15 04:21:56 +00:00