Files
servo/components/script/script_runtime.rs
Simon Wülker 4409f81720 script: Log unhandled promise rejections to the console (#43323)
I've also refactored the relevant function a bit, because it was
unnecessarily nested and inside a huge `unsafe` block.

Testing: Regressions are covered by existing tests, but we can't test
for the presence of `log::error!` statements
Fixes (the most relevant) part of
https://github.com/servo/servo/issues/26667

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2026-03-17 08:02:49 +00:00

59 KiB