DCHECK after Mac overscroll navigation with scroll-latching and OOPIFs |
||
Issue descriptionCreating this bug from crbug.com/766173#c3 What steps will reproduce the problem? (1) Ensure scroll-latching is enabled (TouchpadAndWheelScrollLatching feature) and run chrome with --site-per-process (2) Visit a page with an OOPIF e.g. http://csreis.github.io/tests/cross-site-iframe-simple.html (3) With the mouse cursor inside the OOPIF, scroll to navigate back (4) Once we've navigated back to the previous page, try to scroll with the trackpad DCHECK(!is_in_gesture_scroll_[gesture_event.source_device]); https://cs.chromium.org/chromium/src/content/browser/renderer_host/render_widget_host_impl.cc?rcl=1ac5b7741ff7b1b9bd8d1d4a91770e1ee1b5b893&l=1193 where the GSB comes from MouseWheelEventQueue::SendScrollBegin. Presumably, the root RWH is in a gesture scroll when the child is destroyed and the child doesn't generate the necessary GSE to bubble to the root, so the root still thinks it's in a gesture scroll after the navigation.
,
Oct 6 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Oct 6 2017