Ignore FrameReplicationState updates from speculative RFHs [chromium/src : main]

0 views
Skip to first unread message

Arthur Sonzogni (Gerrit)

unread,
Jul 20, 2026, 7:13:47 AMJul 20
to Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, Chromium Metrics Reviews, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Charlie Reis

Arthur Sonzogni added 1 comment

Patchset-level comments
File-level comment, Patchset 15 (Latest):
Arthur Sonzogni . resolved

Hi Charlie,
Could you please take a look?

+CC Rakina (OOO) / Fergal: FYI

Open in Gerrit

Related details

Attention is currently required from:
  • Charlie Reis
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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
Gerrit-Change-Number: 8116306
Gerrit-PatchSet: 15
Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Fergal Daly <fer...@chromium.org>
Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
Gerrit-Attention: Charlie Reis <cr...@chromium.org>
Gerrit-Comment-Date: Mon, 20 Jul 2026 11:13:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Charlie Reis (Gerrit)

unread,
Jul 21, 2026, 8:15:09 PMJul 21
to Arthur Sonzogni, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, Chromium Metrics Reviews, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
Attention needed from Arthur Sonzogni

Charlie Reis added 3 comments

Patchset-level comments
Charlie Reis . resolved

Thanks! A few initial questions as I get caught up from OOO.

Commit Message
Line 17, Patchset 15 (Latest):pending deletion, or in the back-forward cache. kPendingCommit is
intentionally still accepted, since the renderer sends these messages
while committing the new document and before the browser has processed
DidCommitNavigation.
Charlie Reis . unresolved

I'm curious whether this is a problem? It seems similar to the CSP case being changed in https://chromium-review.googlesource.com/c/chromium/src/+/7877125, so that the state is sent at DidCommitNavigation time and not before.

File content/browser/renderer_host/render_frame_host_impl.cc
Line 526, Patchset 15 (Latest): // kPendingCommit, or kPrerendering). Note that kPendingCommit must be
Charlie Reis . unresolved

I'm not sure I understand why prerendering is ok. That document might not activate for quite a while after it commits, which makes it seem like it could set values that are seen by the current RFH in the meantime. Does it not use the same BrowsingContextState, or is there another reason it's ok?

Open in Gerrit

Related details

Attention is currently required from:
  • Arthur Sonzogni
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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
    Gerrit-Change-Number: 8116306
    Gerrit-PatchSet: 15
    Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
    Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
    Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Attention: Arthur Sonzogni <arthurs...@chromium.org>
    Gerrit-Comment-Date: Wed, 22 Jul 2026 00:14:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Arthur Sonzogni (Gerrit)

    unread,
    Jul 29, 2026, 5:12:49 AMJul 29
    to Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, Chromium Metrics Reviews, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
    Attention needed from Charlie Reis

    Arthur Sonzogni added 2 comments

    Commit Message
    Line 17, Patchset 15 (Latest):pending deletion, or in the back-forward cache. kPendingCommit is
    intentionally still accepted, since the renderer sends these messages
    while committing the new document and before the browser has processed
    DidCommitNavigation.
    Charlie Reis . unresolved

    I'm curious whether this is a problem? It seems similar to the CSP case being changed in https://chromium-review.googlesource.com/c/chromium/src/+/7877125, so that the state is sent at DidCommitNavigation time and not before.

    Arthur Sonzogni

    Yes, this annoys me. At the moment, we can handle IPCs about the document, prior to receiving the DidCommit of the document, which is problematic.

    Ideally, we would break the IPC into two parts:

    • Initials IPCs to setup the communications with the renderer and initiate the creation of the document.
    • IPC sent from the committed document.

    The second parts would be "bound" to the RenderFrameHost after DidCommit (e.g. this could be an interface requested with browser_interface_binders).

    I don't have easy solution I can implement immediately. Please see this as a better than nothing improvement.

    File content/browser/renderer_host/render_frame_host_impl.cc
    Line 526, Patchset 15 (Latest): // kPendingCommit, or kPrerendering). Note that kPendingCommit must be
    Charlie Reis . unresolved

    I'm not sure I understand why prerendering is ok. That document might not activate for quite a while after it commits, which makes it seem like it could set values that are seen by the current RFH in the meantime. Does it not use the same BrowsingContextState, or is there another reason it's ok?

    Arthur Sonzogni

    My understanding of prerendering (subject to recent updates): Like BFCache, we only support full 'page' prerendering rather than individual iframe documents. Because prerendering runs inside an independent FrameTree, it cannot affect other active pages. Additionally, prerendering is disallowed if the page maintains a window.open relationship with another context, which would have been problematic.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Charlie Reis
    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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
    Gerrit-Change-Number: 8116306
    Gerrit-PatchSet: 15
    Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
    Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
    Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Fergal Daly <fer...@chromium.org>
    Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
    Gerrit-Attention: Charlie Reis <cr...@chromium.org>
    Gerrit-Comment-Date: Wed, 29 Jul 2026 09:12:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Charlie Reis <cr...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Charlie Reis (Gerrit)

    unread,
    Jul 29, 2026, 5:32:50 PMJul 29
    to Arthur Sonzogni, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, Chromium Metrics Reviews, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
    Attention needed from Arthur Sonzogni

    Charlie Reis voted and added 3 comments

    Votes added by Charlie Reis

    Code-Review+1

    3 comments

    Patchset-level comments
    Charlie Reis . resolved

    Thanks! Basically LGTM apart from the prerendering case. Feel free to pull in a prerendering-knowledgable reviewer if that's useful for resolving the question.

    Commit Message
    Line 17, Patchset 15 (Latest):pending deletion, or in the back-forward cache. kPendingCommit is
    intentionally still accepted, since the renderer sends these messages
    while committing the new document and before the browser has processed
    DidCommitNavigation.
    Charlie Reis . resolved

    I'm curious whether this is a problem? It seems similar to the CSP case being changed in https://chromium-review.googlesource.com/c/chromium/src/+/7877125, so that the state is sent at DidCommitNavigation time and not before.

    Arthur Sonzogni

    Yes, this annoys me. At the moment, we can handle IPCs about the document, prior to receiving the DidCommit of the document, which is problematic.

    Ideally, we would break the IPC into two parts:

    • Initials IPCs to setup the communications with the renderer and initiate the creation of the document.
    • IPC sent from the committed document.

    The second parts would be "bound" to the RenderFrameHost after DidCommit (e.g. this could be an interface requested with browser_interface_binders).

    I don't have easy solution I can implement immediately. Please see this as a better than nothing improvement.

    Charlie Reis

    Thanks, that sounds like a good plan, and consistent in spirit with what Diana did in the CL above. No need to solve in this CL.

    File content/browser/renderer_host/render_frame_host_impl.cc
    Line 526, Patchset 15 (Latest): // kPendingCommit, or kPrerendering). Note that kPendingCommit must be
    Charlie Reis . unresolved

    I'm not sure I understand why prerendering is ok. That document might not activate for quite a while after it commits, which makes it seem like it could set values that are seen by the current RFH in the meantime. Does it not use the same BrowsingContextState, or is there another reason it's ok?

    Arthur Sonzogni

    My understanding of prerendering (subject to recent updates): Like BFCache, we only support full 'page' prerendering rather than individual iframe documents. Because prerendering runs inside an independent FrameTree, it cannot affect other active pages. Additionally, prerendering is disallowed if the page maintains a window.open relationship with another context, which would have been problematic.

    Charlie Reis

    Those sound like reasons to treat it the same as BFCache, since it sounds like neither will attempt to make changes to the BrowsingContextState of the current RFH.

    Does anything fail if we leave kPrerendering out of the condition, and ideally cancel the prerender similar to line 539?

    If there is a reason that prerendering has to be allowed to target the current BrowsingContextState, we should leave a comment about it, but so far that doesn't sound safe to me. (I suppose we could leave a TODO to tackle that next if necessary, but it seems a lot like the other cases we're guarding against here.)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Arthur Sonzogni
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not 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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
      Gerrit-Change-Number: 8116306
      Gerrit-PatchSet: 15
      Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Fergal Daly <fer...@chromium.org>
      Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
      Gerrit-Attention: Arthur Sonzogni <arthurs...@chromium.org>
      Gerrit-Comment-Date: Wed, 29 Jul 2026 21:32:36 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Arthur Sonzogni <arthurs...@chromium.org>
      Comment-In-Reply-To: Charlie Reis <cr...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Arthur Sonzogni (Gerrit)

      unread,
      Aug 17, 2026, 7:03:42 AM (2 days ago) Aug 17
      to Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, Chromium Metrics Reviews, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org

      Arthur Sonzogni voted and added 1 comment

      Votes added by Arthur Sonzogni

      Commit-Queue+2

      1 comment

      File content/browser/renderer_host/render_frame_host_impl.cc
      Line 526, Patchset 15: // kPendingCommit, or kPrerendering). Note that kPendingCommit must be
      Charlie Reis . resolved

      I'm not sure I understand why prerendering is ok. That document might not activate for quite a while after it commits, which makes it seem like it could set values that are seen by the current RFH in the meantime. Does it not use the same BrowsingContextState, or is there another reason it's ok?

      Arthur Sonzogni

      My understanding of prerendering (subject to recent updates): Like BFCache, we only support full 'page' prerendering rather than individual iframe documents. Because prerendering runs inside an independent FrameTree, it cannot affect other active pages. Additionally, prerendering is disallowed if the page maintains a window.open relationship with another context, which would have been problematic.

      Charlie Reis

      Those sound like reasons to treat it the same as BFCache, since it sounds like neither will attempt to make changes to the BrowsingContextState of the current RFH.

      Does anything fail if we leave kPrerendering out of the condition, and ideally cancel the prerender similar to line 539?

      If there is a reason that prerendering has to be allowed to target the current BrowsingContextState, we should leave a comment about it, but so far that doesn't sound safe to me. (I suppose we could leave a TODO to tackle that next if necessary, but it seems a lot like the other cases we're guarding against here.)

      Arthur Sonzogni

      Unlike BFCache (where the FrameTreeNode is shared with the active page), prerender runs in a completely isolated FrameTree that has never seen any active RenderFrameHost before activation. Its replication updates only mutate its own isolated BrowsingContextState.

      Additionally, prerendered pages actively load and legitimately receive updates (e.g., ad tagging, CSP).

      Tested on CQ:

      • **Dropping `kPendingCommit`** (crrev.com/c/8157252): Fails `content_unittests` (`RenderFrameHostManagerAdTaggingSignalTest.*`) because `UpdateIsAdFrame` arrives before `DidCommitNavigation` is processed.
      • **Cancelling on `kPrerendering`** (crrev.com/c/8169280): Fails `browser_tests` (`*PrerenderingBrowserTest.*AdTagging*`) because prerendered pages validly update ad tagging status.

      I've updated the comment in `CanApplyFrameReplicationUpdate` and filed crbug.com/547754865 with TODOs for both cases.

      Open in Gerrit

      Related details

      Attention set is empty
      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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
        Gerrit-Change-Number: 8116306
        Gerrit-PatchSet: 16
        Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Fergal Daly <fer...@chromium.org>
        Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Comment-Date: Mon, 17 Aug 2026 11:03:24 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Arthur Sonzogni (Gerrit)

        unread,
        Aug 17, 2026, 7:07:38 AM (2 days ago) Aug 17
        to Chromium Metrics Reviews, Alex Rudenko, Stephen Nusko, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
        Attention needed from Alex Rudenko and Stephen Nusko

        Arthur Sonzogni added 1 comment

        Patchset-level comments
        File-level comment, Patchset 16 (Latest):
        Arthur Sonzogni . resolved

        Adding the missing owner for extending the enum:

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alex Rudenko
        • Stephen Nusko
        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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
        Gerrit-Change-Number: 8116306
        Gerrit-PatchSet: 16
        Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
        Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
        Gerrit-Reviewer: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
        Gerrit-CC: Fergal Daly <fer...@chromium.org>
        Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-Attention: Stephen Nusko <nus...@chromium.org>
        Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
        Gerrit-Comment-Date: Mon, 17 Aug 2026 11:07:21 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        gwsq (Gerrit)

        unread,
        Aug 17, 2026, 7:08:56 AM (2 days ago) Aug 17
        to Arthur Sonzogni, Chromium Metrics Reviews, Robert Kaplow, Alex Rudenko, Stephen Nusko, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
        Attention needed from Alex Rudenko, Robert Kaplow and Stephen Nusko

        Message from gwsq

        From analysis/uma/chrome-metrics.gwsq:
        Histograms should by default be reviewed by the owners of the subdirectories. The chromium-met...@google.com gwsq should be used when there are no individual owners, or for escalation to the Metrics team.
        If you are interested in becoming a metrics reviewer, please review the instructions at https://chromium.googlesource.com/chromium/src.git/+/HEAD/tools/metrics/histograms/README.md#Becoming-a-Metrics-Reviewer

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

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alex Rudenko
        • Robert Kaplow
        • Stephen Nusko
        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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
        Gerrit-Change-Number: 8116306
        Gerrit-PatchSet: 16
        Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
        Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
        Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
        Gerrit-Reviewer: Robert Kaplow <rka...@chromium.org>
        Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Fergal Daly <fer...@chromium.org>
        Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
        Gerrit-CC: gwsq
        Gerrit-Attention: Stephen Nusko <nus...@chromium.org>
        Gerrit-Attention: Robert Kaplow <rka...@chromium.org>
        Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
        Gerrit-Comment-Date: Mon, 17 Aug 2026 11:08:44 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Alex Rudenko (Gerrit)

        unread,
        Aug 17, 2026, 7:12:14 AM (2 days ago) Aug 17
        to Arthur Sonzogni, Chromium Metrics Reviews, Robert Kaplow, Stephen Nusko, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
        Attention needed from Arthur Sonzogni, Robert Kaplow and Stephen Nusko

        Alex Rudenko added 1 comment

        File third_party/blink/public/devtools_protocol/domains/Page.pdl
        Line 1561, Patchset 16 (Latest): RfhEnforceInsecureNavigationsSet
        Alex Rudenko . unresolved

        Is there a name that would make it clear for external consumers what the reason is about? RFH is a Chromium-specific internal term so it might not be well understood by developers of CDP clients. Perhaps we can drop the Rfh prefix?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Arthur Sonzogni
        • Robert Kaplow
        • Stephen Nusko
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement is not satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement is not satisfiedNo-Unresolved-Comments
          • requirement satisfiedReview-Enforcement
          Gerrit-Attention: Arthur Sonzogni <arthurs...@chromium.org>
          Gerrit-Comment-Date: Mon, 17 Aug 2026 11:11:56 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Alex Rudenko (Gerrit)

          unread,
          Aug 17, 2026, 7:12:48 AM (2 days ago) Aug 17
          to Arthur Sonzogni, Chromium Metrics Reviews, Robert Kaplow, Stephen Nusko, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
          Attention needed from Arthur Sonzogni, Robert Kaplow and Stephen Nusko

          Alex Rudenko voted and added 1 comment

          Votes added by Alex Rudenko

          Code-Review+1

          1 comment

          Patchset-level comments
          Alex Rudenko . resolved

          Thanks, devtools LGTM + a suggestion to improve naming of the new reason codes.

          Gerrit-Comment-Date: Mon, 17 Aug 2026 11:12:29 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Stephen Nusko (Gerrit)

          unread,
          Aug 17, 2026, 8:38:33 PM (2 days ago) Aug 17
          to Arthur Sonzogni, Alex Rudenko, Chromium Metrics Reviews, Robert Kaplow, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
          Attention needed from Arthur Sonzogni and Robert Kaplow

          Stephen Nusko voted and added 1 comment

          Votes added by Stephen Nusko

          Code-Review+1

          1 comment

          Patchset-level comments
          Stephen Nusko . resolved

          ChromeTrackEvent LGTM assuming agreement on the names for the reasons.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Arthur Sonzogni
          • Robert Kaplow
          Gerrit-Attention: Robert Kaplow <rka...@chromium.org>
          Gerrit-Attention: Arthur Sonzogni <arthurs...@chromium.org>
          Gerrit-Comment-Date: Tue, 18 Aug 2026 00:38:09 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Arthur Sonzogni (Gerrit)

          unread,
          Aug 18, 2026, 9:21:09 AM (yesterday) Aug 18
          to Stephen Nusko, Alex Rudenko, Chromium Metrics Reviews, Robert Kaplow, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
          Attention needed from Alex Rudenko, Charlie Reis, Robert Kaplow and Stephen Nusko

          Arthur Sonzogni added 1 comment

          File third_party/blink/public/devtools_protocol/domains/Page.pdl
          Line 1561, Patchset 16: RfhEnforceInsecureNavigationsSet
          Alex Rudenko . unresolved

          Is there a name that would make it clear for external consumers what the reason is about? RFH is a Chromium-specific internal term so it might not be well understood by developers of CDP clients. Perhaps we can drop the Rfh prefix?

          Arthur Sonzogni

          Thanks Alex. Since these reasons reflect temporary Chromium-internal RFH state that we plan to resolve at some point, I decided not to expose them in DevTools at all. They are important for chromium metrics, but not for devtools consumers. I've reverted the Page.pdl changes and mapped them to Unknown in page_handler.cc instead.

          Does that sounds good to you? See change in: content/browser/devtools/protocol/page_handler.cc

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Alex Rudenko
          • Charlie Reis
          • Robert Kaplow
          • Stephen Nusko
          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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
            Gerrit-Change-Number: 8116306
            Gerrit-PatchSet: 17
            Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
            Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
            Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
            Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
            Gerrit-Reviewer: Robert Kaplow <rka...@chromium.org>
            Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Fergal Daly <fer...@chromium.org>
            Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
            Gerrit-CC: gwsq
            Gerrit-Attention: Stephen Nusko <nus...@chromium.org>
            Gerrit-Attention: Robert Kaplow <rka...@chromium.org>
            Gerrit-Attention: Alex Rudenko <alexr...@chromium.org>
            Gerrit-Attention: Charlie Reis <cr...@chromium.org>
            Gerrit-Comment-Date: Tue, 18 Aug 2026 13:20:54 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Alex Rudenko <alexr...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Alex Rudenko (Gerrit)

            unread,
            Aug 18, 2026, 9:48:07 AM (24 hours ago) Aug 18
            to Arthur Sonzogni, Stephen Nusko, Chromium Metrics Reviews, Robert Kaplow, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
            Attention needed from Arthur Sonzogni, Charlie Reis, Robert Kaplow and Stephen Nusko

            Alex Rudenko added 1 comment

            File third_party/blink/public/devtools_protocol/domains/Page.pdl
            Line 1561, Patchset 16: RfhEnforceInsecureNavigationsSet
            Alex Rudenko . resolved

            Is there a name that would make it clear for external consumers what the reason is about? RFH is a Chromium-specific internal term so it might not be well understood by developers of CDP clients. Perhaps we can drop the Rfh prefix?

            Arthur Sonzogni

            Thanks Alex. Since these reasons reflect temporary Chromium-internal RFH state that we plan to resolve at some point, I decided not to expose them in DevTools at all. They are important for chromium metrics, but not for devtools consumers. I've reverted the Page.pdl changes and mapped them to Unknown in page_handler.cc instead.

            Does that sounds good to you? See change in: content/browser/devtools/protocol/page_handler.cc

            Alex Rudenko

            That sounds good to me, thanks!

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Arthur Sonzogni
            • Charlie Reis
            • Robert Kaplow
            • Stephen Nusko
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement is not satisfiedCode-Owners
                • requirement is not satisfiedCode-Review
                Gerrit-Attention: Arthur Sonzogni <arthurs...@chromium.org>
                Gerrit-Attention: Charlie Reis <cr...@chromium.org>
                Gerrit-Comment-Date: Tue, 18 Aug 2026 13:47:56 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                Comment-In-Reply-To: Arthur Sonzogni <arthurs...@chromium.org>
                Comment-In-Reply-To: Alex Rudenko <alexr...@chromium.org>
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Arthur Sonzogni (Gerrit)

                unread,
                Aug 18, 2026, 9:50:38 AM (24 hours ago) Aug 18
                to Stephen Nusko, Alex Rudenko, Chromium Metrics Reviews, Robert Kaplow, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
                Attention needed from Robert Kaplow

                Arthur Sonzogni voted and added 1 comment

                Votes added by Arthur Sonzogni

                Auto-Submit+1

                1 comment

                Patchset-level comments
                File-level comment, Patchset 17 (Latest):
                Arthur Sonzogni . resolved

                Thanks! Waiting for Robert review now.

                Open in Gerrit

                Related details

                Attention is currently required from:
                • Robert Kaplow
                Gerrit-Attention: Robert Kaplow <rka...@chromium.org>
                Gerrit-Comment-Date: Tue, 18 Aug 2026 13:50:26 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Robert Kaplow (Gerrit)

                unread,
                Aug 18, 2026, 10:45:07 AM (23 hours ago) Aug 18
                to Arthur Sonzogni, Stephen Nusko, Alex Rudenko, Chromium Metrics Reviews, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
                Attention needed from Arthur Sonzogni

                Robert Kaplow voted Code-Review+1

                Code-Review+1
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Arthur Sonzogni
                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: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
                Gerrit-Change-Number: 8116306
                Gerrit-PatchSet: 17
                Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
                Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
                Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
                Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
                Gerrit-Reviewer: Robert Kaplow <rka...@chromium.org>
                Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
                Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                Gerrit-CC: Fergal Daly <fer...@chromium.org>
                Gerrit-CC: Rakina Zata Amni <rak...@chromium.org>
                Gerrit-CC: gwsq
                Gerrit-Attention: Arthur Sonzogni <arthurs...@chromium.org>
                Gerrit-Comment-Date: Tue, 18 Aug 2026 14:44:57 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                open
                diffy

                Arthur Sonzogni (Gerrit)

                unread,
                5:24 AM (4 hours ago) 5:24 AM
                to Robert Kaplow, Stephen Nusko, Alex Rudenko, Chromium Metrics Reviews, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org

                Arthur Sonzogni voted Commit-Queue+2

                Commit-Queue+2
                Open in Gerrit

                Related details

                Attention set is empty
                Gerrit-Comment-Date: Wed, 19 Aug 2026 09:24:21 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                open
                diffy

                Arthur Sonzogni (Gerrit)

                unread,
                7:05 AM (3 hours ago) 7:05 AM
                to Robert Kaplow, Stephen Nusko, Alex Rudenko, Chromium Metrics Reviews, Charlie Reis, Rakina Zata Amni, Fergal Daly, Chromium LUCI CQ, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org
                Gerrit-Comment-Date: Wed, 19 Aug 2026 11:05:29 +0000
                Gerrit-HasComments: No
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                open
                diffy

                Chromium LUCI CQ (Gerrit)

                unread,
                7:11 AM (3 hours ago) 7:11 AM
                to Arthur Sonzogni, Robert Kaplow, Stephen Nusko, Alex Rudenko, Chromium Metrics Reviews, Charlie Reis, Rakina Zata Amni, Fergal Daly, bfcach...@chromium.org, devtools...@chromium.org, chromium...@chromium.org, asvitkine...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, chikamu...@chromium.org, ddrone...@google.com, devtools-re...@chromium.org, alexmo...@chromium.org, creis...@chromium.org, navigation...@chromium.org

                Chromium LUCI CQ submitted the change

                Change information

                Commit message:
                Ignore FrameReplicationState updates from speculative RFHs

                EnforceInsecureRequestPolicy, EnforceInsecureNavigationsSet and
                HadStickyUserActivationBeforeNavigationChanged write directly to the
                BrowsingContextState that a speculative RenderFrameHost shares with the
                FrameTreeNode's current document. This means that updates received on a
                speculative RenderFrameHost would overwrite the FrameReplicationState of
                the still-current cross-origin document and be broadcast to its proxies.

                Ignore these updates when the receiving RenderFrameHost is speculative,

                pending deletion, or in the back-forward cache. kPendingCommit is
                intentionally still accepted, since the renderer sends these messages
                while committing the new document and before the browser has processed
                DidCommitNavigation.
                Bug: 495529018
                Change-Id: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
                Reviewed-by: Robert Kaplow <rka...@chromium.org>
                Commit-Queue: Arthur Sonzogni <arthurs...@chromium.org>
                Auto-Submit: Arthur Sonzogni <arthurs...@chromium.org>
                Cr-Commit-Position: refs/heads/main@{#1682187}
                Files:
                • M base/tracing/protos/chrome_track_event.proto
                • M content/browser/back_forward_cache/back_forward_cache_can_store_document_result.cc
                • M content/browser/back_forward_cache_internal_browsertest.cc
                • M content/browser/devtools/protocol/page_handler.cc
                • M content/browser/renderer_host/render_frame_host_impl.cc
                • M content/browser/security_exploit_browsertest.cc
                • M content/public/browser/back_forward_cache.h
                • M tools/metrics/histograms/metadata/navigation/enums.xml
                Change size: M
                Delta: 8 files changed, 187 insertions(+), 1 deletion(-)
                Branch: refs/heads/main
                Submit Requirements:
                • requirement satisfiedCode-Review: +1 by Robert Kaplow
                Open in Gerrit
                Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                Gerrit-MessageType: merged
                Gerrit-Project: chromium/src
                Gerrit-Branch: main
                Gerrit-Change-Id: If7d0ec22c48ce9f16aadad906cd601190c44f0fd
                Gerrit-Change-Number: 8116306
                Gerrit-PatchSet: 18
                Gerrit-Owner: Arthur Sonzogni <arthurs...@chromium.org>
                Gerrit-Reviewer: Alex Rudenko <alexr...@chromium.org>
                Gerrit-Reviewer: Arthur Sonzogni <arthurs...@chromium.org>
                Gerrit-Reviewer: Charlie Reis <cr...@chromium.org>
                Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
                Gerrit-Reviewer: Robert Kaplow <rka...@chromium.org>
                Gerrit-Reviewer: Stephen Nusko <nus...@chromium.org>
                open
                diffy
                satisfied_requirement
                Reply all
                Reply to author
                Forward
                0 new messages