You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 67abaaa
Browse filesBrowse the repository at this point in the historyBrowse files
ThrowScopes should not be able to clear termination exceptions
https://bugs.webkit.org/show_bug.cgi?id=305496
rdar://168161400
Reviewed by Yusuke Suzuki.
Right now when folks call clearException on a ThrowScope they often end
up unintentionally clearing termination exceptions. This is a bit of a
footgun.
With this change it's now only possible to tryClearException, which
fails when there's a termination exception pending. Long term, the goal
is to have all "interior" code use ThrowScopes as they have to support
propagating termination exceptions. I fixed a few places in this patch
such as IteratorOperations and will fix the remaining ones when renaming
CatchScope in a follow up change.
No new tests, no behavior change.
Canonical link: https://commits.webkit.org/305675@main
0 commit comments