[Connection Allowlist] First pass at reporting. [chromium/src : main]

0 views
Skip to first unread message

Mike West (Gerrit)

unread,
Feb 11, 2026, 6:55:01 AMFeb 11
to Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
Attention needed from Shivani Sharma

Mike West voted and added 1 comment

Votes added by Mike West

Commit-Queue+1

1 comment

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

Shivani: Part 2. WDYT?

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 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: I873d95eda158f394d64a304a0a190a1c43a55fa5
Gerrit-Change-Number: 7566886
Gerrit-PatchSet: 2
Gerrit-Owner: Mike West <mk...@chromium.org>
Gerrit-Reviewer: Mike West <mk...@chromium.org>
Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
Gerrit-Comment-Date: Wed, 11 Feb 2026 11:54:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Shivani Sharma (Gerrit)

unread,
Feb 11, 2026, 10:06:12 PMFeb 11
to Mike West, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
Attention needed from Mike West

Shivani Sharma added 2 comments

File services/network/cors/cors_url_loader_factory.cc
Line 452, Patchset 3 (Latest): }
Shivani Sharma . unresolved

Additionally we also need to support reporting for the navigation checks in NavigationRequest::IsAllowedByConnectionAllowlist()

(https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/navigation_request.cc;drc=f0b58c8f0c76fd6559970d4f075c39ea701b4349;l=7346)

File services/network/network_context.cc
Line 3697, Patchset 3 (Parent): // Per
// https://wicg.github.io/connection-allowlists/#abstract-opdef-match-a-host-to-a-connection-allowlist,
// we need to match `synthetic_url` against a host-only variant against each
// URLPattern corresponding to `nonce`.
Shivani Sharma . unresolved

we can still retain this comment?

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: I873d95eda158f394d64a304a0a190a1c43a55fa5
    Gerrit-Change-Number: 7566886
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Thu, 12 Feb 2026 03:06:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mike West (Gerrit)

    unread,
    Feb 12, 2026, 1:40:38 AMFeb 12
    to Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
    Attention needed from Shivani Sharma

    Mike West added 1 comment

    File services/network/cors/cors_url_loader_factory.cc
    Shivani Sharma . unresolved

    Additionally we also need to support reporting for the navigation checks in NavigationRequest::IsAllowedByConnectionAllowlist()

    (https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/navigation_request.cc;drc=f0b58c8f0c76fd6559970d4f075c39ea701b4349;l=7346)

    Mike West

    Thanks for the pointer, I'd assumed everything ran through this chokepoint! Since this CL is already pretty complicated, I think I'd split the `NavigationRequest` bit out into a separate CL; I'll try to pull that together today.

    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: I873d95eda158f394d64a304a0a190a1c43a55fa5
    Gerrit-Change-Number: 7566886
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Comment-Date: Thu, 12 Feb 2026 06:40:18 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Shivani Sharma <shiva...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mike West (Gerrit)

    unread,
    Feb 12, 2026, 4:23:31 AMFeb 12
    to Kenichi Ishibashi, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
    Attention needed from Kenichi Ishibashi and Shivani Sharma

    Mike West added 1 comment

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

    bashi@: Part 2 of the CL I just sent you. This is all network service, and I'd appreciate your feedback.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kenichi Ishibashi
    • 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: I873d95eda158f394d64a304a0a190a1c43a55fa5
    Gerrit-Change-Number: 7566886
    Gerrit-PatchSet: 7
    Gerrit-Owner: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Comment-Date: Thu, 12 Feb 2026 09:23:19 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kenichi Ishibashi (Gerrit)

    unread,
    Feb 13, 2026, 12:48:32 AMFeb 13
    to Mike West, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
    Attention needed from Mike West and Shivani Sharma

    Kenichi Ishibashi voted and added 5 comments

    Votes added by Kenichi Ishibashi

    Code-Review+1

    5 comments

    Patchset-level comments
    Kenichi Ishibashi . resolved

    lgtm

    Disclaimer: I haven't taken a closer look at tests

    File services/network/network_context.h
    Line 1093, Patchset 7 (Latest): bool enforced_allowlist_present = false;
    Kenichi Ishibashi . unresolved

    Just wondering if using `std::optional<std::set<std::unique_ptr<url_pattern::SimpleUrlPatternMatcher>>>` for `enforced_allowlisted_patterns` makes sense. Probably not since we need to convert to mojo?

    Line 733, Patchset 7 (Latest): const net::NetworkAnonymizationKey* reporting_nak = nullptr);
    Kenichi Ishibashi . unresolved

    nit, optional: `base::optional_ref<net::NetworkAnonymizationKey>` instead of pointer? Ditto below.

    File services/network/network_context.cc
    Line 1613, Patchset 7 (Latest): // TODO(): We need a reporting source, which we'll need to thread through like
    Kenichi Ishibashi . unresolved

    Please add a bug number.

    Line 3681, Patchset 7 (Latest): !std::ranges::any_of(
    restriction.report_only_allowlisted_patterns,
    [&url](const std::unique_ptr<url_pattern::SimpleUrlPatternMatcher>&
    pattern) { return pattern->Match(url); })) {
    Kenichi Ishibashi . unresolved

    Is it possible to have helper functions (one calls Match(), the other calls HostOnlyMatch()) for this check to reduce the duplication and for readability?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mike West
    • 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: I873d95eda158f394d64a304a0a190a1c43a55fa5
    Gerrit-Change-Number: 7566886
    Gerrit-PatchSet: 7
    Gerrit-Owner: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Fri, 13 Feb 2026 05:48:06 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mike West (Gerrit)

    unread,
    Feb 23, 2026, 9:23:10 AMFeb 23
    to Kenichi Ishibashi, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
    Attention needed from Kenichi Ishibashi and Shivani Sharma

    Mike West added 6 comments

    File services/network/cors/cors_url_loader_factory.cc
    Line 452, Patchset 3: }
    Shivani Sharma . resolved

    Additionally we also need to support reporting for the navigation checks in NavigationRequest::IsAllowedByConnectionAllowlist()

    (https://source.chromium.org/chromium/chromium/src/+/main:content/browser/renderer_host/navigation_request.cc;drc=f0b58c8f0c76fd6559970d4f075c39ea701b4349;l=7346)

    Mike West

    Thanks for the pointer, I'd assumed everything ran through this chokepoint! Since this CL is already pretty complicated, I think I'd split the `NavigationRequest` bit out into a separate CL; I'll try to pull that together today.

    Mike West
    File services/network/network_context.h
    Line 1093, Patchset 7: bool enforced_allowlist_present = false;
    Kenichi Ishibashi . resolved

    Just wondering if using `std::optional<std::set<std::unique_ptr<url_pattern::SimpleUrlPatternMatcher>>>` for `enforced_allowlisted_patterns` makes sense. Probably not since we need to convert to mojo?

    Mike West

    I think we can use `std::optional`. That's probably clearer than carrying the additional boolean.

    Line 733, Patchset 7: const net::NetworkAnonymizationKey* reporting_nak = nullptr);
    Kenichi Ishibashi . resolved

    nit, optional: `base::optional_ref<net::NetworkAnonymizationKey>` instead of pointer? Ditto below.

    Mike West

    This should really be unconditional; the pointer implementation is leftover from a previous attempt that I ended up backing out. :/ Fixing it up! Thanks for calling it out.

    File services/network/network_context.cc
    Line 1613, Patchset 7: // TODO(): We need a reporting source, which we'll need to thread through like
    Kenichi Ishibashi . resolved

    Please add a bug number.

    Mike West

    Done

    Line 3681, Patchset 7: !std::ranges::any_of(

    restriction.report_only_allowlisted_patterns,
    [&url](const std::unique_ptr<url_pattern::SimpleUrlPatternMatcher>&
    pattern) { return pattern->Match(url); })) {
    Kenichi Ishibashi . unresolved

    Is it possible to have helper functions (one calls Match(), the other calls HostOnlyMatch()) for this check to reduce the duplication and for readability?

    Mike West

    I moved the logic into two lambdas. WDYT?

    Line 3697, Patchset 3 (Parent): // Per
    // https://wicg.github.io/connection-allowlists/#abstract-opdef-match-a-host-to-a-connection-allowlist,
    // we need to match `synthetic_url` against a host-only variant against each
    // URLPattern corresponding to `nonce`.
    Shivani Sharma . resolved

    we can still retain this comment?

    Mike West

    Done

    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 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: I873d95eda158f394d64a304a0a190a1c43a55fa5
    Gerrit-Change-Number: 7566886
    Gerrit-PatchSet: 9
    Gerrit-Owner: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Comment-Date: Mon, 23 Feb 2026 14:22:57 +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

    Kenichi Ishibashi (Gerrit)

    unread,
    Feb 23, 2026, 9:39:14 PMFeb 23
    to Mike West, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@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

    lgtm

    File services/network/network_context.cc
    Line 3681, Patchset 7: !std::ranges::any_of(
    restriction.report_only_allowlisted_patterns,
    [&url](const std::unique_ptr<url_pattern::SimpleUrlPatternMatcher>&
    pattern) { return pattern->Match(url); })) {
    Kenichi Ishibashi . resolved

    Is it possible to have helper functions (one calls Match(), the other calls HostOnlyMatch()) for this check to reduce the duplication and for readability?

    Mike West

    I moved the logic into two lambdas. WDYT?

    Kenichi Ishibashi

    Looks great, thanks!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mike West
    • 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: I873d95eda158f394d64a304a0a190a1c43a55fa5
      Gerrit-Change-Number: 7566886
      Gerrit-PatchSet: 9
      Gerrit-Owner: Mike West <mk...@chromium.org>
      Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
      Gerrit-Reviewer: Mike West <mk...@chromium.org>
      Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
      Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
      Gerrit-Attention: Mike West <mk...@chromium.org>
      Gerrit-Comment-Date: Tue, 24 Feb 2026 02:38:53 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Shivani Sharma (Gerrit)

      unread,
      Feb 23, 2026, 10:17:06 PMFeb 23
      to Mike West, Kenichi Ishibashi, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
      Attention needed from Mike West

      Shivani Sharma added 5 comments

      File services/network/network_context.h
      Line 734, Patchset 9 (Latest): // If `reporting_nak` is non-null, this method will queue a
      // "connection-allowlist" report if the check fails (for either enforced or
      // report-only lists).
      Shivani Sharma . unresolved

      nit: To add this to the above function as well.

      nit: `reporting_nak` to be replaced with `network_anonymization_key`

      File services/network/network_context.cc
      Line 1615, Patchset 9 (Latest): // TODO(482728970): We need a reporting source, which we'll need to thread
      Shivani Sharma . unresolved
      Line 3693, Patchset 9 (Latest): /*enforced=*/false);
      Shivani Sharma . unresolved

      Could we add tests for these reports: either browser tests or WPTs?

      Line 3696, Patchset 9 (Latest): // Then, do the against the enforced allowlist, and return `false` to cancel
      Shivani Sharma . unresolved

      nit: typo

      Line 3771, Patchset 9 (Latest): // Then, do the against the enforced allowlist, and return `false` to cancel
      Shivani Sharma . unresolved

      nit: typo

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Mike West
      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: I873d95eda158f394d64a304a0a190a1c43a55fa5
        Gerrit-Change-Number: 7566886
        Gerrit-PatchSet: 9
        Gerrit-Owner: Mike West <mk...@chromium.org>
        Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Reviewer: Mike West <mk...@chromium.org>
        Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
        Gerrit-Attention: Mike West <mk...@chromium.org>
        Gerrit-Comment-Date: Tue, 24 Feb 2026 03:16:57 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Mike West (Gerrit)

        unread,
        Feb 24, 2026, 8:12:17 AMFeb 24
        to Kenichi Ishibashi, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
        Attention needed from Shivani Sharma

        Mike West added 5 comments

        File services/network/network_context.h
        Line 734, Patchset 9: // If `reporting_nak` is non-null, this method will queue a

        // "connection-allowlist" report if the check fails (for either enforced or
        // report-only lists).
        Shivani Sharma . resolved

        nit: To add this to the above function as well.

        nit: `reporting_nak` to be replaced with `network_anonymization_key`

        Mike West

        Done

        File services/network/network_context.cc
        Line 1615, Patchset 9: // TODO(482728970): We need a reporting source, which we'll need to thread
        Shivani Sharma . resolved

        nit: TODO(crbug.com/482728970)

        Mike West

        Done

        Line 3693, Patchset 9: /*enforced=*/false);
        Shivani Sharma . resolved

        Could we add tests for these reports: either browser tests or WPTs?

        Mike West

        Reports won't actually be sent (or delivered to `ReportingObserver` instances) until I pipe the reporting source through to these callsites as per the TODO above. I can verify that the reports are properly queued, but can't do much more until a future CL. (see https://chromium.googlesource.com/chromium/src/+/HEAD/net/reporting/README.md#:~:text=A%20reporting%20source%2C%20used,using%20this%20source%20token. for some marginal context).

        Line 3696, Patchset 9: // Then, do the against the enforced allowlist, and return `false` to cancel
        Shivani Sharma . resolved

        nit: typo

        Mike West

        Done

        Line 3771, Patchset 9: // Then, do the against the enforced allowlist, and return `false` to cancel
        Shivani Sharma . resolved

        nit: typo

        Mike West

        Done

        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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 9
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Comment-Date: Tue, 24 Feb 2026 13:11:59 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Shivani Sharma <shiva...@chromium.org>
          satisfied_requirement
          open
          diffy

          Mike West (Gerrit)

          unread,
          Feb 24, 2026, 8:14:28 AMFeb 24
          to Kenichi Ishibashi, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
          Attention needed from Shivani Sharma

          Mike West added 1 comment

          File services/network/network_context.cc
          Line 3693, Patchset 9: /*enforced=*/false);
          Shivani Sharma . resolved

          Could we add tests for these reports: either browser tests or WPTs?

          Mike West

          Reports won't actually be sent (or delivered to `ReportingObserver` instances) until I pipe the reporting source through to these callsites as per the TODO above. I can verify that the reports are properly queued, but can't do much more until a future CL. (see https://chromium.googlesource.com/chromium/src/+/HEAD/net/reporting/README.md#:~:text=A%20reporting%20source%2C%20used,using%20this%20source%20token. for some marginal context).

          Mike West

          (Started on this in https://chromium-review.googlesource.com/c/chromium/src/+/7572362/ fwiw. Need to rebase and certainly agree that we'll want WPT in place before landing.)

          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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 10
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Comment-Date: Tue, 24 Feb 2026 13:14:11 +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
          open
          diffy

          Shivani Sharma (Gerrit)

          unread,
          Feb 24, 2026, 8:18:40 AMFeb 24
          to Mike West, Kenichi Ishibashi, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
          Attention needed from Mike West

          Shivani Sharma voted and added 1 comment

          Votes added by Shivani Sharma

          Code-Review+1

          1 comment

          File services/network/network_context.cc
          Line 3693, Patchset 9: /*enforced=*/false);
          Shivani Sharma . resolved

          Could we add tests for these reports: either browser tests or WPTs?

          Mike West

          Reports won't actually be sent (or delivered to `ReportingObserver` instances) until I pipe the reporting source through to these callsites as per the TODO above. I can verify that the reports are properly queued, but can't do much more until a future CL. (see https://chromium.googlesource.com/chromium/src/+/HEAD/net/reporting/README.md#:~:text=A%20reporting%20source%2C%20used,using%20this%20source%20token. for some marginal context).

          Mike West

          (Started on this in https://chromium-review.googlesource.com/c/chromium/src/+/7572362/ fwiw. Need to rebase and certainly agree that we'll want WPT in place before landing.)

          Shivani Sharma

          Ack, thanks!

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Mike West
          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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 10
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Mike West <mk...@chromium.org>
          Gerrit-Comment-Date: Tue, 24 Feb 2026 13:18:33 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Shivani Sharma (Gerrit)

          unread,
          Mar 5, 2026, 2:35:20 PMMar 5
          to Mike West, Kenichi Ishibashi, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
          Attention needed from Kenichi Ishibashi and Mike West

          Shivani Sharma voted and added 1 comment

          Votes added by Shivani Sharma

          Code-Review+1

          1 comment

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

          lgtm, 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 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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 11
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Attention: Mike West <mk...@chromium.org>
          Gerrit-Comment-Date: Thu, 05 Mar 2026 19:35:14 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Kenichi Ishibashi (Gerrit)

          unread,
          Mar 5, 2026, 7:04:15 PMMar 5
          to Mike West, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
          Attention needed from Mike West

          Kenichi Ishibashi added 1 comment

          Patchset-level comments
          Kenichi Ishibashi . resolved

          Looks like tests are failing?

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Mike West
          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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 11
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Mike West <mk...@chromium.org>
          Gerrit-Comment-Date: Fri, 06 Mar 2026 00:03:44 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Mike West (Gerrit)

          unread,
          Mar 19, 2026, 10:13:49 AMMar 19
          to Shivani Sharma, Kenichi Ishibashi, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org

          Mike West added 1 comment

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

          bashi@: Would you mind re-stamping //services/network/cors/cors_url_loader.cc? Thanks!

          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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 13
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Comment-Date: Thu, 19 Mar 2026 14:13:32 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Kenichi Ishibashi (Gerrit)

          unread,
          Mar 22, 2026, 9:56:37 PM (12 days ago) Mar 22
          to Mike West, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org
          Attention needed from Mike West

          Kenichi Ishibashi voted and added 1 comment

          Votes added by Kenichi Ishibashi

          Code-Review+1

          1 comment

          Patchset-level comments
          File-level comment, Patchset 14 (Latest):
          Kenichi Ishibashi . resolved

          lgtm

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Mike West
          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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 14
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Mike West <mk...@chromium.org>
          Gerrit-Comment-Date: Mon, 23 Mar 2026 01:56:20 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Mike West (Gerrit)

          unread,
          Apr 2, 2026, 3:48:40 AM (2 days ago) Apr 2
          to Kenichi Ishibashi, Shivani Sharma, AyeAye, chromium...@chromium.org, Chromium LUCI CQ, fenced-fra...@chromium.org, network-ser...@chromium.org

          Mike West 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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 19
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Comment-Date: Thu, 02 Apr 2026 07:48:26 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          Apr 2, 2026, 5:00:53 AM (2 days ago) Apr 2
          to Mike West, Kenichi Ishibashi, Shivani Sharma, AyeAye, chromium...@chromium.org, fenced-fra...@chromium.org, network-ser...@chromium.org

          Chromium LUCI CQ submitted the change with unreviewed changes

          Unreviewed changes

          14 is the latest approved patch-set.
          The change was submitted with unreviewed changes in the following files:

          ```
          The name of the file: services/network/network_context.h
          Insertions: 2, Deletions: 1.

          The diff is too large to show. Please review the diff.
          ```
          ```
          The name of the file: services/network/network_context_unittest.cc
          Insertions: 36, Deletions: 3.

          The diff is too large to show. Please review the diff.
          ```
          ```
          The name of the file: services/network/network_context.cc
          Insertions: 46, Deletions: 27.

          The diff is too large to show. Please review the diff.
          ```
          ```
          The name of the file: services/network/websocket_factory.cc
          Insertions: 14, Deletions: 0.

          The diff is too large to show. Please review the diff.
          ```

          Change information

          Commit message:
          [Connection Allowlist] First pass at reporting.

          This CL wires up the `report-only` headers that were introduced in the
          first CL in this chain, along with the reporting endpoints for
          enforced allowlists.

          This is the second CL in a short series which aims to implement
          reporting for Connection Allowlist:

          1. https://crbug.com/c/7557233 Passing report info during revocation.
          2. https://crbug.com/c/7566886 [You are here.]
          3. https://crbug.com/c/7567805 Reporting in `NavigationRequest`.
          Bug: 482728970
          Change-Id: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Reviewed-by: Kenichi Ishibashi <ba...@chromium.org>
          Commit-Queue: Mike West <mk...@chromium.org>
          Reviewed-by: Shivani Sharma <shiva...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1609040}
          Files:
          • M services/network/cors/cors_url_loader.cc
          • M services/network/cors/cors_url_loader_factory.cc
          • M services/network/network_context.cc
          • M services/network/network_context.h
          • M services/network/network_context_unittest.cc
          • M services/network/websocket_factory.cc
          Change size: L
          Delta: 6 files changed, 462 insertions(+), 150 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Shivani Sharma, +1 by Kenichi Ishibashi
          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: I873d95eda158f394d64a304a0a190a1c43a55fa5
          Gerrit-Change-Number: 7566886
          Gerrit-PatchSet: 20
          Gerrit-Owner: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Shivani Sharma <shiva...@chromium.org>
          open
          diffy
          satisfied_requirement
          Reply all
          Reply to author
          Forward
          0 new messages