fix assert
<rdar://problem/128789974>
Pull request: https://github.com/WebKit/WebKit/pull/29148
Committed 279351@main (935af36335b8): <https://commits.webkit.org/279351@main> Reviewed commits have been landed. Closing PR #29148 and removing active labels.