Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PageLoadMetrics: Adjust ForwardObserver callback behaviors
Previous CL introduced baseline mechanism to forward incoming events to the relevant observer in the parent tracker. But it still contains unwilling behaviors, e.g. page load timing events are expected happening once, but forwarding events from inner pages results in triggering them multiple times. This CL omits forwarding some specific events to avoid such unwilling behaviors. This CL outlines expectation for the most callbacks. Each callback's behavior will be confirmed on enabling existing users. Change-Id: I6400c2f65dec2dccfa71f8b578ce8e96293894f9 Bug: 1301880 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3577208 Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Reviewed-by: Yoav Weiss <yoavweiss@chromium.org> Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Cr-Commit-Position: refs/heads/main@{#992338}
- Loading branch information
Showing
1 changed file
with
45 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters