Generators always have a "throw" method.
<rdar://problem/116777453>
Pull request: https://github.com/WebKit/WebKit/pull/18922
Committed 269189@main (0e85ec0665a3): <https://commits.webkit.org/269189@main> Reviewed commits have been landed. Closing PR #18922 and removing active labels.