There's some simplification that can be done.
Pull request: https://github.com/WebKit/WebKit/pull/1333
Committed r295310 (251348@main): <https://commits.webkit.org/251348@main> Reviewed commits have been landed. Closing PR #1333 and removing active labels.