mirror of
https://github.com/servo/servo
synced 2026-05-14 10:56:44 +02:00
For the longest time we've had a `dispatch_event` boolean flag in our error reporting code that determines whether or not to fire an `error` event. It was only set to `false` in the event handler code due to a double borrow that would occur otherwise. It seems that this is no longer a problem, so we can remove the flag and correctly fire the event in that case too. Testing: A new test starts to pass and `html/webappapis/scripting/processing-model-2/runtime-error-in-body-onerror.html` does not crash Fixes: https://github.com/servo/servo/issues/13152 --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
81 KiB
81 KiB