Add metrics to record preventDefaulted event handler for touch starts while there is an active fling animation. |
|||||
Issue descriptionalexclarke@ proposed that we treat all touchstart event listeners as passive while there’s an active fling animation. To measure the breakage caused by this, we are adding an UMA metric measuring how often blocking touchstart listeners during fling call preventDefault(). We will also measure its benefit by recording the time between when touch starts handled by blocking listeners which will be treated as passive are dispatched to the renderer and when they’re acked. Details are in the doc: https://docs.google.com/document/d/10O_wMEpKgnhCfEQ8L3JckEKvkcclwEwCLtL0nSl7usA/
,
May 18 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6656a45aef6475f32b020285251f4782d8eaeb31 commit 6656a45aef6475f32b020285251f4782d8eaeb31 Author: lanwei <lanwei@chromium.org> Date: Wed May 18 21:55:07 2016 Add UMA metric to track the time saved on making events passive during fling. In the touch scrolling intervention proposal, we could treat all touchstart event listeners as passive while there’s an active fling animation. We are adding a metric that records the time we saved on making touchstarts passive during fling. This patch depends on issue 1923973002. BUG= 607245 Review-Url: https://codereview.chromium.org/1955643002 Cr-Commit-Position: refs/heads/master@{#394560} [modify] https://crrev.com/6656a45aef6475f32b020285251f4782d8eaeb31/content/renderer/input/render_widget_input_handler.cc [modify] https://crrev.com/6656a45aef6475f32b020285251f4782d8eaeb31/content/renderer/render_widget_unittest.cc [modify] https://crrev.com/6656a45aef6475f32b020285251f4782d8eaeb31/tools/metrics/histograms/histograms.xml
,
May 20 2016
,
Jun 7 2016
,
Jun 7 2016
We should also record the blocking first touch move listeners after each touch start during fling, which are called preventDefault().
,
Jun 8 2016
Down prioritizing this fix.
,
Oct 11 2016
|
|||||
►
Sign in to add a comment |
|||||
Comment 1 by bugdroid1@chromium.org
, May 17 2016