mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
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> |
||
---|---|---|
.. | ||
common-dom-interfaces/collections | ||
safe-passing-of-structured-data | ||
urls |