Even if wheel events go to the scrolling thread, they may also get dispatched to the web process, and in this case we have to avoid starting the handling of another event in the UI process until that handling is complete.
<rdar://problem/107032016>
Pull request: https://github.com/WebKit/WebKit/pull/11788
Committed 262015@main (43c540f60166): <https://commits.webkit.org/262015@main> Reviewed commits have been landed. Closing PR #11788 and removing active labels.