Add HTTP status code to prerenderStatusUpdated CDP event [chromium/src : main]

0 views
Skip to first unread message

Helmut Januschka (Gerrit)

unread,
Jan 27, 2026, 1:54:11 PMJan 27
to Helmut Januschka, Jerome Jiang, Mirko Bonadei, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, mar...@chromium.org, cblume...@chromium.org, fgal...@chromium.org, penghuan...@chromium.org, fuzzin...@chromium.org, jz...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org

Helmut Januschka abandoned this change.

View Change

Abandoned

Helmut Januschka abandoned this change

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: abandon
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ibd14c6718a8480301b993d693104a0e01a5211d6
Gerrit-Change-Number: 7522685
Gerrit-PatchSet: 3
Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
Gerrit-CC: Jerome Jiang <ji...@chromium.org>
Gerrit-CC: Mirko Bonadei <mbon...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Helmut Januschka (Gerrit)

unread,
Jan 30, 2026, 2:18:51 AMJan 30
to Helmut Januschka, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
Attention needed from Danil Somsikov and Hiroki Nakagawa

Helmut Januschka added 1 comment

Patchset-level comments
File-level comment, Patchset 6 (Latest):
Helmut Januschka . resolved

hello reviewers - thanks in advance for your help, this is the backend foundation, to be able to show http status in devtools frontend.


https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7522785

Open in Gerrit

Related details

Attention is currently required from:
  • Danil Somsikov
  • Hiroki Nakagawa
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: I3979842dfdcb7b3087242f645820ee64075a4710
Gerrit-Change-Number: 7522825
Gerrit-PatchSet: 6
Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-CC: Barry Pollard <barryp...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-Attention: Danil Somsikov <d...@chromium.org>
Gerrit-Comment-Date: Fri, 30 Jan 2026 07:18:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Hiroki Nakagawa (Gerrit)

unread,
Jan 30, 2026, 2:24:56 AMJan 30
to Helmut Januschka, Ken Okada, Danil Somsikov, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
Attention needed from Danil Somsikov, Helmut Januschka and Ken Okada

Hiroki Nakagawa added 1 comment

Patchset-level comments
Hiroki Nakagawa . resolved

+kenoss@ for prerender devtools support.

Open in Gerrit

Related details

Attention is currently required from:
  • Danil Somsikov
  • Helmut Januschka
  • Ken Okada
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: I3979842dfdcb7b3087242f645820ee64075a4710
Gerrit-Change-Number: 7522825
Gerrit-PatchSet: 6
Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-Reviewer: Ken Okada <ken...@chromium.org>
Gerrit-CC: Barry Pollard <barryp...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
Gerrit-Attention: Ken Okada <ken...@chromium.org>
Gerrit-Attention: Danil Somsikov <d...@chromium.org>
Gerrit-Comment-Date: Fri, 30 Jan 2026 07:24:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ken Okada (Gerrit)

unread,
Jan 30, 2026, 2:36:36 AMJan 30
to Helmut Januschka, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
Attention needed from Danil Somsikov, Helmut Januschka and Hiroki Nakagawa

Ken Okada added 1 comment

Patchset-level comments
Ken Okada . resolved

memo: I feel that it's too complicated for adding data for one variant of failure, which can be known in the different way.

1. I feel that users can get knowing the status code by seeing the network panel, which can be navigated with a link in the preload panel.
2. I feel that this can be implemented in pure frontend, as loader ID is associated.

Open in Gerrit

Related details

Attention is currently required from:
  • Danil Somsikov
  • Helmut Januschka
  • Hiroki Nakagawa
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: I3979842dfdcb7b3087242f645820ee64075a4710
Gerrit-Change-Number: 7522825
Gerrit-PatchSet: 6
Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-Reviewer: Ken Okada <ken...@chromium.org>
Gerrit-CC: Barry Pollard <barryp...@chromium.org>
Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
Gerrit-Attention: Hiroki Nakagawa <nhi...@chromium.org>
Gerrit-Attention: Danil Somsikov <d...@chromium.org>
Gerrit-Comment-Date: Fri, 30 Jan 2026 07:36:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Ken Okada (Gerrit)

unread,
Jan 30, 2026, 2:37:20 AMJan 30
to Helmut Januschka, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
Attention needed from Danil Somsikov, Helmut Januschka and Hiroki Nakagawa

Ken Okada added 1 comment

Patchset-level comments
Ken Okada . unresolved

memo: I feel that it's too complicated for adding data for one variant of failure, which can be known in the different way.

1. I feel that users can get knowing the status code by seeing the network panel, which can be navigated with a link in the preload panel.
2. I feel that this can be implemented in pure frontend, as loader ID is associated.

Ken Okada

(unresolved)

Open in Gerrit

Related details

Attention is currently required from:
  • Danil Somsikov
  • Helmut Januschka
  • Hiroki Nakagawa
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: I3979842dfdcb7b3087242f645820ee64075a4710
    Gerrit-Change-Number: 7522825
    Gerrit-PatchSet: 6
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-Reviewer: Ken Okada <ken...@chromium.org>
    Gerrit-CC: Barry Pollard <barryp...@chromium.org>
    Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
    Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
    Gerrit-Attention: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-Attention: Danil Somsikov <d...@chromium.org>
    Gerrit-Comment-Date: Fri, 30 Jan 2026 07:36:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Ken Okada <ken...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Helmut Januschka (Gerrit)

    unread,
    Jan 31, 2026, 4:51:14 PMJan 31
    to Helmut Januschka, Ken Okada, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
    Attention needed from Danil Somsikov, Hiroki Nakagawa and Ken Okada

    Helmut Januschka added 1 comment

    Patchset-level comments
    Ken Okada . unresolved

    memo: I feel that it's too complicated for adding data for one variant of failure, which can be known in the different way.

    1. I feel that users can get knowing the status code by seeing the network panel, which can be navigated with a link in the preload panel.
    2. I feel that this can be implemented in pure frontend, as loader ID is associated.

    Ken Okada

    (unresolved)

    Helmut Januschka

    Thanks — that makes sense, and we did consider deriving this in the frontend.

    Re (1): while the status code is usually visible in the Network panel, the intent here is to make the Preload/Prerender status event self-contained so the Preload panel (and any tooling consuming the Preload domain) can show the actual failure reason without requiring a cross-panel jump and manual correlation.

    Re (2): in principle we could correlate via `loaderId` in the frontend, but that would require DevTools to keep additional state and implement correlation logic between Preload events and Network requests. Since the browser already knows the HTTP status at the point we emit `NavigationBadHttpStatus`, exposing it directly on the CDP event keeps the semantics in one place and follows the existing pattern of putting “what happened” data into the protocol rather than rebuilding it in the UI.

    Also, DevTools isn’t the only CDP consumer; other CDP clients can subscribe to `Preload.prerenderStatusUpdated` as well, so having the status code in the protocol is generally useful beyond the DevTools frontend.


    if you see any optimizations/re-organizations/changes in the code it self, i am happy to address whatever makes the code fit!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Danil Somsikov
    • Hiroki Nakagawa
    • Ken Okada
    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: I3979842dfdcb7b3087242f645820ee64075a4710
    Gerrit-Change-Number: 7522825
    Gerrit-PatchSet: 6
    Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
    Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
    Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-Reviewer: Ken Okada <ken...@chromium.org>
    Gerrit-CC: Barry Pollard <barryp...@chromium.org>
    Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
    Gerrit-Attention: Hiroki Nakagawa <nhi...@chromium.org>
    Gerrit-Attention: Ken Okada <ken...@chromium.org>
    Gerrit-Attention: Danil Somsikov <d...@chromium.org>
    Gerrit-Comment-Date: Sat, 31 Jan 2026 21:50:56 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Helmut Januschka (Gerrit)

    unread,
    Feb 9, 2026, 4:10:12 PMFeb 9
    to Helmut Januschka, Ken Okada, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
    Attention needed from Danil Somsikov and Ken Okada

    Helmut Januschka added 1 comment

    Patchset-level comments
    Helmut Januschka . resolved

    ping

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Danil Somsikov
    • Ken Okada
    Gerrit-Attention: Ken Okada <ken...@chromium.org>
    Gerrit-Attention: Danil Somsikov <d...@chromium.org>
    Gerrit-Comment-Date: Mon, 09 Feb 2026 21:09:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Helmut Januschka (Gerrit)

    unread,
    Feb 21, 2026, 10:04:45 AMFeb 21
    to Helmut Januschka, Ken Okada, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
    Attention needed from Danil Somsikov and Ken Okada

    Helmut Januschka added 1 comment

    Patchset-level comments
    Helmut Januschka . resolved

    pong!

    Gerrit-Comment-Date: Sat, 21 Feb 2026 15:04:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Helmut Januschka (Gerrit)

    unread,
    Feb 27, 2026, 7:25:01 PMFeb 27
    to Helmut Januschka, Ken Okada, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
    Attention needed from Danil Somsikov and Ken Okada

    Helmut Januschka added 1 comment

    Patchset-level comments
    Helmut Januschka . resolved

    ping

    Gerrit-Comment-Date: Sat, 28 Feb 2026 00:24:48 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Hiroki Nakagawa (Gerrit)

    unread,
    Mar 1, 2026, 9:49:16 PM (14 days ago) Mar 1
    to Helmut Januschka, Ken Okada, Danil Somsikov, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
    Attention needed from Danil Somsikov, Helmut Januschka and Ken Okada

    Hiroki Nakagawa added 1 comment

    Patchset-level comments
    Hiroki Nakagawa . resolved

    Let me defer my review for content/browser/preloading/prerender until discussion with other DevTools experts settle down.

    Feel free to set the attention bit when this needs input from me.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Danil Somsikov
    • Helmut Januschka
    • Ken Okada
    Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
    Gerrit-Attention: Ken Okada <ken...@chromium.org>
    Gerrit-Attention: Danil Somsikov <d...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Mar 2026 02:49:10 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Danil Somsikov (Gerrit)

    unread,
    Mar 2, 2026, 2:14:03 AM (14 days ago) Mar 2
    to Helmut Januschka, Ken Okada, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
    Attention needed from Helmut Januschka and Ken Okada

    Danil Somsikov voted and added 1 comment

    Votes added by Danil Somsikov

    Code-Review-1

    1 comment

    Patchset-level comments
    Ken Okada . unresolved

    memo: I feel that it's too complicated for adding data for one variant of failure, which can be known in the different way.

    1. I feel that users can get knowing the status code by seeing the network panel, which can be navigated with a link in the preload panel.
    2. I feel that this can be implemented in pure frontend, as loader ID is associated.

    Ken Okada

    (unresolved)

    Helmut Januschka

    Thanks — that makes sense, and we did consider deriving this in the frontend.

    Re (1): while the status code is usually visible in the Network panel, the intent here is to make the Preload/Prerender status event self-contained so the Preload panel (and any tooling consuming the Preload domain) can show the actual failure reason without requiring a cross-panel jump and manual correlation.

    Re (2): in principle we could correlate via `loaderId` in the frontend, but that would require DevTools to keep additional state and implement correlation logic between Preload events and Network requests. Since the browser already knows the HTTP status at the point we emit `NavigationBadHttpStatus`, exposing it directly on the CDP event keeps the semantics in one place and follows the existing pattern of putting “what happened” data into the protocol rather than rebuilding it in the UI.

    Also, DevTools isn’t the only CDP consumer; other CDP clients can subscribe to `Preload.prerenderStatusUpdated` as well, so having the status code in the protocol is generally useful beyond the DevTools frontend.


    if you see any optimizations/re-organizations/changes in the code it self, i am happy to address whatever makes the code fit!

    Danil Somsikov

    +1 to implementing this on the client. Given that both end user feature and CDP is a mere convenience, let's aim for a minimal footprint. Find to add this as frontend feature provided a short one-pager explaining the benefits.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Helmut Januschka
    • Ken Okada
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement is blockingCode-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: I3979842dfdcb7b3087242f645820ee64075a4710
      Gerrit-Change-Number: 7522825
      Gerrit-PatchSet: 6
      Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
      Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
      Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
      Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
      Gerrit-Reviewer: Ken Okada <ken...@chromium.org>
      Gerrit-CC: Barry Pollard <barryp...@chromium.org>
      Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
      Gerrit-Attention: Helmut Januschka <hel...@januschka.com>
      Gerrit-Attention: Ken Okada <ken...@chromium.org>
      Gerrit-Comment-Date: Mon, 02 Mar 2026 07:13:42 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Helmut Januschka <hel...@januschka.com>
      Comment-In-Reply-To: Ken Okada <ken...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      blocking_requirement
      open
      diffy

      Ken Okada (Gerrit)

      unread,
      Mar 2, 2026, 3:27:18 AM (14 days ago) Mar 2
      to Helmut Januschka, Danil Somsikov, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
      Attention needed from Helmut Januschka

      Ken Okada added 1 comment

      Patchset-level comments
      Ken Okada . unresolved

      memo: I feel that it's too complicated for adding data for one variant of failure, which can be known in the different way.

      1. I feel that users can get knowing the status code by seeing the network panel, which can be navigated with a link in the preload panel.
      2. I feel that this can be implemented in pure frontend, as loader ID is associated.

      Ken Okada

      (unresolved)

      Helmut Januschka

      Thanks — that makes sense, and we did consider deriving this in the frontend.

      Re (1): while the status code is usually visible in the Network panel, the intent here is to make the Preload/Prerender status event self-contained so the Preload panel (and any tooling consuming the Preload domain) can show the actual failure reason without requiring a cross-panel jump and manual correlation.

      Re (2): in principle we could correlate via `loaderId` in the frontend, but that would require DevTools to keep additional state and implement correlation logic between Preload events and Network requests. Since the browser already knows the HTTP status at the point we emit `NavigationBadHttpStatus`, exposing it directly on the CDP event keeps the semantics in one place and follows the existing pattern of putting “what happened” data into the protocol rather than rebuilding it in the UI.

      Also, DevTools isn’t the only CDP consumer; other CDP clients can subscribe to `Preload.prerenderStatusUpdated` as well, so having the status code in the protocol is generally useful beyond the DevTools frontend.


      if you see any optimizations/re-organizations/changes in the code it self, i am happy to address whatever makes the code fit!

      Danil Somsikov

      +1 to implementing this on the client. Given that both end user feature and CDP is a mere convenience, let's aim for a minimal footprint. Find to add this as frontend feature provided a short one-pager explaining the benefits.

      Ken Okada

      I'm not an owner of CDP/frontend and it might not be common sense of CDP/frontend, but here's my opinion.

      There are two oppossite positions:

      P-model. CDP should provide simple model to observe and query: Like bare events, databasces, GraphQL.
      P-viewmodel. CDP should provide easy to show data.

      P-model prefers normalized, domain-separated data.
      P-viewmodel sometimes uses non-normalized, non-domain-separated data.

      What I learned from CDP/frontend development is the area what I saw prefers P-model. The easiest signal is that CDP uses domain. Off course, there may be exceptions. (I might be wrong though, but Elements panel/CSS are very complecated, both C++/frontend complecated. I won't be surprized even if those domains don't follow P-model strictly.)

      In this case,

      Re Re 1. Network/Preload domains should be kept seprated in CDP. We don't need to force users jump panels; we can associate data in the frontend and show them together in the Application panel.

      Re Re 2. Querying in the frontend is very easy. Maintaining ad-hoc code in C++ and protocol is hard. Exception needs reason and the bar is high.

      DevTools isn’t the only CDP consumer; other CDP clients can subscribe to Preload.prerenderStatusUpdated as well,

      That's yet another reason why we prefer P-model.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Helmut Januschka
      Gerrit-Comment-Date: Mon, 02 Mar 2026 08:27:08 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Helmut Januschka <hel...@januschka.com>
      Comment-In-Reply-To: Ken Okada <ken...@chromium.org>
      Comment-In-Reply-To: Danil Somsikov <d...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      blocking_requirement
      open
      diffy

      Helmut Januschka (Gerrit)

      unread,
      Mar 2, 2026, 4:02:35 PM (13 days ago) Mar 2
      to Helmut Januschka, Danil Somsikov, Ken Okada, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org
      Attention needed from Danil Somsikov and Ken Okada

      Helmut Januschka added 1 comment

      Patchset-level comments
      Ken Okada . resolved
      Helmut Januschka
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Danil Somsikov
      • Ken Okada
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement is blockingCode-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: I3979842dfdcb7b3087242f645820ee64075a4710
        Gerrit-Change-Number: 7522825
        Gerrit-PatchSet: 6
        Gerrit-Owner: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Danil Somsikov <d...@chromium.org>
        Gerrit-Reviewer: Helmut Januschka <hel...@januschka.com>
        Gerrit-Reviewer: Hiroki Nakagawa <nhi...@chromium.org>
        Gerrit-Reviewer: Ken Okada <ken...@chromium.org>
        Gerrit-CC: Barry Pollard <barryp...@chromium.org>
        Gerrit-CC: prerendering-reviews <prerenderi...@chromium.org>
        Gerrit-Attention: Ken Okada <ken...@chromium.org>
        Gerrit-Attention: Danil Somsikov <d...@chromium.org>
        Gerrit-Comment-Date: Mon, 02 Mar 2026 21:02:16 +0000
        satisfied_requirement
        unsatisfied_requirement
        blocking_requirement
        open
        diffy

        Helmut Januschka (Gerrit)

        unread,
        Mar 2, 2026, 4:02:35 PM (13 days ago) Mar 2
        to Helmut Januschka, Danil Somsikov, Ken Okada, Hiroki Nakagawa, Barry Pollard, Chromium LUCI CQ, chromium...@chromium.org, devtools...@chromium.org, prerendering-reviews, blink-re...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, gavin...@chromium.org, tburkar...@chromium.org

        Helmut Januschka abandoned this change.

        View Change

        Abandoned

        Helmut Januschka abandoned this change

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is blockingCode-Review
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: abandon
        satisfied_requirement
        blocking_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages