SuspendExceptionScope was meant to do exactly the same things that VM::DeferExceptionScope does, except that SuspendExceptionScope hasn't been updated to handle exception handling via VMtraps bits. This patch will fix SuspendExceptionScope to work like VM::DeferExceptionScope, and remove the now redundant VM::DeferExceptionScope. SuspendExceptionScope is the better name here because the scope actually suspends any pending exception. This is different from other Defer scopes where we prevent some new event from arising and defer the event to a later time.
<rdar://problem/89769627>
Created attachment 453775 [details] proposed patch.
Created attachment 453777 [details] proposed patch.
Created attachment 453778 [details] proposed patch.
Comment on attachment 453778 [details] proposed patch. r=me
Comment on attachment 453778 [details] proposed patch. Thanks for the review. Landing now.
Committed r290869 (248100@main): <https://commits.webkit.org/248100@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453778 [details].