We previously call it the TerminatedExecutionException, which is a mouthful but adds no meaningful information. We can make it a singleton because the TerminationException is just a VM internal mechanism for implementing the termination of the current execution stack. It should never be exposed to user JS code, and therefore, there is no value in making it a JS object. Making it a singleton simplifies the code.
Created attachment 425424 [details] proposed patch.
Created attachment 425429 [details] proposed patch.
Comment on attachment 425429 [details] proposed patch. r=me the iOS-wk2 failures seem unrelated but maybe worth waiting for confirmation.
Comment on attachment 425429 [details] proposed patch. Thanks for the review. Landing now.
Committed r275648: <https://commits.webkit.org/r275648> All reviewed patches have been landed. Closing bug and clearing flags on attachment 425429 [details].
<rdar://problem/76373832>