[blink] Add connectionallowlist iframe attribute + IPC transport [chromium/src : main]

0 views
Skip to first unread message

Giovanni Del Valle (Gerrit)

unread,
Jun 11, 2026, 6:18:44 PMJun 11
to Chromium LUCI CQ, Brandon Maslen, Andrew Verge, Mike West, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
Attention needed from Andrew Verge, Brandon Maslen, Giovanni Del Valle and Mike West

Message from Giovanni Del Valle

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Andrew Verge
  • Brandon Maslen
  • Giovanni Del Valle
  • Mike West
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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
Gerrit-Change-Number: 7925636
Gerrit-PatchSet: 2
Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
Gerrit-Reviewer: Mike West <mk...@chromium.org>
Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
Gerrit-Attention: Andrew Verge <ave...@chromium.org>
Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
Gerrit-Attention: Mike West <mk...@chromium.org>
Gerrit-Comment-Date: Thu, 11 Jun 2026 22:18:27 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Mike West (Gerrit)

unread,
Jun 12, 2026, 2:57:54 AMJun 12
to Giovanni Del Valle, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
Attention needed from Andrew Verge, Brandon Maslen and Giovanni Del Valle

Mike West added 9 comments

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

Thanks!

Commit Message
Line 9, Patchset 3 (Latest):Second CL for Connection-Allowlist embedded enforcement (after the
Mike West . unresolved

Would you mind collecting the relevant CLs here? See e.g. the commit message for https://chromium-review.googlesource.com/c/chromium/src/+/6985001.

It's quite a bit easier to follow the dependencies that way.

File content/browser/loader/connection_allowlist_browsertest.cc
Line 2961, Patchset 3 (Latest): "ConnectionAllowlistEmbeddedEnforcement");
Mike West . unresolved

Nit: Probably best to set `ConnectionAllowlist` as well.

Line 2993, Patchset 3 (Latest): kAllowlist, child_url)));
Mike West . unresolved

Nit: Whitespace here is a little odd.

File third_party/blink/public/mojom/frame/frame.mojom
Line 242, Patchset 3 (Latest): string? required_connection_allowlist;
Mike West . unresolved

As noted in the previous CL: ideally, this would be a `network.mojom.ConnectionAllowlist?`. Is `response-origin` the reason you're avoiding this? If so, perhaps we should consider shifting our implementation to something more like CSP's `allow_self` (e.g. https://source.chromium.org/chromium/chromium/src/+/main:services/network/public/mojom/content_security_policy.mojom;drc=a1b6be40cda9d857c4d94a0734df2b82c9a5e64c;l=78).

File third_party/blink/renderer/core/html/html_iframe_element.cc
Line 324, Patchset 3 (Latest): }
Mike West . unresolved

As noted in the previous CL: Since this code more or less entirely replicates parsing the `csp` attribute, consider pulling this out into a helper function for this kind of attribute.

Line 687, Patchset 3 (Latest): attributes->required_connection_allowlist = required_connection_allowlist_;
Mike West . unresolved

As noted in the previous CL (and above), it seems reasonable to parse this in the renderer rather than the browser so that we're passing structured data around consistently.

File third_party/blink/renderer/core/html/html_iframe_element.idl
Line 44, Patchset 3 (Latest): [RuntimeEnabled=ConnectionAllowlistEmbeddedEnforcement, CEReactions, Reflect] attribute DOMString connectionAllowlist;
Mike West . unresolved

Please add specific WPT coverage for this change (via IDLHarness or otherwise) in addition to updating the relevant test expectations noted in the test failures.

File third_party/blink/renderer/platform/runtime_enabled_features.json5
Line 1350, Patchset 3 (Latest): status: "experimental",
Mike West . unresolved
Nit:
```suggestion
status: "experimental",
depends_on: ["ConnectionAllowlist"],
```
Open in Gerrit

Related details

Attention is currently required from:
  • Andrew Verge
  • Brandon Maslen
  • Giovanni Del Valle
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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
    Gerrit-Change-Number: 7925636
    Gerrit-PatchSet: 3
    Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
    Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Attention: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Comment-Date: Fri, 12 Jun 2026 06:57:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mike West (Gerrit)

    unread,
    Jun 12, 2026, 2:58:13 AMJun 12
    to Giovanni Del Valle, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen and Giovanni Del Valle

    Mike West added 1 comment

    Patchset-level comments
    Mike West . resolved

    +Noam, FYI.

    Gerrit-CC: Noam Rosenthal <nrose...@google.com>
    Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Attention: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Comment-Date: Fri, 12 Jun 2026 06:57:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Noam Rosenthal (Gerrit)

    unread,
    Jun 12, 2026, 3:02:19 AMJun 12
    to Giovanni Del Valle, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, Mike West, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen and Giovanni Del Valle

    Noam Rosenthal added 1 comment

    Patchset-level comments
    Noam Rosenthal . resolved

    I'd like to see an Intent to Prototype for this.

    Gerrit-Comment-Date: Fri, 12 Jun 2026 07:01:56 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Andrew Verge (Gerrit)

    unread,
    Jun 12, 2026, 11:25:47 AMJun 12
    to Giovanni Del Valle, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Mike West, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Brandon Maslen and Giovanni Del Valle

    Andrew Verge added 2 comments

    Patchset-level comments
    Andrew Verge . resolved

    Largely deferring this review to Mike as he has the most familiarity in this area. Mechanically things mostly LGTM and will +1 once his comments are resolved.

    File third_party/blink/renderer/core/html/html_iframe_element.cc
    Line 687, Patchset 3 (Latest): attributes->required_connection_allowlist = required_connection_allowlist_;
    Mike West . unresolved

    As noted in the previous CL (and above), it seems reasonable to parse this in the renderer rather than the browser so that we're passing structured data around consistently.

    Andrew Verge

    +1 that ideally we'd use a parsed Connection Allowlist here and elsewhere in the renderer for consistency

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Brandon Maslen
    • Giovanni Del Valle
    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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
    Gerrit-Change-Number: 7925636
    Gerrit-PatchSet: 3
    Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
    Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-CC: Noam Rosenthal <nrose...@google.com>
    Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Comment-Date: Fri, 12 Jun 2026 15:25:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mike West <mk...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Giovanni Del Valle (Gerrit)

    unread,
    Jun 12, 2026, 7:13:25 PMJun 12
    to Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, Mike West, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen and Mike West

    Giovanni Del Valle added 3 comments

    File content/browser/loader/connection_allowlist_browsertest.cc
    Line 2961, Patchset 3: "ConnectionAllowlistEmbeddedEnforcement");
    Mike West . resolved

    Nit: Probably best to set `ConnectionAllowlist` as well.

    Giovanni Del Valle

    Done

    Line 2993, Patchset 3: kAllowlist, child_url)));
    Mike West . resolved

    Nit: Whitespace here is a little odd.

    Giovanni Del Valle

    Done

    File third_party/blink/renderer/platform/runtime_enabled_features.json5
    Line 1350, Patchset 3: status: "experimental",
    Mike West . resolved
    Nit:
    ```suggestion
    status: "experimental",
    depends_on: ["ConnectionAllowlist"],
    ```
    Giovanni Del Valle

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Verge
    • Brandon Maslen
    • 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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
    Gerrit-Change-Number: 7925636
    Gerrit-PatchSet: 8
    Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
    Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-CC: Noam Rosenthal <nrose...@google.com>
    Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Attention: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Fri, 12 Jun 2026 23:13:08 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Giovanni Del Valle (Gerrit)

    unread,
    Jun 12, 2026, 7:17:55 PMJun 12
    to Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, Mike West, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen and Mike West

    Giovanni Del Valle added 1 comment

    Commit Message
    Line 9, Patchset 3:Second CL for Connection-Allowlist embedded enforcement (after the
    Mike West . resolved

    Would you mind collecting the relevant CLs here? See e.g. the commit message for https://chromium-review.googlesource.com/c/chromium/src/+/6985001.

    It's quite a bit easier to follow the dependencies that way.

    Giovanni Del Valle

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Verge
    • Brandon Maslen
    • 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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
    Gerrit-Change-Number: 7925636
    Gerrit-PatchSet: 11
    Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
    Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-CC: Noam Rosenthal <nrose...@google.com>
    Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Attention: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Fri, 12 Jun 2026 23:17:45 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Giovanni Del Valle (Gerrit)

    unread,
    Jun 12, 2026, 7:21:41 PMJun 12
    to Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, Mike West, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen and Mike West

    Giovanni Del Valle added 1 comment

    File third_party/blink/renderer/platform/runtime_enabled_features.json5
    Line 1350, Patchset 3: status: "experimental",
    Mike West . unresolved
    Nit:
    ```suggestion
    status: "experimental",
    depends_on: ["ConnectionAllowlist"],
    ```
    Giovanni Del Valle

    Done

    Giovanni Del Valle

    Marked as unresolved due to build break. Taking the time to investigate.

    Gerrit-Comment-Date: Fri, 12 Jun 2026 23:21:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Giovanni Del Valle <gdel...@microsoft.com>
    Comment-In-Reply-To: Mike West <mk...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Giovanni Del Valle (Gerrit)

    unread,
    Jun 16, 2026, 10:01:28 AMJun 16
    to Mike West, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen and Mike West

    Giovanni Del Valle added 4 comments

    File third_party/blink/public/mojom/frame/frame.mojom
    Line 242, Patchset 3: string? required_connection_allowlist;
    Mike West . resolved

    As noted in the previous CL: ideally, this would be a `network.mojom.ConnectionAllowlist?`. Is `response-origin` the reason you're avoiding this? If so, perhaps we should consider shifting our implementation to something more like CSP's `allow_self` (e.g. https://source.chromium.org/chromium/chromium/src/+/main:services/network/public/mojom/content_security_policy.mojom;drc=a1b6be40cda9d857c4d94a0734df2b82c9a5e64c;l=78).

    Giovanni Del Valle

    Done. This is now network.mojom.ConnectionAllowlist?, and yes, response-origin was the reason for the earlier string. ConnectionAllowlist now carries a bool match_response_origin (comparable to allow_self)

    File third_party/blink/renderer/core/html/html_iframe_element.cc
    Line 324, Patchset 3: }
    Mike West . resolved

    As noted in the previous CL: Since this code more or less entirely replicates parsing the `csp` attribute, consider pulling this out into a helper function for this kind of attribute.

    Giovanni Del Valle

    Done

    Line 687, Patchset 3: attributes->required_connection_allowlist = required_connection_allowlist_;
    Mike West . resolved

    As noted in the previous CL (and above), it seems reasonable to parse this in the renderer rather than the browser so that we're passing structured data around consistently.

    Andrew Verge

    +1 that ideally we'd use a parsed Connection Allowlist here and elsewhere in the renderer for consistency

    Giovanni Del Valle

    Done

    File third_party/blink/renderer/core/html/html_iframe_element.idl
    Line 44, Patchset 3: [RuntimeEnabled=ConnectionAllowlistEmbeddedEnforcement, CEReactions, Reflect] attribute DOMString connectionAllowlist;
    Mike West . resolved

    Please add specific WPT coverage for this change (via IDLHarness or otherwise) in addition to updating the relevant test expectations noted in the test failures.

    Giovanni Del Valle

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Verge
    • Brandon Maslen
    • 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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
    Gerrit-Change-Number: 7925636
    Gerrit-PatchSet: 13
    Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
    Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Reviewer: Mike West <mk...@chromium.org>
    Gerrit-CC: Noam Rosenthal <nrose...@google.com>
    Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
    Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
    Gerrit-Attention: Andrew Verge <ave...@chromium.org>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Tue, 16 Jun 2026 14:01:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Andrew Verge <ave...@chromium.org>
    Comment-In-Reply-To: Mike West <mk...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Noam Rosenthal (Gerrit)

    unread,
    Jun 17, 2026, 4:58:58 AMJun 17
    to Giovanni Del Valle, Mike West, Shivani Sharma, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen, Giovanni Del Valle and Mike West

    Noam Rosenthal added 5 comments

    File third_party/blink/renderer/core/html/html_iframe_element.cc
    Line 323, Patchset 13 (Latest): RuntimeEnabledFeatures::ConnectionAllowlistEnabled(
    Noam Rosenthal . unresolved

    I don't think you need this extra check if you use "depends_on" or "implied_by" in runtime_enabled features.

    Line 325, Patchset 13 (Latest): static const size_t kMaxLengthConnectionAllowlistAttribute = 4096;
    Noam Rosenthal . unresolved

    Why this number? Is this spec'ed, or something to do with implemenation? Add a comment.

    Line 326, Patchset 13 (Latest): if (value && (value.contains('\n') || value.contains('\r'))) {
    Noam Rosenthal . unresolved

    Do you need the boolean check? Seems redundant as the AtomicString would return false for the contains checks

    Line 328, Patchset 13 (Latest): GetDocument().AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
    Noam Rosenthal . unresolved

    Not sure about adding a console warning for all of these. The console is extremely crowded.

    Line 332, Patchset 13 (Latest): } else if (value &&
    Noam Rosenthal . unresolved

    Ditto re bool check

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Verge
    • Brandon Maslen
    • Giovanni Del Valle
    • Mike West
    Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
    Gerrit-Attention: Mike West <mk...@chromium.org>
    Gerrit-Comment-Date: Wed, 17 Jun 2026 08:58:39 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Giovanni Del Valle (Gerrit)

    unread,
    Jun 19, 2026, 1:36:07 PMJun 19
    to Mike West, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
    Attention needed from Andrew Verge, Brandon Maslen, Mike West and Noam Rosenthal

    Giovanni Del Valle added 6 comments

    File third_party/blink/renderer/core/html/html_iframe_element.cc
    Line 323, Patchset 13: RuntimeEnabledFeatures::ConnectionAllowlistEnabled(
    Noam Rosenthal . resolved

    I don't think you need this extra check if you use "depends_on" or "implied_by" in runtime_enabled features.

    Giovanni Del Valle

    Done

    Line 325, Patchset 13: static const size_t kMaxLengthConnectionAllowlistAttribute = 4096;
    Noam Rosenthal . resolved

    Why this number? Is this spec'ed, or something to do with implemenation? Add a comment.

    Giovanni Del Valle

    Done

    Line 326, Patchset 13: if (value && (value.contains('\n') || value.contains('\r'))) {
    Noam Rosenthal . resolved

    Do you need the boolean check? Seems redundant as the AtomicString would return false for the contains checks

    Giovanni Del Valle

    Done

    Line 328, Patchset 13: GetDocument().AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
    Noam Rosenthal . resolved

    Not sure about adding a console warning for all of these. The console is extremely crowded.

    Giovanni Del Valle

    Done

    Line 332, Patchset 13: } else if (value &&
    Noam Rosenthal . resolved

    Ditto re bool check

    Giovanni Del Valle

    Done

    File third_party/blink/renderer/platform/runtime_enabled_features.json5
    Line 1350, Patchset 3: status: "experimental",
    Mike West . resolved
    Nit:
    ```suggestion
    status: "experimental",
    depends_on: ["ConnectionAllowlist"],
    ```
    Giovanni Del Valle

    Done

    Giovanni Del Valle

    Marked as unresolved due to build break. Taking the time to investigate.

    Giovanni Del Valle

    Implemented the solution and fixed the build break associated.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Verge
    • Brandon Maslen
    • Mike West
    • Noam Rosenthal
    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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
      Gerrit-Change-Number: 7925636
      Gerrit-PatchSet: 18
      Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
      Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
      Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
      Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
      Gerrit-Reviewer: Mike West <mk...@chromium.org>
      Gerrit-CC: Noam Rosenthal <nrose...@google.com>
      Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
      Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
      Gerrit-Attention: Andrew Verge <ave...@chromium.org>
      Gerrit-Attention: Mike West <mk...@chromium.org>
      Gerrit-Attention: Noam Rosenthal <nrose...@google.com>
      Gerrit-Comment-Date: Fri, 19 Jun 2026 17:35:32 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Giovanni Del Valle <gdel...@microsoft.com>
      Comment-In-Reply-To: Mike West <mk...@chromium.org>
      Comment-In-Reply-To: Noam Rosenthal <nrose...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Mike West (Gerrit)

      unread,
      Jun 23, 2026, 3:42:33 AMJun 23
      to Giovanni Del Valle, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
      Attention needed from Andrew Verge, Brandon Maslen, Giovanni Del Valle and Noam Rosenthal

      Mike West added 3 comments

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

      This looks pretty reasonable, thanks for taking another pass. I do think we can probably do better than holding the exact string, though. Perhaps `ConnectionAllowlist` could grow a serializer in a subsequent CL so that we're no longer passing the header through from the attribute directly, but instead ensuring that whatever we send the server is well-formed?

      Commit Message
      Line 7, Patchset 18 (Latest):[blink] Add connectionallowlist iframe attribute + IPC transport
      Mike West . unresolved

      Same nit as elsewhere: naming this CL with `[Connection-Allowlist]` makes it easier to find via the tagging system in Gerrit.

      File third_party/blink/renderer/core/html/html_iframe_element.cc
      Line 345, Patchset 18 (Latest): }
      Mike West . unresolved

      Perhaps we could simplify this by parsing the header here rather than below, as that would reject `\n` and `\r` as part of the Structure Field parsing rules, and we could add the length restriction in `ParseConnectionAllowlistAttribute` where it might make more sense.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andrew Verge
      • Brandon Maslen
      • Giovanni Del Valle
      • Noam Rosenthal
      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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
        Gerrit-Change-Number: 7925636
        Gerrit-PatchSet: 18
        Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
        Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
        Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
        Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
        Gerrit-Reviewer: Mike West <mk...@chromium.org>
        Gerrit-CC: Noam Rosenthal <nrose...@google.com>
        Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
        Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
        Gerrit-Attention: Andrew Verge <ave...@chromium.org>
        Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
        Gerrit-Attention: Noam Rosenthal <nrose...@google.com>
        Gerrit-Comment-Date: Tue, 23 Jun 2026 07:42:16 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Giovanni Del Valle (Gerrit)

        unread,
        Jun 23, 2026, 11:16:38 PMJun 23
        to Mike West, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
        Attention needed from Andrew Verge, Brandon Maslen, Mike West and Noam Rosenthal

        Giovanni Del Valle added 2 comments

        Commit Message
        Line 7, Patchset 18:[blink] Add connectionallowlist iframe attribute + IPC transport
        Mike West . resolved

        Same nit as elsewhere: naming this CL with `[Connection-Allowlist]` makes it easier to find via the tagging system in Gerrit.

        Giovanni Del Valle

        Done

        File third_party/blink/renderer/core/html/html_iframe_element.cc
        Line 345, Patchset 18: }
        Mike West . resolved

        Perhaps we could simplify this by parsing the header here rather than below, as that would reject `\n` and `\r` as part of the Structure Field parsing rules, and we could add the length restriction in `ParseConnectionAllowlistAttribute` where it might make more sense.

        Giovanni Del Valle

        ParseAttribute now validates by parsing the structured-field value. A malformed value is treated as no requirement (fail-open), matching csp. I also added a browsertest, AttributeWithControlCharactersNotDelivered, that sets a connectionallowlist with an embedded newline and asserts nothing reaches the browser.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Andrew Verge
        • Brandon Maslen
        • Mike West
        • Noam Rosenthal
        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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
          Gerrit-Change-Number: 7925636
          Gerrit-PatchSet: 22
          Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
          Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
          Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
          Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-CC: Noam Rosenthal <nrose...@google.com>
          Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
          Gerrit-Attention: Andrew Verge <ave...@chromium.org>
          Gerrit-Attention: Mike West <mk...@chromium.org>
          Gerrit-Attention: Noam Rosenthal <nrose...@google.com>
          Gerrit-Comment-Date: Wed, 24 Jun 2026 03:16:21 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Mike West <mk...@chromium.org>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Giovanni Del Valle (Gerrit)

          unread,
          Jul 6, 2026, 4:32:24 PM (2 days ago) Jul 6
          to Rakina Zata Amni, Mike West, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
          Attention needed from Andrew Verge, Brandon Maslen, Mike West, Noam Rosenthal and Rakina Zata Amni

          Giovanni Del Valle added 1 comment

          Patchset-level comments
          File-level comment, Patchset 23 (Latest):
          Giovanni Del Valle . resolved

          Adding Rakina to review frame tree node changes and the new browser test.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andrew Verge
          • Brandon Maslen
          • Mike West
          • Noam Rosenthal
          • Rakina Zata Amni
          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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
          Gerrit-Change-Number: 7925636
          Gerrit-PatchSet: 23
          Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
          Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
          Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
          Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
          Gerrit-Reviewer: Mike West <mk...@chromium.org>
          Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
          Gerrit-CC: Noam Rosenthal <nrose...@google.com>
          Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
          Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
          Gerrit-Attention: Andrew Verge <ave...@chromium.org>
          Gerrit-Attention: Mike West <mk...@chromium.org>
          Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
          Gerrit-Attention: Noam Rosenthal <nrose...@google.com>
          Gerrit-Comment-Date: Mon, 06 Jul 2026 20:32:12 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Giovanni Del Valle (Gerrit)

          unread,
          Jul 6, 2026, 5:11:16 PM (2 days ago) Jul 6
          to Rakina Zata Amni, Mike West, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
          Attention needed from Andrew Verge, Brandon Maslen, Mike West, Noam Rosenthal and Rakina Zata Amni

          Giovanni Del Valle added 1 comment

          Patchset-level comments
          Giovanni Del Valle . resolved

          Gentle nudge that this CL is awaiting further review. PTAL, thanks.

          Gerrit-Comment-Date: Mon, 06 Jul 2026 21:10:36 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Rakina Zata Amni (Gerrit)

          unread,
          Jul 7, 2026, 6:45:20 AM (2 days ago) Jul 7
          to Giovanni Del Valle, Mike West, Shivani Sharma, Noam Rosenthal, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
          Attention needed from Andrew Verge, Brandon Maslen, Giovanni Del Valle, Mike West and Noam Rosenthal

          Rakina Zata Amni voted Code-Review+1

          Code-Review+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andrew Verge
          • Brandon Maslen
          • Giovanni Del Valle
          • Mike West
          • Noam Rosenthal
          Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
          Gerrit-Attention: Mike West <mk...@chromium.org>
          Gerrit-Attention: Noam Rosenthal <nrose...@google.com>
          Gerrit-Comment-Date: Tue, 07 Jul 2026 10:44:44 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Noam Rosenthal (Gerrit)

          unread,
          Jul 7, 2026, 6:45:22 AM (2 days ago) Jul 7
          to Giovanni Del Valle, Rakina Zata Amni, Mike West, Shivani Sharma, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
          Attention needed from Andrew Verge, Brandon Maslen, Giovanni Del Valle and Mike West

          Noam Rosenthal voted and added 5 comments

          Votes added by Noam Rosenthal

          Code-Review-1

          5 comments

          File content/browser/loader/connection_allowlist_browsertest.cc
          Line 5, Patchset 23 (Latest):#include "services/network/public/cpp/connection_allowlist.h"
          Noam Rosenthal . unresolved

          Nit: move this include to the right place

          Line 3464, Patchset 23 (Latest):// Connection-Allowlist embedded enforcement (the `connectionallowlist` iframe
          Noam Rosenthal . unresolved

          This is a very heavy duty browser test. Is there a reason this is a browser test in the first place and not a set of WPT? This means that whatever is tested here cannot be made interoperable without converting it to WPT later.

          File third_party/blink/renderer/core/html/DEPS
          Line 25, Patchset 23 (Latest): "+url/gurl.h",
          Noam Rosenthal . unresolved

          Is that actually used? It seems to be included but not used.

          File third_party/blink/renderer/core/html/html_iframe_element.cc
          Line 353, Patchset 23 (Latest): GetDocument().AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
          Noam Rosenthal . unresolved

          This shouldn't trigger "should_call_did_change_attributes_"?

          File third_party/blink/renderer/platform/runtime_enabled_features.json5
          Line 1382, Patchset 23 (Latest): // NOTE: Because `ConnectionAllowlist` is an origin-trial feature,
          Noam Rosenthal . unresolved

          This means that if we ship the header based solution first, this property would be shipped together with it but do nothing. This is unacceptable in terms of feature detection.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Andrew Verge
          • Brandon Maslen
          • Giovanni Del Valle
          • Mike West
          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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
            Gerrit-Change-Number: 7925636
            Gerrit-PatchSet: 23
            Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
            Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
            Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
            Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
            Gerrit-Reviewer: Mike West <mk...@chromium.org>
            Gerrit-Reviewer: Noam Rosenthal <nrose...@google.com>
            Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
            Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
            Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
            Gerrit-Attention: Andrew Verge <ave...@chromium.org>
            Gerrit-Attention: Giovanni Del Valle <gdel...@microsoft.com>
            Gerrit-Attention: Mike West <mk...@chromium.org>
            Gerrit-Comment-Date: Tue, 07 Jul 2026 10:45:04 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            blocking_requirement
            open
            diffy

            Giovanni Del Valle (Gerrit)

            unread,
            Jul 8, 2026, 7:51:05 PM (9 hours ago) Jul 8
            to Noam Rosenthal, Rakina Zata Amni, Mike West, Shivani Sharma, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
            Attention needed from Andrew Verge, Brandon Maslen, Mike West, Noam Rosenthal and Rakina Zata Amni

            Giovanni Del Valle added 3 comments

            File content/browser/loader/connection_allowlist_browsertest.cc
            Line 5, Patchset 23:#include "services/network/public/cpp/connection_allowlist.h"
            Noam Rosenthal . resolved

            Nit: move this include to the right place

            Giovanni Del Valle

            connection_allowlist_browsertest.cc maps to connection_allowlist.h via the _browsertest suffix even though this include was added in this CL. So git cl format sorts it first in its own block and moves it back to the top if it's placed in the services/network group

            Line 3464, Patchset 23:// Connection-Allowlist embedded enforcement (the `connectionallowlist` iframe
            Noam Rosenthal . resolved

            This is a very heavy duty browser test. Is there a reason this is a browser test in the first place and not a set of WPT? This means that whatever is tested here cannot be made interoperable without converting it to WPT later.

            Giovanni Del Valle

            I've shaved down the browser test, but what remain assert browser-process state that has no web-exposed surface.
            A WPT can observe the resulting allowed/blocked outcome but has no API to read the browser's stored requirement struct or the specific net error, so these checks can only run as browser tests.

            File third_party/blink/renderer/core/html/DEPS
            Line 25, Patchset 23: "+url/gurl.h",
            Noam Rosenthal . resolved

            Is that actually used? It seems to be included but not used.

            Giovanni Del Valle

            Thanks for the catch, this has been removed.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Andrew Verge
            • Brandon Maslen
            • Mike West
            • Noam Rosenthal
            • Rakina Zata Amni
            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: I3b12446776abc5c44bfef69b3249c4ea4771bc06
            Gerrit-Change-Number: 7925636
            Gerrit-PatchSet: 25
            Gerrit-Owner: Giovanni Del Valle <gdel...@microsoft.com>
            Gerrit-Reviewer: Andrew Verge <ave...@chromium.org>
            Gerrit-Reviewer: Brandon Maslen <bra...@microsoft.com>
            Gerrit-Reviewer: Giovanni Del Valle <gdel...@microsoft.com>
            Gerrit-Reviewer: Mike West <mk...@chromium.org>
            Gerrit-Reviewer: Noam Rosenthal <nrose...@google.com>
            Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
            Gerrit-CC: Shivani Sharma <shiva...@chromium.org>
            Gerrit-Attention: Brandon Maslen <bra...@microsoft.com>
            Gerrit-Attention: Andrew Verge <ave...@chromium.org>
            Gerrit-Attention: Mike West <mk...@chromium.org>
            Gerrit-Attention: Noam Rosenthal <nrose...@google.com>
            Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
            Gerrit-Comment-Date: Wed, 08 Jul 2026 23:50:52 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Noam Rosenthal <nrose...@google.com>
            satisfied_requirement
            unsatisfied_requirement
            blocking_requirement
            open
            diffy

            Giovanni Del Valle (Gerrit)

            unread,
            Jul 8, 2026, 8:04:03 PM (8 hours ago) Jul 8
            to Noam Rosenthal, Rakina Zata Amni, Mike West, Shivani Sharma, Chromium LUCI CQ, Brandon Maslen, Andrew Verge, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, ashleynewson+watch-...@chromium.org, android-web...@chromium.org, blink-revie...@chromium.org, antoniosarto...@chromium.org, mkwst+w...@chromium.org, network-ser...@chromium.org, arthursonzog...@chromium.org, blink-revi...@chromium.org, alexmo...@chromium.org, blink-re...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org, creis...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, loading...@chromium.org, navigation...@chromium.org
            Attention needed from Andrew Verge, Brandon Maslen, Mike West, Noam Rosenthal and Rakina Zata Amni

            Giovanni Del Valle added 1 comment

            File third_party/blink/renderer/core/html/html_iframe_element.cc
            Line 353, Patchset 23: GetDocument().AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
            Noam Rosenthal . unresolved

            This shouldn't trigger "should_call_did_change_attributes_"?

            Giovanni Del Valle

            Triggering should_call_did_change_attributes_ here would propagate the cleared requirement, so a malformed value would drop the browser's enforcement entirely, which we specifically don't want for a security primitive, so we instead keep the last valid (stricter) requirement, mirroring the csp attribute above.
            although the trade-off is a state divergence: the DOM attribute reads invalid while the browser keeps enforcing the previous value

            Gerrit-Comment-Date: Thu, 09 Jul 2026 00:03:48 +0000
            satisfied_requirement
            unsatisfied_requirement
            blocking_requirement
            open
            diffy
            Reply all
            Reply to author
            Forward
            0 new messages