[soft navs] Assume that tab w/ softnavs was in the foreground once [chromium/src : main]

0 views
Skip to first unread message

Johannes Henkel (Gerrit)

unread,
12:51 PM (3 hours ago) 12:51 PM
to Scott Haseley, Annie Sullivan, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, core-web-vita...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
Attention needed from Annie Sullivan and Scott Haseley

New activity on the change

Open in Gerrit

Related details

Attention is currently required from:
  • Annie Sullivan
  • Scott Haseley
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: Ie7f3550c9d8d5d36e1eddc96d3ad235150ca5e09
Gerrit-Change-Number: 7800461
Gerrit-PatchSet: 1
Gerrit-Owner: Johannes Henkel <joha...@chromium.org>
Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: Annie Sullivan <sull...@chromium.org>
Gerrit-Comment-Date: Wed, 29 Apr 2026 16:51:34 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Annie Sullivan (Gerrit)

unread,
12:58 PM (3 hours ago) 12:58 PM
to Johannes Henkel, Scott Haseley, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, core-web-vita...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
Attention needed from Johannes Henkel and Scott Haseley

Annie Sullivan voted and added 1 comment

Votes added by Annie Sullivan

Code-Review+1

1 comment

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

This seems reasonable to me, but I wouldn't be surprised if we do hit the DCHECK for some

Open in Gerrit

Related details

Attention is currently required from:
  • Johannes Henkel
  • Scott Haseley
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: Ie7f3550c9d8d5d36e1eddc96d3ad235150ca5e09
Gerrit-Change-Number: 7800461
Gerrit-PatchSet: 1
Gerrit-Owner: Johannes Henkel <joha...@chromium.org>
Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
Gerrit-Attention: Scott Haseley <shas...@chromium.org>
Gerrit-Comment-Date: Wed, 29 Apr 2026 16:58:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Scott Haseley (Gerrit)

unread,
1:10 PM (3 hours ago) 1:10 PM
to Johannes Henkel, Annie Sullivan, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, core-web-vita...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
Attention needed from Johannes Henkel

Scott Haseley added 1 comment

File chrome/browser/page_load_metrics/observers/core/ukm_page_load_metrics_observer.cc
Line 789, Patchset 1 (Latest): DCHECK(!last_time_shown_.is_null());
Scott Haseley . unresolved

You could make this a CHECK(, NotFatalUntil) to see if this happens without crashing the browser. Problem with DCHECK is it's only enabled in debug builds and a small number of Canary builds. The recommendation is typically to use CHECKs, and making it NotFatal makes sense here bc it _shouldn't_ break anything, IIUC

Open in Gerrit

Related details

Attention is currently required from:
  • Johannes Henkel
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Ie7f3550c9d8d5d36e1eddc96d3ad235150ca5e09
    Gerrit-Change-Number: 7800461
    Gerrit-PatchSet: 1
    Gerrit-Owner: Johannes Henkel <joha...@chromium.org>
    Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
    Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
    Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
    Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
    Gerrit-Comment-Date: Wed, 29 Apr 2026 17:10:24 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Johannes Henkel (Gerrit)

    unread,
    1:25 PM (3 hours ago) 1:25 PM
    to Annie Sullivan, Scott Haseley, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, core-web-vita...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
    Attention needed from Scott Haseley

    Johannes Henkel added 2 comments

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

    Thanks a lot, I switched to the non-fatal thingy.

    I'm thinking if it triggers very infrequently, it should be ok-ish to remove the check in a little while.

    File chrome/browser/page_load_metrics/observers/core/ukm_page_load_metrics_observer.cc
    Line 789, Patchset 1: DCHECK(!last_time_shown_.is_null());
    Scott Haseley . resolved

    You could make this a CHECK(, NotFatalUntil) to see if this happens without crashing the browser. Problem with DCHECK is it's only enabled in debug builds and a small number of Canary builds. The recommendation is typically to use CHECKs, and making it NotFatal makes sense here bc it _shouldn't_ break anything, IIUC

    Johannes Henkel

    Done.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Scott Haseley
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: Ie7f3550c9d8d5d36e1eddc96d3ad235150ca5e09
      Gerrit-Change-Number: 7800461
      Gerrit-PatchSet: 1
      Gerrit-Owner: Johannes Henkel <joha...@chromium.org>
      Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
      Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
      Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
      Gerrit-Attention: Scott Haseley <shas...@chromium.org>
      Gerrit-Comment-Date: Wed, 29 Apr 2026 17:24:56 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Scott Haseley <shas...@chromium.org>
      satisfied_requirement
      open
      diffy

      Johannes Henkel (Gerrit)

      unread,
      1:28 PM (3 hours ago) 1:28 PM
      to Annie Sullivan, Scott Haseley, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, core-web-vita...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
      Attention needed from Scott Haseley

      Johannes Henkel voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Scott Haseley
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: Ie7f3550c9d8d5d36e1eddc96d3ad235150ca5e09
      Gerrit-Change-Number: 7800461
      Gerrit-PatchSet: 3
      Gerrit-Owner: Johannes Henkel <joha...@chromium.org>
      Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
      Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
      Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
      Gerrit-Attention: Scott Haseley <shas...@chromium.org>
      Gerrit-Comment-Date: Wed, 29 Apr 2026 17:27:53 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Scott Haseley (Gerrit)

      unread,
      1:28 PM (3 hours ago) 1:28 PM
      to Johannes Henkel, Annie Sullivan, Chromium LUCI CQ, chromium...@chromium.org, bmcquad...@chromium.org, core-web-vita...@chromium.org, csharris...@chromium.org, loading-rev...@chromium.org, speed-metrics...@chromium.org, speed-metr...@chromium.org
      Attention needed from Johannes Henkel

      Scott Haseley voted and added 1 comment

      Votes added by Scott Haseley

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 3 (Latest):
      Scott Haseley . resolved

      LGTM

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Johannes Henkel
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement 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: Ie7f3550c9d8d5d36e1eddc96d3ad235150ca5e09
      Gerrit-Change-Number: 7800461
      Gerrit-PatchSet: 3
      Gerrit-Owner: Johannes Henkel <joha...@chromium.org>
      Gerrit-Reviewer: Annie Sullivan <sull...@chromium.org>
      Gerrit-Reviewer: Johannes Henkel <joha...@chromium.org>
      Gerrit-Reviewer: Scott Haseley <shas...@chromium.org>
      Gerrit-Attention: Johannes Henkel <joha...@chromium.org>
      Gerrit-Comment-Date: Wed, 29 Apr 2026 17:27:57 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy
      Reply all
      Reply to author
      Forward
      0 new messages