[webium] Isolate UKM metrics logging for initial WebUIs [chromium/src : main]

0 views
Skip to first unread message

Ming-Ying Chung (Gerrit)

unread,
Jun 2, 2026, 7:51:55 AM (9 days ago) Jun 2
to Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Annie Sullivan, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
Attention needed from Annie Sullivan, Johannes Henkel, Rakina Zata Amni and Shunya Shishido

Ming-Ying Chung added 4 comments

Patchset-level comments
File-level comment, Patchset 17:
Johannes Henkel . resolved

Hello,

Based on crbug.com/490810407, I’m thinking the original objective was to record UKMs for initial webui URLs, which are always chrome:// URLs. This was achieved by enabling the UkmPageLoadMetricsObserver for these URLs, with the unfortunate side effect of diluting several important UMA histograms, including CLS - see crbug.com/502471507.

So I think the basic question is, which UKMs are actually required for the webui performance work?

And, is it possible to make a list of these, and record them separately (e.g. in InitialWebUIPageLoadMetricsObserver) to a new UKM event?

The resulting code and tests should be much easier to understand and maintain.

Please let me know what you think.

Ming-Ying Chung

PTAL.

So I think the basic question is, which UKMs are actually required for the webui performance work?

I have made [this doc](https://docs.google.com/document/d/1ob71IMc-4TkEvAF3RBgziOmkS2CXn5RSHP5xdrD9f-I/edit?resourcekey=0-LXd9Ij064NcCaYkqbjaV2Q&tab=t.wpav6wc8d5wy) that lists all the existing metrics from `UkmPageLoadMetricsObserver` and discuss which ones we need for Initial WebUI.

And, is it possible to make a list of these, and record them separately (e.g. in InitialWebUIPageLoadMetricsObserver) to a new UKM event?

It's possible, but depending on how many metrics we log, there might be significant code duplication.

Johannes Henkel

Thanks so much for making the doc - the detailed table looks great!

I think I'm noticing, there are metrics in ukm_page_load_metrics_observer_base.cc in this change (e.g. PageLoad.Net_HttpRttEstimate_OnNavigationStart) which are marked as 'skip' in your doc. This may be a good thing, right?

I think you're right about the code duplication, and there may be runtime cost and also, some maintenance cost when multiple locations need to be updated.

However, separation has its benefits as well, both for analyses (e.g. one can assume that PageLoad UKM events don't cover chrome:// URLs, like most existing colabs do) but also for maintenance, when making changes to either WebUI related metrics or traditional PageLoad metrics with the confidence that they won't interfere with each other. For instance, if I wanted to quickly log a metric to a UMA histogram that's in the superclass in your change (ukm_page_load_metrics_observer_base.cc), it may end up including the WebUI measurements accidentally. And vice versa, having your independent logging may allow you to move more quickly, in some cases.

What do you think?
Also, what are other people's opinions on this?

Shunya Shishido

I also feel the current direction still has a risk to mix and pollute existing metrics. IMHO the priority is not to pollute the metrics rather than reducing the code duplication.

Ming-Ying Chung

Repurposed again. Now no impact to existing non-initial webui ukm logging.

File chrome/browser/page_load_metrics/observers/core/ukm_page_load_metrics_observer_browsertest.cc
File-level comment, Patchset 17:
Johannes Henkel . resolved

Do the updates to this file work without the other part of your change by any chance? Looks sweet!

Ming-Ying Chung

reverted

Line 35, Patchset 17:
MATCHER_P2(HasMetric, ukm_recorder, metric_name, "") {
if (!ukm_recorder->GetEntryMetric(arg, metric_name)) {
*result_listener << "where metric '" << metric_name << "' is missing";
return false;
}
return true;
}

MATCHER_P2(LacksMetric, ukm_recorder, metric_name, "") {
if (ukm_recorder->GetEntryMetric(arg, metric_name)) {
*result_listener << "where metric '" << metric_name
<< "' is unexpectedly present";
return false;
}
return true;
}
Johannes Henkel . resolved

I made something similar in spirit a while ago:
https://source.chromium.org/chromium/chromium/src/+/main:components/ukm/gmock_matchers.h
https://source.chromium.org/chromium/chromium/src/+/main:components/ukm/gmock_matchers_unittest.cc

It turns out it works with gmock's negation matchers Not(HasMetric(...

Ming-Ying Chung

Reverted

Open in Gerrit

Related details

Attention is currently required from:
  • Annie Sullivan
  • Johannes Henkel
  • Rakina Zata Amni
  • Shunya Shishido
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
Gerrit-Change-Number: 7763259
Gerrit-PatchSet: 19
Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Reviewer: Shunya Shishido <sisid...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
Gerrit-CC: Johannes Henkel <joha...@chromium.org>
Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
Gerrit-Attention: Annie Sullivan <sull...@chromium.org>
Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Jun 2026 11:51:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Johannes Henkel <joha...@chromium.org>
Comment-In-Reply-To: Shunya Shishido <sisid...@chromium.org>
Comment-In-Reply-To: Ming-Ying Chung <my...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Annie Sullivan (Gerrit)

unread,
Jun 2, 2026, 9:48:19 AM (9 days ago) Jun 2
to Ming-Ying Chung, Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
Attention needed from Johannes Henkel, Ming-Ying Chung, Rakina Zata Amni and Shunya Shishido

Annie Sullivan added 1 comment

Patchset-level comments
File-level comment, Patchset 19 (Latest):
Annie Sullivan . resolved

Thanks so much for making these changes! I'm happy with the new approach, but about to travel for a few days so delegating detailed OWNERS review to Johannes.

Open in Gerrit

Related details

Attention is currently required from:
  • Johannes Henkel
  • Ming-Ying Chung
Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Jun 2026 13:48:10 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Johannes Henkel (Gerrit)

unread,
Jun 2, 2026, 2:59:28 PM (9 days ago) Jun 2
to Ming-Ying Chung, Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Code Review Nudger, Annie Sullivan, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
Attention needed from Ming-Ying Chung, Rakina Zata Amni and Shunya Shishido

Johannes Henkel added 1 comment

Patchset-level comments
Johannes Henkel . resolved

+1, thanks a lot for these updates! I like the structural changes a lot, so we may not have to worry about webui in the ukm_page_load_metrics_observer.cc any more; below two more points that would hopefully make us independent from another. :-)

---

In ukm_page_load_metrics_observer.cc (not yet in this changelist), I think it's still logging metrics that this change is now starting to log in initial_webui_page_load_metrics_observer.cc. Is that right? Do you want to remove this stanza from the ukm_page_load_metrics_observer.cc, in this change, so we don't double log things?

```
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
UkmPageLoadMetricsObserver::ShouldObserveScheme(const GURL& url) const {
#if !BUILDFLAG(IS_ANDROID)
if (waap::IsForInitialWebUI(url)) {
return CONTINUE_OBSERVING;
}
#endif
return page_load_metrics::PageLoadMetricsObserver::ShouldObserveScheme(url);
}
```

----

I think what I'm seeing in this change is that initial_webui_page_load_metrics_observer.cc is now logging to the PageLoad event.

That is, InitialWebUIPageLoadMetricsObserver::RecordPageLoadMetrics logs to ukm::builders::PageLoad.

Can you make a new event for this purpose please? As in, in ukm.xml, copy the PageLoad event so there is a webui specific event (Maybe InitialWebUiPageLoad or something like that), and it has the metrics that this changelist is logging?

I realize this would require an UKM collection review, but this should be quite easy because the metrics aren't new, they have been previously approved so you're just re-introducing them under a new name / new event. I had a similar situation recently, in which I added a bunch of metrics that were already logged to a new event and it was in fact a quick / easy review. If you'd like a pointer let me know.

Please let me know what you think!

Open in Gerrit

Related details

Attention is currently required from:
  • Ming-Ying Chung
  • Rakina Zata Amni
  • Shunya Shishido
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
Gerrit-Change-Number: 7763259
Gerrit-PatchSet: 19
Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Reviewer: Shunya Shishido <sisid...@chromium.org>
Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
Gerrit-CC: Johannes Henkel <joha...@chromium.org>
Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Comment-Date: Tue, 02 Jun 2026 18:59:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ming-Ying Chung (Gerrit)

unread,
Jun 2, 2026, 9:07:37 PM (8 days ago) Jun 2
to Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Annie Sullivan, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
Attention needed from Johannes Henkel, Rakina Zata Amni and Shunya Shishido

Ming-Ying Chung voted and added 2 comments

Votes added by Ming-Ying Chung

Commit-Queue+1

2 comments

Patchset-level comments
File-level comment, Patchset 19:
Ming-Ying Chung . resolved

PTAL

Johannes Henkel . resolved

+1, thanks a lot for these updates! I like the structural changes a lot, so we may not have to worry about webui in the ukm_page_load_metrics_observer.cc any more; below two more points that would hopefully make us independent from another. :-)

---

In ukm_page_load_metrics_observer.cc (not yet in this changelist), I think it's still logging metrics that this change is now starting to log in initial_webui_page_load_metrics_observer.cc. Is that right? Do you want to remove this stanza from the ukm_page_load_metrics_observer.cc, in this change, so we don't double log things?

```
page_load_metrics::PageLoadMetricsObserver::ObservePolicy
UkmPageLoadMetricsObserver::ShouldObserveScheme(const GURL& url) const {
#if !BUILDFLAG(IS_ANDROID)
if (waap::IsForInitialWebUI(url)) {
return CONTINUE_OBSERVING;
}
#endif
return page_load_metrics::PageLoadMetricsObserver::ShouldObserveScheme(url);
}
```

----

I think what I'm seeing in this change is that initial_webui_page_load_metrics_observer.cc is now logging to the PageLoad event.

That is, InitialWebUIPageLoadMetricsObserver::RecordPageLoadMetrics logs to ukm::builders::PageLoad.

Can you make a new event for this purpose please? As in, in ukm.xml, copy the PageLoad event so there is a webui specific event (Maybe InitialWebUiPageLoad or something like that), and it has the metrics that this changelist is logging?

I realize this would require an UKM collection review, but this should be quite easy because the metrics aren't new, they have been previously approved so you're just re-introducing them under a new name / new event. I had a similar situation recently, in which I added a bunch of metrics that were already logged to a new event and it was in fact a quick / easy review. If you'd like a pointer let me know.

Please let me know what you think!

Ming-Ying Chung

Do you want to remove this stanza from the ukm_page_load_metrics_observer.cc, in this change, so we don't double log things?

Done.


> I think what I'm seeing in this change is that initial_webui_page_load_metrics_observer.cc is now logging to the PageLoad event.

Can you make a new event for this purpose please?

I have been thinking about these (and list potential new event names [in the doc](https://docs.google.com/document/d/1ob71IMc-4TkEvAF3RBgziOmkS2CXn5RSHP5xdrD9f-I/edit?resourcekey=0-LXd9Ij064NcCaYkqbjaV2Q&tab=t.wpav6wc8d5wy#heading=h.2lqx9cxe6uz). However, I am still not quite convinced to use new event names for initial webui:

  • These are UKM and they are already sliced by URL.
  • We are logging more than a single event, including PageLoad event and NavigationTiming, plus there are other UKM metrics not logged here, i.e. NavigationTimeline, are also logging initial webui UKM and we will also need them.

Given the above reasons, I didn't introduce new UKM events for them.

Open in Gerrit

Related details

Attention is currently required from:
  • Johannes Henkel
Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Comment-Date: Wed, 03 Jun 2026 01:07:08 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Comment-In-Reply-To: Johannes Henkel <joha...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Annie Sullivan (Gerrit)

unread,
Jun 2, 2026, 10:29:02 PM (8 days ago) Jun 2
to Ming-Ying Chung, Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
Attention needed from Johannes Henkel, Ming-Ying Chung, Rakina Zata Amni and Shunya Shishido

Annie Sullivan added 1 comment

Patchset-level comments
File-level comment, Patchset 19:
Johannes Henkel . unresolved
Annie Sullivan

I'm sorry I missed this when I took a look this morning. It's very, very important not to make this change to the PageLoad event.

First, the PageLoad event is unsampled, and if I understand correctly this would create a very large amount of additional logs to it.

Second, over the years, there have been thousands of queries written and dozens of dashboards on the PageLoad event, and no doubt many of them assume that they're measuring web pages and not chrome:// URIs. I think it would be extremely difficult and time consuming to do a full audit, especially since many are likely peoples' personal scripts that wouldn't show up in searches.

Third, we do use the convention of logging a different UKM event for different types of page loads--HistoryNavigation, SoftNavigation, AmpPageLoad, PrerenderPageLoad. I think this is a similar case that should also have a separate event.

If you're really certain that UKM is the right direction for this patch, please use a new event. But also keep in mind that UMA is much easier to work with; it's automatically on dashboards for timelines and experiments with no custom queries required, and it doesn't need to be sampled.

Open in Gerrit

Related details

Attention is currently required from:
  • Johannes Henkel
  • Ming-Ying Chung
  • Rakina Zata Amni
  • Shunya Shishido
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
      Gerrit-Change-Number: 7763259
      Gerrit-PatchSet: 20
      Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
      Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Reviewer: Shunya Shishido <sisid...@chromium.org>
      Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
      Gerrit-CC: Johannes Henkel <joha...@chromium.org>
      Gerrit-CC: Olivier Li <oliv...@chromium.org>
      Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
      Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
      Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Jun 2026 02:28:49 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Johannes Henkel <joha...@chromium.org>
      Comment-In-Reply-To: Ming-Ying Chung <my...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Ming-Ying Chung (Gerrit)

      unread,
      Jun 2, 2026, 10:39:04 PM (8 days ago) Jun 2
      to Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Annie Sullivan, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
      Attention needed from Annie Sullivan, Johannes Henkel, Rakina Zata Amni and Shunya Shishido

      Ming-Ying Chung added 1 comment

      Patchset-level comments
      Ming-Ying Chung

      ok that makes sense to me now.

      Third, we do use the convention of logging a different UKM event for different types of page loads--HistoryNavigation, SoftNavigation, AmpPageLoad, PrerenderPageLoad. I think this is a similar case that should also have a separate event.

      Are you also suggesting to not only introduce different UKM event for PageLoad, but also for other events like NavigationTiming and NavigationTimeline?

      If you're really certain that UKM is the right direction for this patch, please use a new event. But also keep in mind that UMA is much easier to work with;

      We already have UMAs. UKM will help use connect metrics within a single same session which is exactly what we need.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Annie Sullivan
      • Johannes Henkel
      Gerrit-Attention: Annie Sullivan <sull...@chromium.org>
      Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
      Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Jun 2026 02:38:39 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Johannes Henkel <joha...@chromium.org>
      Comment-In-Reply-To: Annie Sullivan <sull...@chromium.org>
      Comment-In-Reply-To: Ming-Ying Chung <my...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Ming-Ying Chung (Gerrit)

      unread,
      Jun 3, 2026, 1:47:59 AM (8 days ago) Jun 3
      to Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Annie Sullivan, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
      Attention needed from Annie Sullivan, Johannes Henkel, Rakina Zata Amni and Shunya Shishido

      Ming-Ying Chung added 2 comments

      Patchset-level comments
      Ming-Ying Chung

      I had a similar situation recently, in which I added a bunch of metrics that were already logged to a new event and it was in fact a quick / easy review. If you'd like a pointer let me know.

      I've filed UKM review at b/519396593. Please let me know if any way to speed it up. Thanks

      File-level comment, Patchset 22 (Latest):
      Ming-Ying Chung . resolved

      Updated to log initial webui UKM metrics under `InitialWebUIPageLoad` and `InitialWebUINavigationTiming` instead of `PageLoad` and `NavigationTiming`. PTAL

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Annie Sullivan
      • Johannes Henkel
      • Rakina Zata Amni
      • Shunya Shishido
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
      Gerrit-Change-Number: 7763259
      Gerrit-PatchSet: 22
      Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
      Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Reviewer: Shunya Shishido <sisid...@chromium.org>
      Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
      Gerrit-CC: Johannes Henkel <joha...@chromium.org>
      Gerrit-CC: Mingyu Lei <le...@chromium.org>
      Gerrit-CC: Olivier Li <oliv...@chromium.org>
      Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
      Gerrit-Attention: Annie Sullivan <sull...@chromium.org>
      Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
      Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Jun 2026 05:47:28 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Annie Sullivan (Gerrit)

      unread,
      Jun 3, 2026, 9:03:49 AM (8 days ago) Jun 3
      to Ming-Ying Chung, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
      Attention needed from Johannes Henkel, Ming-Ying Chung, Rakina Zata Amni and Shunya Shishido

      Annie Sullivan added 1 comment

      Patchset-level comments
      Annie Sullivan

      Great! You could ask the owners of the `NavigationTimeline` events about whether they'd want this data, but I think having everything in your own event is the best thing to do. It makes the sampling consistent.


      Also, for connecting metrics in the same session, note that Chrometto might also be very useful here!

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Johannes Henkel
      • Ming-Ying Chung
      • Rakina Zata Amni
      • Shunya Shishido
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
      Gerrit-Change-Number: 7763259
      Gerrit-PatchSet: 24
      Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
      Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Reviewer: Shunya Shishido <sisid...@chromium.org>
      Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
      Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
      Gerrit-CC: Johannes Henkel <joha...@chromium.org>
      Gerrit-CC: Mingyu Lei <le...@chromium.org>
      Gerrit-CC: Olivier Li <oliv...@chromium.org>
      Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
      Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
      Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Jun 2026 13:03:37 +0000
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Kamila Hasanbega (Gerrit)

      unread,
      Jun 3, 2026, 10:05:10 AM (8 days ago) Jun 3
      to Ming-Ying Chung, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Johannes Henkel, Code Review Nudger, Annie Sullivan, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
      Attention needed from Johannes Henkel, Ming-Ying Chung, Rakina Zata Amni and Shunya Shishido

      Kamila Hasanbega added 1 comment

      File tools/metrics/ukm/ukm.xml
      Line 11169, Patchset 18: <metric name="PageTiming.ForegroundDuration">
      Kamila Hasanbega . unresolved

      (Passing by privacy ukm reviewer) The summary should give more information on what is being collected, at what granularity, when. Since most/all of the metrics here are dublicate metric then you could write a similar or same description as the original metric. For example here: https://source.chromium.org/chromium/chromium/src/+/main:tools/metrics/ukm/ukm.xml;l=17304?q=PageTiming.ForegroundDuration%20-f:out&ss=chromium#:~:text=17303-,17304,-17305

      Gerrit-CC: Kamila Hasanbega <hka...@google.com>
      Gerrit-CC: Mingyu Lei <le...@chromium.org>
      Gerrit-CC: Olivier Li <oliv...@chromium.org>
      Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
      Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
      Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
      Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Comment-Date: Wed, 03 Jun 2026 14:04:54 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Ming-Ying Chung (Gerrit)

      unread,
      Jun 5, 2026, 3:54:34 AM (6 days ago) Jun 5
      to Johannes Henkel, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Code Review Nudger, Eriko Kurimoto, Shunya Shishido, Rakina Zata Amni, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
      Attention needed from Johannes Henkel, Kamila Hasanbega, Rakina Zata Amni and Shunya Shishido

      Ming-Ying Chung added 1 comment

      File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer.cc
      Line 324, Patchset 28: .InMilliseconds())
      Rakina Zata Amni . resolved

      We need `navigation_commit_sent_time` too, to see if browser -> renderer commit ipc takes a long time. Also you might need to update your UKM collection review doc?

      Ming-Ying Chung

      Done. added them back.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Johannes Henkel
      • Kamila Hasanbega
      • Rakina Zata Amni
      • Shunya Shishido
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          • requirement is not satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
          Gerrit-Change-Number: 7763259
          Gerrit-PatchSet: 29
          Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
          Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
          Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
          Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
          Gerrit-Reviewer: Shunya Shishido <sisid...@chromium.org>
          Gerrit-CC: Annie Sullivan <sull...@chromium.org>
          Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
          Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
          Gerrit-CC: Kamila Hasanbega <hka...@google.com>
          Gerrit-CC: Mingyu Lei <le...@chromium.org>
          Gerrit-CC: Olivier Li <oliv...@chromium.org>
          Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
          Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
          Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
          Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
          Gerrit-Comment-Date: Fri, 05 Jun 2026 07:54:12 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Rakina Zata Amni <rak...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Rakina Zata Amni (Gerrit)

          unread,
          Jun 5, 2026, 5:18:55 AM (6 days ago) Jun 5
          to Ming-Ying Chung, Johannes Henkel, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Chromium Metrics Reviews, Code Review Nudger, Eriko Kurimoto, Shunya Shishido, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
          Attention needed from Johannes Henkel, Kamila Hasanbega, Ming-Ying Chung and Shunya Shishido

          Rakina Zata Amni voted Code-Review+1

          Code-Review+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Johannes Henkel
          • Kamila Hasanbega
          • Ming-Ying Chung
          • Shunya Shishido
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement satisfiedReview-Enforcement
            Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
            Gerrit-Comment-Date: Fri, 05 Jun 2026 09:18:25 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            gwsq (Gerrit)

            unread,
            Jun 5, 2026, 5:25:49 AM (6 days ago) Jun 5
            to Ming-Ying Chung, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Johannes Henkel, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
            Attention needed from Johannes Henkel, Kamila Hasanbega, Shunya Shishido and Sun Yueru

            Message from gwsq

            Reviewer source(s):
            yr...@chromium.org is from context(analysis/uma/chrome-metrics.gwsq)

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Johannes Henkel
            • Kamila Hasanbega
            • Shunya Shishido
            • Sun Yueru
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement is not satisfiedCode-Owners
            • requirement satisfiedCode-Review
            • requirement satisfiedReview-Enforcement
            Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
            Gerrit-MessageType: comment
            Gerrit-Project: chromium/src
            Gerrit-Branch: main
            Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
            Gerrit-Change-Number: 7763259
            Gerrit-PatchSet: 29
            Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
            Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
            Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
            Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
            Gerrit-Reviewer: Sun Yueru <yr...@chromium.org>
            Gerrit-CC: Annie Sullivan <sull...@chromium.org>
            Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
            Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
            Gerrit-CC: Kamila Hasanbega <hka...@google.com>
            Gerrit-CC: Mingyu Lei <le...@chromium.org>
            Gerrit-CC: Olivier Li <oliv...@chromium.org>
            Gerrit-CC: Shunya Shishido <sisid...@chromium.org>
            Gerrit-CC: gwsq
            Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
            Gerrit-Attention: Sun Yueru <yr...@chromium.org>
            Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
            Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
            Gerrit-Comment-Date: Fri, 05 Jun 2026 09:24:44 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            gwsq (Gerrit)

            unread,
            Jun 8, 2026, 12:43:36 AM (3 days ago) Jun 8
            to Ming-Ying Chung, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Johannes Henkel, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
            Gerrit-Comment-Date: Mon, 08 Jun 2026 04:43:07 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Johannes Henkel (Gerrit)

            unread,
            Jun 8, 2026, 5:13:29 AM (3 days ago) Jun 8
            to Ming-Ying Chung, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
            Attention needed from Kamila Hasanbega, Ming-Ying Chung, Shunya Shishido and Sun Yueru

            Johannes Henkel voted and added 15 comments

            Votes added by Johannes Henkel

            Code-Review+1

            15 comments

            Patchset-level comments
            File-level comment, Patchset 29 (Latest):
            Johannes Henkel . resolved

            Thanks a lot for the cleanups / removing unused things! I read through this once more, this time also the test and it looks nice.
            My guess is the first two of my comments, what you have is probably intentional, so it's just a double check.
            On the tests ... I think you can take advantage of the fact that you're introducing two new events, and that the initial_webui_page_load_metrics_observer.cc *never* records to the PageLoad or NavigationTiming events. So there's no need to make assertions about the other observer any more, or absence of CWV or similar.

            File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer.h
            Line 28, Patchset 29 (Latest):class InitialWebUINavigationTiming;
            Johannes Henkel . unresolved

            looks unused, maybe remove?

            File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer.cc
            Line 255, Patchset 29 (Latest):InitialWebUIPageLoadMetricsObserver::OnHidden(
            Johannes Henkel . unresolved

            In UkmPageLoadMetricsObserver::OnHidden, sometimes recording of navigation & pageload metrics is triggered. But in this implementation, it's never triggered. Is this an intentional difference?

            https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/page_load_metrics/observers/core/ukm_page_load_metrics_observer.cc;l=443?q=UkmPageLoadMEtricsObserver::OnHidden&sq=

            Line 461, Patchset 29 (Latest):void InitialWebUIPageLoadMetricsObserver::RecordAbortMetrics(
            Johannes Henkel . unresolved

            This does less than UkmPageLoadMetricsObserver::RecordAbortMetrics, specifically it's not recording PageVisitFinalStatus. Probably intentional?

            If so, perhaps you could inline the body of this function into its only call-site for readability?

            File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer_browsertest.cc
            Line 63, Patchset 29 (Latest): return recorder->EntryHasMetric(arg, metric_name);
            Johannes Henkel . unresolved

            EntryHasMetric is a static method, so I think it's possible to write

            TestUkmRecorder::EntryHasMetric(arg, metric_name);

            Which means, the |recorder| argument to this custom matcher aren't needed, and all usages of the matcher in this file can be simplified.

            The same is true for the matcher just below here, HasUkmMetricValue.

            I wonder if these matchers are equivalent to the ones in components/ukm/gmock_matchers.h after you remove the |recorder| argument?

            Line 274, Patchset 29 (Latest):// UkmPageLoadMetricsObserver is NOT registered.
            Johannes Henkel . unresolved

            No need to worry about that any more?

            Line 283, Patchset 29 (Latest): EXPECT_THAT(page_load_entries,
            Each(Not(HasUkmMetric(
            ukm_recorder_.get(),
            "PaintTiming.NavigationToLargestContentfulPaint2"))));
            Johannes Henkel . unresolved

            This part of the test isn't saying much, maybe remove.

            Line 295, Patchset 29 (Latest): EXPECT_THAT(entries,
            Contains(HasUkmMetric(ukm_recorder_.get(),
            "PaintTiming.NavigationToFirstPaint")));
            EXPECT_THAT(entries, Contains(HasUkmMetric(
            ukm_recorder_.get(),
            "PaintTiming.NavigationToFirstContentfulPaint")));
            }

            // Verify PageLoad event is recorded with valid Document Timing.
            IN_PROC_BROWSER_TEST_F(InitialWebUIPageLoadMetricsObserverBrowserTest,
            VerifyDocumentTiming) {
            GURL url(chrome::kChromeUIWebUIToolbarURL);
            NavigateAndWaitForMetrics(url);
            EXPECT_THAT(
            GetEntriesForUrl("InitialWebUIPageLoad", url),
            Contains(AllOf(
            HasUkmMetric(ukm_recorder_.get(),
            "DocumentTiming.NavigationToDOMContentLoadedEventFired"),
            HasUkmMetric(ukm_recorder_.get(),
            "DocumentTiming.NavigationToLoadEventFired"))));
            }

            // Verify PageLoad event is recorded with valid Parse Timing.
            IN_PROC_BROWSER_TEST_F(InitialWebUIPageLoadMetricsObserverBrowserTest,
            VerifyParseTiming) {
            GURL url(chrome::kChromeUIWebUIToolbarURL);
            NavigateAndWaitForMetrics(url);
            EXPECT_THAT(GetEntriesForUrl("InitialWebUIPageLoad", url),
            Contains(HasUkmMetric(ukm_recorder_.get(),
            "ParseTiming.NavigationToParseStart")));
            Johannes Henkel . unresolved

            I think these three tests list the 5 metrics that l. 282 is asserting?

            Could this be just one test, maybe? It may be easier to read, if it says something like "we have 5 entries" and "the five entries are these 5"; it can still say in a comment that the first two are paint milestones, second two are document timing, then there's parse timing. Or similar.

            Line 364, Patchset 29 (Latest):// Verify PageLoad event does NOT contain any CWV metrics.
            Johannes Henkel . unresolved

            I think this test is now unnecessary.

            Line 390, Patchset 29 (Latest): EXPECT_THAT(GetEntriesForUrl("PageLoad", url), IsEmpty());
            Johannes Henkel . unresolved

            "InitialWebUIPageLoad"?

            Line 401, Patchset 29 (Latest): // If both standard and initial WebUI observers ran, we would have 2
            // NavigationTiming entries. If only standard ran, we have 1.
            EXPECT_THAT(GetEntriesForUrl("NavigationTiming", url), SizeIs(1));
            Johannes Henkel . unresolved

            It may be better to assert that no InitialWebUINavigationTiming gets produced.

            Asserting that some other observer produces entries, it makes the test brittle.

            Line 407, Patchset 29 (Latest): EXPECT_THAT(GetEntriesForUrl("PageLoad", url), SizeIs(8));
            Johannes Henkel . unresolved

            I think this one too, it may be best to assert that no InitialWebUIPageLoad metrics are recorded for these pages, and leave it at that. Asserting it's 8 metrics for the ukm page load metrics observer makes this test brittle.

            Line 640, Patchset 29 (Latest): EXPECT_THAT(webui_entries,
            Each(Not(HasUkmMetric(
            ukm_recorder_.get(),
            "PaintTiming.NavigationToLargestContentfulPaint2"))));
            Johannes Henkel . unresolved

            Would avoid worrying about LCP in this test.

            File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer_unittest.cc
            Line 46, Patchset 29 (Latest): return recorder->EntryHasMetric(arg, metric_name);
            Johannes Henkel . unresolved

            I commented in _browsertest.cc that this recorder argument may not be needed, since EntryHasMetric is a static method. Please look into it, also for the other matcher.

            Line 249, Patchset 29 (Latest):TEST_F(InitialWebUIPageLoadMetricsObserverTest, NoCWVMetrics) {
            page_load_metrics::mojom::PageLoadTiming timing;
            page_load_metrics::InitPageLoadTimingForTest(&timing);
            timing.navigation_start = base::Time::FromSecondsSinceUnixEpoch(1);
            timing.paint_timing->first_contentful_paint = base::Milliseconds(10);
            timing.paint_timing->largest_contentful_paint->largest_text_paint =
            base::Milliseconds(100);
            timing.paint_timing->largest_contentful_paint->largest_text_paint_size = 20u;
            timing.parse_timing->parse_start = base::Milliseconds(5);
            PopulateRequiredTimingFields(&timing);

            NavigateAndCommit(GURL(kTestWebUIUrl));
            tester()->SimulateTimingUpdate(timing);
            DeleteContents();

            auto entries = test_ukm_recorder_.GetEntriesByName("InitialWebUIPageLoad");
            EXPECT_THAT(entries, Not(IsEmpty()));
            EXPECT_THAT(
            entries,
            Each(AllOf(
            Not(HasUkmMetric(&test_ukm_recorder_,
            "PaintTiming.NavigationToLargestContentfulPaint2")),
            Not(HasUkmMetric(&test_ukm_recorder_,
            "InteractiveTiming.FirstInputDelay4")),
            Not(HasUkmMetric(&test_ukm_recorder_,
            "LayoutInstability.MaxCumulativeShiftScore."
            "SessionWindow.Gap1000ms"
            ".Max5000ms")))));
            }
            Johannes Henkel . unresolved

            I think you can remove this test? InitiaLWebUIPageLoad can't have CWV, that's guaranteed by the UKM builders API.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Kamila Hasanbega
            • Ming-Ying Chung
            • Shunya Shishido
            • Sun Yueru
            Submit Requirements:
              • requirement satisfiedCode-Coverage
              • requirement is not satisfiedCode-Owners
              • requirement satisfiedCode-Review
              • requirement is not satisfiedNo-Unresolved-Comments
              • requirement satisfiedReview-Enforcement
              Gerrit-Attention: Sun Yueru <yr...@chromium.org>
              Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
              Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
              Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
              Gerrit-Comment-Date: Mon, 08 Jun 2026 09:13:13 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Ming-Ying Chung (Gerrit)

              unread,
              Jun 9, 2026, 9:52:37 AM (2 days ago) Jun 9
              to Jesse McKenna, Johannes Henkel, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
              Attention needed from Jesse McKenna, Johannes Henkel, Kamila Hasanbega, Rakina Zata Amni, Shunya Shishido and Sun Yueru

              Ming-Ying Chung voted and added 16 comments

              Votes added by Ming-Ying Chung

              Commit-Queue+1

              16 comments

              Patchset-level comments
              Johannes Henkel . resolved

              Thanks a lot for the cleanups / removing unused things! I read through this once more, this time also the test and it looks nice.
              My guess is the first two of my comments, what you have is probably intentional, so it's just a double check.
              On the tests ... I think you can take advantage of the fact that you're introducing two new events, and that the initial_webui_page_load_metrics_observer.cc *never* records to the PageLoad or NavigationTiming events. So there's no need to make assertions about the other observer any more, or absence of CWV or similar.

              Ming-Ying Chung

              Thanks for careful review! I've addressed all of them and made the cc file aligned more with the original UkmPageLoadMetricsObserver if possible.

              File-level comment, Patchset 30 (Latest):
              Ming-Ying Chung . resolved

              PTAL

              File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer.h
              Line 28, Patchset 29:class InitialWebUINavigationTiming;
              Johannes Henkel . resolved

              looks unused, maybe remove?

              Ming-Ying Chung

              Done

              File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer.cc
              Line 255, Patchset 29:InitialWebUIPageLoadMetricsObserver::OnHidden(
              Johannes Henkel . resolved

              In UkmPageLoadMetricsObserver::OnHidden, sometimes recording of navigation & pageload metrics is triggered. But in this implementation, it's never triggered. Is this an intentional difference?

              https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/page_load_metrics/observers/core/ukm_page_load_metrics_observer.cc;l=443?q=UkmPageLoadMEtricsObserver::OnHidden&sq=

              Ming-Ying Chung

              Thanks for catching this. No I originally didn't think `OnHidden()`/`OnShown()` are related to the Initial WebUI measurement. However after manual testing they still look relevant (minimizing browser window on linux would trigger OnHidden() logging). Added the measurement back here to be aligned with UkmPageLoadMetricsObserver.

              Line 461, Patchset 29:void InitialWebUIPageLoadMetricsObserver::RecordAbortMetrics(
              Johannes Henkel . resolved

              This does less than UkmPageLoadMetricsObserver::RecordAbortMetrics, specifically it's not recording PageVisitFinalStatus. Probably intentional?

              If so, perhaps you could inline the body of this function into its only call-site for readability?

              Ming-Ying Chung

              Yes this is intentional to skip the PageVisitFinalStatus UMAs.

              I still want to keep this method to align with `UkmPageLoadMetricsObserver`

              File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer_browsertest.cc
              Line 63, Patchset 29: return recorder->EntryHasMetric(arg, metric_name);
              Johannes Henkel . resolved

              EntryHasMetric is a static method, so I think it's possible to write

              TestUkmRecorder::EntryHasMetric(arg, metric_name);

              Which means, the |recorder| argument to this custom matcher aren't needed, and all usages of the matcher in this file can be simplified.

              The same is true for the matcher just below here, HasUkmMetricValue.

              I wonder if these matchers are equivalent to the ones in components/ukm/gmock_matchers.h after you remove the |recorder| argument?

              Ming-Ying Chung

              Thanks for the pointer. Switching to use `components/ukm/gmock_matchers.h`.

              Line 274, Patchset 29:// UkmPageLoadMetricsObserver is NOT registered.
              Johannes Henkel . resolved

              No need to worry about that any more?

              Ming-Ying Chung

              Done

              Line 283, Patchset 29: EXPECT_THAT(page_load_entries,
              Each(Not(HasUkmMetric(
              ukm_recorder_.get(),
              "PaintTiming.NavigationToLargestContentfulPaint2"))));
              Johannes Henkel . resolved

              This part of the test isn't saying much, maybe remove.

              Ming-Ying Chung

              Done

              Line 295, Patchset 29: EXPECT_THAT(entries,
              Johannes Henkel . resolved

              I think these three tests list the 5 metrics that l. 282 is asserting?

              Could this be just one test, maybe? It may be easier to read, if it says something like "we have 5 entries" and "the five entries are these 5"; it can still say in a comment that the first two are paint milestones, second two are document timing, then there's parse timing. Or similar.

              Ming-Ying Chung

              Merged the first 2 but still make paint timing / document timing / parse timing separated.

              Line 364, Patchset 29:// Verify PageLoad event does NOT contain any CWV metrics.
              Johannes Henkel . resolved

              I think this test is now unnecessary.

              Ming-Ying Chung

              Removed

              Line 390, Patchset 29: EXPECT_THAT(GetEntriesForUrl("PageLoad", url), IsEmpty());
              Johannes Henkel . resolved

              "InitialWebUIPageLoad"?

              Ming-Ying Chung

              Done

              Line 401, Patchset 29: // If both standard and initial WebUI observers ran, we would have 2

              // NavigationTiming entries. If only standard ran, we have 1.
              EXPECT_THAT(GetEntriesForUrl("NavigationTiming", url), SizeIs(1));
              Johannes Henkel . resolved

              It may be better to assert that no InitialWebUINavigationTiming gets produced.

              Asserting that some other observer produces entries, it makes the test brittle.

              Ming-Ying Chung

              Done

              Line 407, Patchset 29: EXPECT_THAT(GetEntriesForUrl("PageLoad", url), SizeIs(8));
              Johannes Henkel . resolved

              I think this one too, it may be best to assert that no InitialWebUIPageLoad metrics are recorded for these pages, and leave it at that. Asserting it's 8 metrics for the ukm page load metrics observer makes this test brittle.

              Ming-Ying Chung

              Done

              Line 640, Patchset 29: EXPECT_THAT(webui_entries,
              Each(Not(HasUkmMetric(
              ukm_recorder_.get(),
              "PaintTiming.NavigationToLargestContentfulPaint2"))));
              Johannes Henkel . resolved

              Would avoid worrying about LCP in this test.

              Ming-Ying Chung

              Done

              File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer_unittest.cc
              Line 46, Patchset 29: return recorder->EntryHasMetric(arg, metric_name);
              Johannes Henkel . resolved

              I commented in _browsertest.cc that this recorder argument may not be needed, since EntryHasMetric is a static method. Please look into it, also for the other matcher.

              Ming-Ying Chung

              Done

              Line 249, Patchset 29:TEST_F(InitialWebUIPageLoadMetricsObserverTest, NoCWVMetrics) {
              Johannes Henkel . resolved

              I think you can remove this test? InitiaLWebUIPageLoad can't have CWV, that's guaranteed by the UKM builders API.

              Ming-Ying Chung

              Removed

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Jesse McKenna
              • Johannes Henkel
              • Kamila Hasanbega
              • Rakina Zata Amni
              • Shunya Shishido
              • Sun Yueru
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not satisfiedCode-Owners
                • requirement is not satisfiedCode-Review
                • requirement is not satisfiedReview-Enforcement
                Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                Gerrit-MessageType: comment
                Gerrit-Project: chromium/src
                Gerrit-Branch: main
                Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
                Gerrit-Change-Number: 7763259
                Gerrit-PatchSet: 30
                Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
                Gerrit-Reviewer: Jesse McKenna <jessem...@google.com>
                Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
                Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
                Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                Gerrit-Reviewer: Sun Yueru <yr...@chromium.org>
                Gerrit-CC: Annie Sullivan <sull...@chromium.org>
                Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
                Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
                Gerrit-CC: Kamila Hasanbega <hka...@google.com>
                Gerrit-CC: Mingyu Lei <le...@chromium.org>
                Gerrit-CC: Olivier Li <oliv...@chromium.org>
                Gerrit-CC: Shunya Shishido <sisid...@chromium.org>
                Gerrit-CC: gwsq
                Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
                Gerrit-Attention: Sun Yueru <yr...@chromium.org>
                Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
                Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
                Gerrit-Attention: Jesse McKenna <jessem...@google.com>
                Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                Gerrit-Comment-Date: Tue, 09 Jun 2026 13:51:59 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: Yes
                Comment-In-Reply-To: Johannes Henkel <joha...@chromium.org>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Ming-Ying Chung (Gerrit)

                unread,
                Jun 9, 2026, 10:18:48 AM (2 days ago) Jun 9
                to Jesse McKenna, Johannes Henkel, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
                Attention needed from Jesse McKenna, Johannes Henkel, Kamila Hasanbega, Ming-Ying Chung, Rakina Zata Amni, Shunya Shishido and Sun Yueru

                Ming-Ying Chung voted and added 1 comment

                Votes added by Ming-Ying Chung

                Commit-Queue+1

                1 comment

                File chrome/browser/page_load_metrics/observers/initial_webui_page_load_metrics_observer_browsertest.cc
                Ming-Ying Chung

                Actually updated to merge them all together.

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Jesse McKenna
                • Johannes Henkel
                • Kamila Hasanbega
                • Ming-Ying Chung
                Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
                Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                Gerrit-Comment-Date: Tue, 09 Jun 2026 14:18:20 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: Yes
                Comment-In-Reply-To: Johannes Henkel <joha...@chromium.org>
                Comment-In-Reply-To: Ming-Ying Chung <my...@chromium.org>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Johannes Henkel (Gerrit)

                unread,
                Jun 9, 2026, 2:49:34 PM (2 days ago) Jun 9
                to Ming-Ying Chung, Jesse McKenna, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
                Attention needed from Jesse McKenna, Kamila Hasanbega, Ming-Ying Chung, Rakina Zata Amni, Shunya Shishido and Sun Yueru

                Johannes Henkel voted and added 1 comment

                Votes added by Johannes Henkel

                Code-Review+1

                1 comment

                Patchset-level comments
                File-level comment, Patchset 32 (Latest):
                Johannes Henkel . resolved

                Thanks a lot, this looks cool!

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Jesse McKenna
                • Kamila Hasanbega
                • Ming-Ying Chung
                • Rakina Zata Amni
                • Shunya Shishido
                • Sun Yueru
                  Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement is not satisfiedCode-Owners
                    • requirement satisfiedCode-Review
                    • requirement satisfiedReview-Enforcement
                    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                    Gerrit-MessageType: comment
                    Gerrit-Project: chromium/src
                    Gerrit-Branch: main
                    Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
                    Gerrit-Change-Number: 7763259
                    Gerrit-PatchSet: 32
                    Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
                    Gerrit-Reviewer: Jesse McKenna <jessem...@google.com>
                    Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
                    Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
                    Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                    Gerrit-Reviewer: Sun Yueru <yr...@chromium.org>
                    Gerrit-CC: Annie Sullivan <sull...@chromium.org>
                    Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
                    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                    Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
                    Gerrit-CC: Kamila Hasanbega <hka...@google.com>
                    Gerrit-CC: Mingyu Lei <le...@chromium.org>
                    Gerrit-CC: Olivier Li <oliv...@chromium.org>
                    Gerrit-CC: Shunya Shishido <sisid...@chromium.org>
                    Gerrit-CC: gwsq
                    Gerrit-Attention: Sun Yueru <yr...@chromium.org>
                    Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
                    Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
                    Gerrit-Attention: Jesse McKenna <jessem...@google.com>
                    Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
                    Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                    Gerrit-Comment-Date: Tue, 09 Jun 2026 18:49:18 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    Sun Yueru (Gerrit)

                    unread,
                    Jun 9, 2026, 3:12:58 PM (2 days ago) Jun 9
                    to Ming-Ying Chung, Johannes Henkel, Jesse McKenna, Chromium Metrics Reviews, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
                    Attention needed from Jesse McKenna, Kamila Hasanbega, Ming-Ying Chung, Rakina Zata Amni and Shunya Shishido

                    Sun Yueru added 1 comment

                    File tools/metrics/ukm/xml_validations.py
                    Line 182, Patchset 32 (Latest): ('InitialWebUIPageLoad', 'PageTiming.TotalForegroundDuration'),
                    Sun Yueru . unresolved

                    Could you fix the missing time units in the metric names instead of modifying this validation check?

                    Mark Pearson also pointed out some confusion in https://chromium-review.git.corp.google.com/c/chromium/src/+/7701615.

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Jesse McKenna
                    • Kamila Hasanbega
                    • Ming-Ying Chung
                    • Rakina Zata Amni
                    • Shunya Shishido
                    Submit Requirements:
                      • requirement satisfiedCode-Coverage
                      • requirement is not satisfiedCode-Owners
                      • requirement satisfiedCode-Review
                      • requirement is not satisfiedNo-Unresolved-Comments
                      • requirement satisfiedReview-Enforcement
                      Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
                      Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
                      Gerrit-Attention: Jesse McKenna <jessem...@google.com>
                      Gerrit-Attention: Ming-Ying Chung <my...@chromium.org>
                      Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                      Gerrit-Comment-Date: Tue, 09 Jun 2026 19:12:46 +0000
                      Gerrit-HasComments: Yes
                      Gerrit-Has-Labels: No
                      satisfied_requirement
                      unsatisfied_requirement
                      open
                      diffy

                      Ming-Ying Chung (Gerrit)

                      unread,
                      Jun 9, 2026, 8:39:54 PM (2 days ago) Jun 9
                      to Jesse McKenna, Johannes Henkel, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
                      Attention needed from Jesse McKenna, Johannes Henkel, Kamila Hasanbega, Rakina Zata Amni, Shunya Shishido and Sun Yueru

                      Ming-Ying Chung voted and added 2 comments

                      Votes added by Ming-Ying Chung

                      Commit-Queue+1

                      2 comments

                      Patchset-level comments
                      File-level comment, Patchset 33 (Latest):
                      Ming-Ying Chung . resolved

                      PTAL.

                      File tools/metrics/ukm/xml_validations.py
                      Line 182, Patchset 32: ('InitialWebUIPageLoad', 'PageTiming.TotalForegroundDuration'),
                      Sun Yueru . resolved

                      Could you fix the missing time units in the metric names instead of modifying this validation check?

                      Mark Pearson also pointed out some confusion in https://chromium-review.git.corp.google.com/c/chromium/src/+/7701615.

                      Ming-Ying Chung

                      Done

                      Open in Gerrit

                      Related details

                      Attention is currently required from:
                      • Jesse McKenna
                      • Johannes Henkel
                      • Kamila Hasanbega
                      • Rakina Zata Amni
                      • Shunya Shishido
                      • Sun Yueru
                      Submit Requirements:
                        • requirement satisfiedCode-Coverage
                        • requirement is not satisfiedCode-Owners
                        • requirement is not satisfiedCode-Review
                        • requirement is not satisfiedReview-Enforcement
                        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                        Gerrit-MessageType: comment
                        Gerrit-Project: chromium/src
                        Gerrit-Branch: main
                        Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
                        Gerrit-Change-Number: 7763259
                        Gerrit-PatchSet: 33
                        Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
                        Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
                        Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
                        Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                        Gerrit-Reviewer: Sun Yueru <yr...@chromium.org>
                        Gerrit-CC: Annie Sullivan <sull...@chromium.org>
                        Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
                        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                        Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
                        Gerrit-CC: Jesse McKenna <jessem...@google.com>
                        Gerrit-CC: Kamila Hasanbega <hka...@google.com>
                        Gerrit-CC: Mingyu Lei <le...@chromium.org>
                        Gerrit-CC: Olivier Li <oliv...@chromium.org>
                        Gerrit-CC: Shunya Shishido <sisid...@chromium.org>
                        Gerrit-CC: gwsq
                        Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
                        Gerrit-Attention: Sun Yueru <yr...@chromium.org>
                        Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
                        Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
                        Gerrit-Attention: Jesse McKenna <jessem...@google.com>
                        Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                        Gerrit-Comment-Date: Wed, 10 Jun 2026 00:39:19 +0000
                        Gerrit-HasComments: Yes
                        Gerrit-Has-Labels: Yes
                        Comment-In-Reply-To: Sun Yueru <yr...@chromium.org>
                        satisfied_requirement
                        unsatisfied_requirement
                        open
                        diffy

                        Ming-Ying Chung (Gerrit)

                        unread,
                        Jun 10, 2026, 1:22:06 AM (yesterday) Jun 10
                        to Jesse McKenna, Johannes Henkel, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
                        Attention needed from Jesse McKenna, Johannes Henkel, Kamila Hasanbega, Rakina Zata Amni, Shunya Shishido and Sun Yueru

                        Ming-Ying Chung added 1 comment

                        Patchset-level comments
                        File-level comment, Patchset 34 (Latest):
                        Ming-Ying Chung . resolved

                        @rak...@chromium.org PTAL the fileset has been changed.

                        Open in Gerrit

                        Related details

                        Attention is currently required from:
                        • Jesse McKenna
                        • Johannes Henkel
                        • Kamila Hasanbega
                        • Rakina Zata Amni
                        • Shunya Shishido
                        • Sun Yueru
                        Submit Requirements:
                        • requirement satisfiedCode-Coverage
                        • requirement is not satisfiedCode-Owners
                        • requirement is not satisfiedCode-Review
                        • requirement is not satisfiedReview-Enforcement
                        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                        Gerrit-MessageType: comment
                        Gerrit-Project: chromium/src
                        Gerrit-Branch: main
                        Gerrit-Change-Id: I03d10233a71600e01b257e16b593f19fd88e19f8
                        Gerrit-Change-Number: 7763259
                        Gerrit-PatchSet: 34
                        Gerrit-Owner: Ming-Ying Chung <my...@chromium.org>
                        Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
                        Gerrit-Reviewer: Ming-Ying Chung <my...@chromium.org>
                        Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                        Gerrit-Reviewer: Sun Yueru <yr...@chromium.org>
                        Gerrit-CC: Annie Sullivan <sull...@chromium.org>
                        Gerrit-CC: Anthony Vallee-Dubois <anth...@chromium.org>
                        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                        Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
                        Gerrit-CC: Eriko Kurimoto <elk...@chromium.org>
                        Gerrit-CC: Jesse McKenna <jessem...@google.com>
                        Gerrit-CC: Kamila Hasanbega <hka...@google.com>
                        Gerrit-CC: Mingyu Lei <le...@chromium.org>
                        Gerrit-CC: Olivier Li <oliv...@chromium.org>
                        Gerrit-CC: Shunya Shishido <sisid...@chromium.org>
                        Gerrit-CC: gwsq
                        Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
                        Gerrit-Attention: Sun Yueru <yr...@chromium.org>
                        Gerrit-Attention: Kamila Hasanbega <hka...@google.com>
                        Gerrit-Attention: Shunya Shishido <sisid...@chromium.org>
                        Gerrit-Attention: Jesse McKenna <jessem...@google.com>
                        Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                        Gerrit-Comment-Date: Wed, 10 Jun 2026 05:21:30 +0000
                        Gerrit-HasComments: Yes
                        Gerrit-Has-Labels: No
                        satisfied_requirement
                        unsatisfied_requirement
                        open
                        diffy

                        Ming-Ying Chung (Gerrit)

                        unread,
                        1:10 AM (6 hours ago) 1:10 AM
                        to Jesse McKenna, Johannes Henkel, Chromium Metrics Reviews, Sun Yueru, Shunya Shishido, Rakina Zata Amni, Annie Sullivan, Kamila Hasanbega, Mingyu Lei, Olivier Li, Anthony Vallee-Dubois, Code Review Nudger, Eriko Kurimoto, Chromium LUCI CQ, android-bu...@system.gserviceaccount.com, asvitki...@chromium.org, chromiumme...@microsoft.com, asvitkine...@chromium.org, loading-rev...@chromium.org, csharris...@chromium.org, speed-metr...@chromium.org, core-web-vita...@chromium.org, speed-metrics...@chromium.org, bmcquad...@chromium.org
                        Attention needed from Jesse McKenna, Johannes Henkel, Kamila Hasanbega, Rakina Zata Amni, Shunya Shishido and Sun Yueru

                        Ming-Ying Chung voted and added 1 comment

                        Votes added by Ming-Ying Chung

                        Commit-Queue+1

                        1 comment

                        Patchset-level comments
                        Ming-Ying Chung . resolved

                        PTAL

                        Gerrit-Comment-Date: Thu, 11 Jun 2026 05:10:11 +0000
                        Gerrit-HasComments: Yes
                        Gerrit-Has-Labels: Yes
                        satisfied_requirement
                        unsatisfied_requirement
                        open
                        diffy
                        Reply all
                        Reply to author
                        Forward
                        0 new messages