Fix scrollbar targeting for missing LayoutBox
It is possible for the scrollable area that is targeted for a scrollbar scroll to have a layout box, but the parent hosting iframe does not. In these cases we should just return a null target since we should not attempt to scroll something that will not be visible. This is really hard to repro outside of using eventSender, since getting code to run between the queuing of a GSB targeted at a scrollable area and the GSB executing happens as the stack unwinds, but fixing this will fix the clusterfuzz test case. R=bokan@chromium.org Bug: 1140886 Change-Id: I65675ac565bb5d860d2b1fd7209a58ff835d27bd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2511860 Commit-Queue: Daniel Libby <dlibby@microsoft.com> Reviewed-by:Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#823415}
Showing
Please register or sign in to comment