There's no need to return an Exception*. The canonical way to get the Exception* is from a ThrowScope. This non-canonical idiom of returning an Exception* here can result in bugs e.g. https://bugs.webkit.org/show_bug.cgi?id=215357.
Created attachment 406362 [details] proposed patch.
Comment on attachment 406362 [details] proposed patch. Submitted patch to wrong bug. Sorry.
<rdar://problem/67298086>