Additional upstream work for visionOS.
<rdar://problem/111134123>
Pull request: https://github.com/WebKit/WebKit/pull/15172
Committed 265387@main (81ff6b220541): <https://commits.webkit.org/265387@main> Reviewed commits have been landed. Closing PR #15172 and removing active labels.