[Connection-Allowlist] Block subresource and worker requests redirects [chromium/src : main]

0 views
Skip to first unread message

Mike West (Gerrit)

unread,
Feb 25, 2026, 4:13:29 AM (6 days ago) Feb 25
to Shivani Sharma, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
Attention needed from Shivani Sharma

Mike West added 2 comments

Patchset-level comments
File-level comment, Patchset 7 (Latest):
Mike West . resolved

Tests look good, thanks! I have a question about the implementation approach.

File services/network/cors/cors_url_loader.cc
Line 665, Patchset 7 (Latest): }
Mike West . unresolved

I was expecting this to be somewhat similar to the approach you took in navigation, performing a check against `context_->IsNetworkForNonceAndUrlAllowed(...)` and passing in the redirect state. Is that an approach you rejected? It seems preferable to avoid holding another flag here if possible, since we're going to have the whole connection allowlists object in the network context to do the evaluation.

Open in Gerrit

Related details

Attention is currently required from:
  • Shivani Sharma
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: I67e1e8afdb50d184343dadbc7c5271891ec47601
Gerrit-Change-Number: 7604133
Gerrit-PatchSet: 7
Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
Gerrit-Reviewer: Mike West <mk...@chromium.org>
Gerrit-CC: Andrew Verge <ave...@chromium.org>
Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
Gerrit-Comment-Date: Wed, 25 Feb 2026 09:13:16 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Shivani Sharma (Gerrit)

unread,
Feb 25, 2026, 8:56:18 PM (6 days ago) Feb 25
to Mike West, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
Attention needed from Mike West

Shivani Sharma added 1 comment

File services/network/cors/cors_url_loader.cc
Mike West . unresolved

I was expecting this to be somewhat similar to the approach you took in navigation, performing a check against `context_->IsNetworkForNonceAndUrlAllowed(...)` and passing in the redirect state. Is that an approach you rejected? It seems preferable to avoid holding another flag here if possible, since we're going to have the whole connection allowlists object in the network context to do the evaluation.

Shivani Sharma

The scenario here is a bit different than navigation, where both the navigation start and redirect checks were on the NavigationRequest and also the checking function IsAllowedByConnectionAllowlist(). So we could store the state that this is a navigation allowed via connection allowlist and thus block the redirect.

Here the start check is in CorsURLLoaderFactory, redirect check is in CorsURLLoader which does not have the network_restrictions_id nor does it know that it was allowed via connection allowlist.

But I agree that there is benefit to centralize the logic so that reporting can happen from one place. Updated to propagate the network_restrictions_id to CorsURLLoader and on redirect invoke context_->IsNetworkForNonceAndUrlAllowed(...). This has the downside of checking the map again but that should be ok given its O(log n) time, only invoked at most for the 1st redirect and we need to access it anyways for reporting. We do make sure though to only check for requests that were initially allowed via connection allowlists.

Open in Gerrit

Related details

Attention is currently required from:
  • Mike West
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: I67e1e8afdb50d184343dadbc7c5271891ec47601
Gerrit-Change-Number: 7604133
Gerrit-PatchSet: 9
Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
Gerrit-Reviewer: Mike West <mk...@chromium.org>
Gerrit-CC: Andrew Verge <ave...@chromium.org>
Gerrit-Attention: Mike West <mk...@chromium.org>
Gerrit-Comment-Date: Thu, 26 Feb 2026 01:56:13 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Mike West <mk...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Shivani Sharma (Gerrit)

unread,
Feb 26, 2026, 6:24:06 PM (5 days ago) Feb 26
to Kenichi Ishibashi, Chromium LUCI CQ, Mike West, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
Attention needed from Kenichi Ishibashi and Mike West

Shivani Sharma added 1 comment

Patchset-level comments
File-level comment, Patchset 9 (Latest):
Shivani Sharma . resolved

@ba...@chromium.org: PTAL for services/network owner approvals, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Kenichi Ishibashi
  • Mike West
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: I67e1e8afdb50d184343dadbc7c5271891ec47601
Gerrit-Change-Number: 7604133
Gerrit-PatchSet: 9
Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Reviewer: Mike West <mk...@chromium.org>
Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
Gerrit-CC: Andrew Verge <ave...@chromium.org>
Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Attention: Mike West <mk...@chromium.org>
Gerrit-Comment-Date: Thu, 26 Feb 2026 23:24:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Kenichi Ishibashi (Gerrit)

unread,
Feb 26, 2026, 9:19:25 PM (5 days ago) Feb 26
to Shivani Sharma, Chromium LUCI CQ, Mike West, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
Attention needed from Mike West and Shivani Sharma

Kenichi Ishibashi voted and added 2 comments

Votes added by Kenichi Ishibashi

Code-Review+1

2 comments

Patchset-level comments
Kenichi Ishibashi . resolved

I'll defer to mkwst@ for actual review, so stamp-ish lgtm.

File services/network/network_context.h
Line 726, Patchset 9 (Latest): bool IsNetworkForNonceAndUrlAllowed(const base::UnguessableToken& nonce,
Kenichi Ishibashi . unresolved

The style guide suggests using return value over output parameters. It would be nice to follow the suggestion. Not a blocker though so feel free to mark this resolved if you disagree.

https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs

Open in Gerrit

Related details

Attention is currently required from:
  • Mike West
  • Shivani Sharma
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: I67e1e8afdb50d184343dadbc7c5271891ec47601
    Gerrit-Change-Number: 7604133
    Gerrit-PatchSet: 9
    Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-CC: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Fri, 27 Feb 2026 02:18:51 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mike West (Gerrit)

    unread,
    Feb 27, 2026, 3:54:33 AM (4 days ago) Feb 27
    to Shivani Sharma, Kenichi Ishibashi, Chromium LUCI CQ, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
    Attention needed from Shivani Sharma

    Mike West added 4 comments

    File services/network/cors/cors_url_loader.cc
    Mike West . unresolved

    I was expecting this to be somewhat similar to the approach you took in navigation, performing a check against `context_->IsNetworkForNonceAndUrlAllowed(...)` and passing in the redirect state. Is that an approach you rejected? It seems preferable to avoid holding another flag here if possible, since we're going to have the whole connection allowlists object in the network context to do the evaluation.

    Shivani Sharma

    The scenario here is a bit different than navigation, where both the navigation start and redirect checks were on the NavigationRequest and also the checking function IsAllowedByConnectionAllowlist(). So we could store the state that this is a navigation allowed via connection allowlist and thus block the redirect.

    Here the start check is in CorsURLLoaderFactory, redirect check is in CorsURLLoader which does not have the network_restrictions_id nor does it know that it was allowed via connection allowlist.

    But I agree that there is benefit to centralize the logic so that reporting can happen from one place. Updated to propagate the network_restrictions_id to CorsURLLoader and on redirect invoke context_->IsNetworkForNonceAndUrlAllowed(...). This has the downside of checking the map again but that should be ok given its O(log n) time, only invoked at most for the 1st redirect and we need to access it anyways for reporting. We do make sure though to only check for requests that were initially allowed via connection allowlists.

    Mike West

    Thanks for the explanation. I dug through the code a bit this morning, and this is more complicated than I thought. :) It spreads the checks over more layers than I expected and requires ductwork in both directions to pass state around that we really should already have access to. Hrm.

    I also think it's going to be substantially more complicated when we have to deal with report-only policies, so I'm glad I've been sick and haven't finished any of the reporting CLs yet... :)

    I have small thoughts below for potential improvements. I would very much like to avoid the out parameter in particular.

    File services/network/cors/cors_url_loader_factory.cc
    Line 455, Patchset 9 (Latest): options |= mojom::kURLLoadOptionAllowedByConnectionAllowlist;
    Mike West . unresolved

    We only use the out parameter here to determine whether we'll ask the `CorsURLLoader` to perform connection allowlist checks by setting this option, and it's not actually clear to me that that's a meaningful cost. Doing a map lookup on one response (due to the `redirect_count_ == 0` check) is trivial, and the complexity we'd add via this additional flag and the out parameter seems higher than it's worth.

    How would you feel about dropping the out parameter and this flag, and shifting the `CorsURLLoader` to perform the allowlist check `if (redirect_count_ == 0 && network_restrictions_id_)`?

    File services/network/network_context.cc
    Line 3638, Patchset 9 (Latest): *out_is_allowlisted = true;
    Mike West . unresolved

    Would we need this out parameter if we didn't have the exception list below?

    Skimming through the code, it looks like the exception mechanism is only called from `RenderFrameHostImpl::ExemptUrlFromNetworkRevocationForTesting()`, and none of the relevant tests in `NetworkContextTest` seem to deal with redirects. Can we simply apply the same behavior there, and avoid the out-parameter entirely (e.g. all redirected requests are either allowed or blocked as per connection allowlist)? Is it called elsewhere that I missed?

    (More broadly: do we need the exception list at all at this point? What pieces of Fenced Frame infrastructure are we keeping?)

    File services/network/public/mojom/url_loader_factory.mojom
    Line 68, Patchset 9 (Latest):const uint32 kURLLoadOptionAllowedByConnectionAllowlist = 1024;
    Mike West . unresolved

    Nit: Perhaps rename this to something like `kURLLoadOptionConnectionAllowlistEnforced` (or `...Present` or `...Declared` or something)? Using `AllowedByConnectionAllowlist` to determine whether we're _blocking_ a redirect response due to connection allowlist is a little unclear.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Shivani Sharma
    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: I67e1e8afdb50d184343dadbc7c5271891ec47601
    Gerrit-Change-Number: 7604133
    Gerrit-PatchSet: 9
    Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-CC: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Comment-Date: Fri, 27 Feb 2026 08:54:16 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Shivani Sharma <shiva...@chromium.org>
    Comment-In-Reply-To: Mike West <mk...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Shivani Sharma (Gerrit)

    unread,
    Feb 27, 2026, 5:40:02 PM (4 days ago) Feb 27
    to Kenichi Ishibashi, Chromium LUCI CQ, Mike West, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
    Attention needed from Kenichi Ishibashi and Mike West

    Shivani Sharma added 6 comments

    Patchset-level comments
    File-level comment, Patchset 10 (Latest):
    Shivani Sharma . resolved

    Thanks!

    File services/network/cors/cors_url_loader.cc
    Line 665, Patchset 7: }
    Mike West . resolved

    I was expecting this to be somewhat similar to the approach you took in navigation, performing a check against `context_->IsNetworkForNonceAndUrlAllowed(...)` and passing in the redirect state. Is that an approach you rejected? It seems preferable to avoid holding another flag here if possible, since we're going to have the whole connection allowlists object in the network context to do the evaluation.

    Shivani Sharma

    The scenario here is a bit different than navigation, where both the navigation start and redirect checks were on the NavigationRequest and also the checking function IsAllowedByConnectionAllowlist(). So we could store the state that this is a navigation allowed via connection allowlist and thus block the redirect.

    Here the start check is in CorsURLLoaderFactory, redirect check is in CorsURLLoader which does not have the network_restrictions_id nor does it know that it was allowed via connection allowlist.

    But I agree that there is benefit to centralize the logic so that reporting can happen from one place. Updated to propagate the network_restrictions_id to CorsURLLoader and on redirect invoke context_->IsNetworkForNonceAndUrlAllowed(...). This has the downside of checking the map again but that should be ok given its O(log n) time, only invoked at most for the 1st redirect and we need to access it anyways for reporting. We do make sure though to only check for requests that were initially allowed via connection allowlists.

    Mike West

    Thanks for the explanation. I dug through the code a bit this morning, and this is more complicated than I thought. :) It spreads the checks over more layers than I expected and requires ductwork in both directions to pass state around that we really should already have access to. Hrm.

    I also think it's going to be substantially more complicated when we have to deal with report-only policies, so I'm glad I've been sick and haven't finished any of the reporting CLs yet... :)

    I have small thoughts below for potential improvements. I would very much like to avoid the out parameter in particular.

    Shivani Sharma

    Acknowledged

    File services/network/cors/cors_url_loader_factory.cc
    Line 455, Patchset 9: options |= mojom::kURLLoadOptionAllowedByConnectionAllowlist;
    Mike West . resolved

    We only use the out parameter here to determine whether we'll ask the `CorsURLLoader` to perform connection allowlist checks by setting this option, and it's not actually clear to me that that's a meaningful cost. Doing a map lookup on one response (due to the `redirect_count_ == 0` check) is trivial, and the complexity we'd add via this additional flag and the out parameter seems higher than it's worth.

    How would you feel about dropping the out parameter and this flag, and shifting the `CorsURLLoader` to perform the allowlist check `if (redirect_count_ == 0 && network_restrictions_id_)`?

    Shivani Sharma

    sg to make it simpler given the trivial cost

    File services/network/network_context.h
    Line 726, Patchset 9: bool IsNetworkForNonceAndUrlAllowed(const base::UnguessableToken& nonce,
    Kenichi Ishibashi . resolved

    The style guide suggests using return value over output parameters. It would be nice to follow the suggestion. Not a blocker though so feel free to mark this resolved if you disagree.

    https://google.github.io/styleguide/cppguide.html#Inputs_and_Outputs

    Shivani Sharma

    N/A since the out param is removed.

    File services/network/network_context.cc
    Line 3638, Patchset 9: *out_is_allowlisted = true;
    Mike West . resolved

    Would we need this out parameter if we didn't have the exception list below?

    Skimming through the code, it looks like the exception mechanism is only called from `RenderFrameHostImpl::ExemptUrlFromNetworkRevocationForTesting()`, and none of the relevant tests in `NetworkContextTest` seem to deal with redirects. Can we simply apply the same behavior there, and avoid the out-parameter entirely (e.g. all redirected requests are either allowed or blocked as per connection allowlist)? Is it called elsewhere that I missed?

    (More broadly: do we need the exception list at all at this point? What pieces of Fenced Frame infrastructure are we keeping?)

    Shivani Sharma

    Thanks, the network revocation part of of fenced frames is slated for removal and at that point, I agree that returning bool because of
    `if (!network_revocation_nonces_.contains(nonce))`
    is the same as saying that that connection allowlist is not present to be consulted.
    That makes it an easier decision to remove the bool.

    File services/network/public/mojom/url_loader_factory.mojom
    Line 68, Patchset 9:const uint32 kURLLoadOptionAllowedByConnectionAllowlist = 1024;
    Mike West . resolved

    Nit: Perhaps rename this to something like `kURLLoadOptionConnectionAllowlistEnforced` (or `...Present` or `...Declared` or something)? Using `AllowedByConnectionAllowlist` to determine whether we're _blocking_ a redirect response due to connection allowlist is a little unclear.

    Shivani Sharma

    N/A now that this is removed.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kenichi Ishibashi
    • Mike West
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement 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: I67e1e8afdb50d184343dadbc7c5271891ec47601
    Gerrit-Change-Number: 7604133
    Gerrit-PatchSet: 10
    Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-CC: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Fri, 27 Feb 2026 22:39:58 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Shivani Sharma <shiva...@chromium.org>
    Comment-In-Reply-To: Kenichi Ishibashi <ba...@chromium.org>
    Comment-In-Reply-To: Mike West <mk...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mike West (Gerrit)

    unread,
    Mar 2, 2026, 2:15:48 AM (yesterday) Mar 2
    to Shivani Sharma, Kenichi Ishibashi, Chromium LUCI CQ, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
    Attention needed from Kenichi Ishibashi and Shivani Sharma

    Mike West voted and added 1 comment

    Votes added by Mike West

    Code-Review+1

    1 comment

    Patchset-level comments
    Mike West . resolved

    Thanks for taking another pass. This is much simpler. :)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kenichi Ishibashi
    • Shivani Sharma
    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: I67e1e8afdb50d184343dadbc7c5271891ec47601
      Gerrit-Change-Number: 7604133
      Gerrit-PatchSet: 10
      Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
      Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
      Gerrit-Reviewer: Mike West <mk...@chromium.org>
      Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
      Gerrit-CC: Andrew Verge <ave...@chromium.org>
      Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
      Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
      Gerrit-Comment-Date: Mon, 02 Mar 2026 07:15:29 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Blink W3C Test Autoroller (Gerrit)

      unread,
      Mar 2, 2026, 2:37:48 AM (yesterday) Mar 2
      to Shivani Sharma, Mike West, Kenichi Ishibashi, Chromium LUCI CQ, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
      Attention needed from Kenichi Ishibashi and Shivani Sharma

      Message from Blink W3C Test Autoroller

      Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/58160.

      When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

      WPT Export docs:
      https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kenichi Ishibashi
      • Shivani Sharma
      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: I67e1e8afdb50d184343dadbc7c5271891ec47601
      Gerrit-Change-Number: 7604133
      Gerrit-PatchSet: 10
      Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
      Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
      Gerrit-Reviewer: Mike West <mk...@chromium.org>
      Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
      Gerrit-CC: Andrew Verge <ave...@chromium.org>
      Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
      Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
      Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
      Gerrit-Comment-Date: Mon, 02 Mar 2026 07:37:42 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      open
      diffy

      Kenichi Ishibashi (Gerrit)

      unread,
      Mar 2, 2026, 2:42:39 AM (yesterday) Mar 2
      to Shivani Sharma, Blink W3C Test Autoroller, Mike West, Chromium LUCI CQ, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
      Attention needed from Shivani Sharma

      Kenichi Ishibashi voted and added 2 comments

      Votes added by Kenichi Ishibashi

      Code-Review+1

      2 comments

      Patchset-level comments
      Kenichi Ishibashi . resolved

      lgtm

      File services/network/cors/cors_url_loader.cc
      Line 668, Patchset 10 (Latest): HandleComplete(URLLoaderCompletionStatus(net::ERR_UNSAFE_REDIRECT));
      Kenichi Ishibashi . unresolved

      optional: Do we have test coverage for this case? If not, it would be nice to have.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Shivani Sharma
      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: I67e1e8afdb50d184343dadbc7c5271891ec47601
        Gerrit-Change-Number: 7604133
        Gerrit-PatchSet: 10
        Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
        Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Reviewer: Mike West <mk...@chromium.org>
        Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
        Gerrit-CC: Andrew Verge <ave...@chromium.org>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
        Gerrit-Comment-Date: Mon, 02 Mar 2026 07:42:15 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Shivani Sharma (Gerrit)

        unread,
        Mar 2, 2026, 7:48:08 AM (yesterday) Mar 2
        to Kenichi Ishibashi, Blink W3C Test Autoroller, Mike West, Chromium LUCI CQ, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
        Attention needed from Kenichi Ishibashi

        Shivani Sharma added 2 comments

        Patchset-level comments
        Shivani Sharma . resolved

        Thanks both!

        File services/network/cors/cors_url_loader.cc
        Line 668, Patchset 10 (Latest): HandleComplete(URLLoaderCompletionStatus(net::ERR_UNSAFE_REDIRECT));
        Kenichi Ishibashi . unresolved

        optional: Do we have test coverage for this case? If not, it would be nice to have.

        Shivani Sharma

        The test third_party/blink/web_tests/external/wpt/connection-allowlist/tentative/fetch-redirect.sub.window.js covers the redirect failure case. Was there something specific you were looking for in the test?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Kenichi Ishibashi
        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: I67e1e8afdb50d184343dadbc7c5271891ec47601
        Gerrit-Change-Number: 7604133
        Gerrit-PatchSet: 10
        Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
        Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Reviewer: Mike West <mk...@chromium.org>
        Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
        Gerrit-CC: Andrew Verge <ave...@chromium.org>
        Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
        Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Comment-Date: Mon, 02 Mar 2026 12:48:03 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Kenichi Ishibashi <ba...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Kenichi Ishibashi (Gerrit)

        unread,
        Mar 2, 2026, 7:00:13 PM (17 hours ago) Mar 2
        to Shivani Sharma, Blink W3C Test Autoroller, Mike West, Chromium LUCI CQ, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org
        Attention needed from Shivani Sharma

        Kenichi Ishibashi added 1 comment

        File services/network/cors/cors_url_loader.cc
        Line 668, Patchset 10 (Latest): HandleComplete(URLLoaderCompletionStatus(net::ERR_UNSAFE_REDIRECT));
        Kenichi Ishibashi . resolved

        optional: Do we have test coverage for this case? If not, it would be nice to have.

        Shivani Sharma

        The test third_party/blink/web_tests/external/wpt/connection-allowlist/tentative/fetch-redirect.sub.window.js covers the redirect failure case. Was there something specific you were looking for in the test?

        Kenichi Ishibashi

        Acknowledged, Gerrit implies that this isn't covered by tests. Probably it doesn't recognize WPTs.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Shivani Sharma
        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: I67e1e8afdb50d184343dadbc7c5271891ec47601
          Gerrit-Change-Number: 7604133
          Gerrit-PatchSet: 10
          Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-CC: Andrew Verge <ave...@chromium.org>
          Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
          Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Comment-Date: Mon, 02 Mar 2026 23:59:45 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          open
          diffy

          Shivani Sharma (Gerrit)

          unread,
          9:46 AM (2 hours ago) 9:46 AM
          to Kenichi Ishibashi, Blink W3C Test Autoroller, Mike West, Chromium LUCI CQ, Andrew Verge, AyeAye, chromium...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, network-ser...@chromium.org

          Shivani Sharma voted Commit-Queue+2

          Commit-Queue+2
          Open in Gerrit

          Related details

          Attention set is empty
          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: I67e1e8afdb50d184343dadbc7c5271891ec47601
          Gerrit-Change-Number: 7604133
          Gerrit-PatchSet: 10
          Gerrit-Owner: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-CC: Andrew Verge <ave...@chromium.org>
          Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
          Gerrit-Comment-Date: Tue, 03 Mar 2026 14:45:59 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy
          Reply all
          Reply to author
          Forward
          0 new messages