EventTiming: create at most one firstInput entry
This CL introduces a bool |first_input_detected_| to make sure that we do not create more than one PerformanceEventTiming entry of type 'firstInput'. Before, there could be many entries of this type dispatched to PerformanceObservers when the first input occurred after onload and |first_input_timing_| would never be set. Bug: 841224, 851484 Change-Id: I293d3de1ac052eaab9297d725ce0211f242aaf5a Reviewed-on: https://chromium-review.googlesource.com/1111914Reviewed-by:Timothy Dresser <tdresser@chromium.org> Reviewed-by:
Dave Tapuska <dtapuska@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#569727}
Showing
Please register or sign in to comment