Add SSM support to Blink MulticastController and browser integration [chromium/src : main]

0 views
Skip to first unread message

Vlad Krot (Gerrit)

unread,
Jul 2, 2026, 8:44:43 AM (9 days ago) Jul 2
to Omar Ramadan, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Omar Ramadan, Reilly Grant and Vlad Krot

Vlad Krot voted and added 3 comments

Votes added by Vlad Krot

Commit-Queue+1

3 comments

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
Line 78, Patchset 9 (Latest): String ToString() const {
Vlad Krot . unresolved

Won't it be easier to directly use MembershipKey as a HashMap key?

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
Line 144, Patchset 9 (Latest): SourceSpecificMulticastInDirectSocketsEnabled());
Vlad Krot . unresolved

Add a testcase for that please, it is not clear that this is actually unreachable.

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.idl
Line 7, Patchset 9 (Latest): [RuntimeEnabled=SourceSpecificMulticastInDirectSockets]
Vlad Krot . unresolved

Inconsistent that here sourceAddress is RuntimeEnabled, but above is not

Open in Gerrit

Related details

Attention is currently required from:
  • Omar Ramadan
  • Reilly Grant
  • Vlad Krot
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: I2716e9018cabeb365152d93e73baed4b48b5d934
Gerrit-Change-Number: 7670918
Gerrit-PatchSet: 9
Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
Gerrit-Reviewer: Vlad Krot <vk...@google.com>
Gerrit-CC: Andrew Rayskiy <green...@google.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-CC: Simon Hangl <sim...@google.com>
Gerrit-Attention: Reilly Grant <rei...@chromium.org>
Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
Gerrit-Attention: Vlad Krot <vk...@google.com>
Gerrit-Comment-Date: Thu, 02 Jul 2026 12:44:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Vlad Krot (Gerrit)

unread,
Jul 2, 2026, 8:49:17 AM (9 days ago) Jul 2
to Omar Ramadan, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Omar Ramadan and Reilly Grant

Vlad Krot added 1 comment

Patchset-level comments
File-level comment, Patchset 9 (Latest):
Vlad Krot . resolved

Thanks for the great job. The code looks good. Note, that this feature would benefit from devtools addition (it is there for direct sockets and multicast) however, it is up to devtools owners to see if this is blocking or not.

Open in Gerrit

Related details

Attention is currently required from:
  • Omar Ramadan
  • Reilly Grant
Gerrit-Comment-Date: Thu, 02 Jul 2026 12:49:00 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Omar Ramadan (Gerrit)

unread,
Jul 2, 2026, 9:28:52 PM (9 days ago) Jul 2
to Vlad Krot, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Reilly Grant and Vlad Krot

Message from Omar Ramadan

PS10 summary for reviewers: (1) unified the controller's membership bookkeeping into one map of (group, optional source) -> {joining|joined} state, replacing the separate joined_groups_ map plus a string-prefix scan over pending join keys — the ASM/SSM mixing check (committed + in-flight) is now a single structural loop; (2) fixed a runtime-feature gating bug: depends_on: [DirectSockets] checks the static flag, but DirectSockets is enabled per-context for IWAs, so the SSM feature (and the sourceAddress dictionary member) was silently disabled exactly where it matters — caught by the previously-never-run SSM browsertests, which now pass; (3) trimmed test scaffolding (shared join helper, single DeriveSsmSourceAddresses() test API, removed dead fake-socket members) — net -104 lines. Verified: 39/39 blink unittests, 67/67 DirectSockets content_browsertests (Linux-equivalent config on mac-x64), 12/12 IWA multicast browser_tests on macOS x64.

Open in Gerrit

Related details

Attention is currently required from:
  • Reilly Grant
  • Vlad Krot
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: I2716e9018cabeb365152d93e73baed4b48b5d934
Gerrit-Change-Number: 7670918
Gerrit-PatchSet: 10
Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
Gerrit-Reviewer: Vlad Krot <vk...@google.com>
Gerrit-CC: Andrew Rayskiy <green...@google.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-CC: Simon Hangl <sim...@google.com>
Gerrit-Attention: Reilly Grant <rei...@chromium.org>
Gerrit-Attention: Vlad Krot <vk...@google.com>
Gerrit-Comment-Date: Fri, 03 Jul 2026 01:28:29 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Omar Ramadan (Gerrit)

unread,
Jul 2, 2026, 10:06:54 PM (9 days ago) Jul 2
to Vlad Krot, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Reilly Grant and Vlad Krot

Message from Omar Ramadan

The PS9 CQ dry-run failures (linux-chromeos-rel: JoinGroupSSMInvalidSource / JoinGroupSSMSameGroupDifferentSources / LeaveGroupSSMMustMatchSource / MulticastCannotMixASMAndSSM / MulticastJoinGroupSSMSameGroupDifferentSources; mac-rel: JoinGroupSSMInvalidSource) are all one root cause, fixed in PS10: the runtime feature had depends_on: [DirectSockets], which gates on the static flag, while the browsertest/IWA fixtures enable DirectSockets per-context — so SourceSpecificMulticastInDirectSockets stayed disabled and the sourceAddress dictionary member was dropped at IDL conversion, silently turning SSM joins into ASM joins. The failing tests are precisely the ones whose outcome differs under that distortion. Reproduced locally on PS9 (same failure set) and verified green on PS10 (15/15 DirectSocketsBoundUdp content_browsertests, 12/12 IWA multicast browser_tests). PS10 should be ready for another dry run.

Gerrit-Comment-Date: Fri, 03 Jul 2026 02:06:36 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Omar Ramadan (Gerrit)

unread,
Jul 4, 2026, 1:14:28 AM (8 days ago) Jul 4
to android-bu...@system.gserviceaccount.com, Vlad Krot, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
Attention needed from Reilly Grant and Vlad Krot

Omar Ramadan added 3 comments

Message

PS11 addresses the review comments: IDL-gating unit tests for the sourceAddress CHECK, and RuntimeEnabled on MulticastMembership.sourceAddress for consistency. All 27 multicast blink_unittests pass locally, including the two new ones. PS10 additionally fixed the depends_on static-gating bug that caused the PS9 dry-run failures (mac-rel JoinGroupSSMInvalidSource and the linux-chromeos-rel content_browsertests) — a fresh CQ dry run on PS11 should come back green.

3 comments

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
Line 78, Patchset 11 (Latest): String group_string = String::FromUtf8(group.ToString());
Omar Ramadan . resolved

I considered that, but kept the String: the serialized form doubles as the correlation token bound into the mojo JoinGroup/LeaveGroup callbacks, and using MembershipKey directly as the HashMap key would need custom WTF HashTraits — including empty/deleted sentinel values for net::IPAddress — which is more machinery than the one ToString() it would save. Happy to switch if you feel strongly.

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
Line 144, Patchset 11 (Latest): "sourceAddress and ipAddress must be the same IP version");
Omar Ramadan . resolved

Done in PS11 — added MulticastControllerTest.IdlDropsSourceAddressWhenFeatureDisabled (and the ...Enabled counterpart), which push a script object carrying sourceAddress through the generated V8MulticastGroupOptions converter. With the feature disabled the member is dropped at conversion, so options built from bindings can never carry a source address and this CHECK is unreachable from script. (C++ callers can still construct such options directly, which is exactly what the CHECK guards.)

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.idl
Line 7, Patchset 11 (Latest):dictionary MulticastGroupOptions {
Omar Ramadan . resolved

Done in PS11 — MulticastMembership.sourceAddress is now also [RuntimeEnabled=SourceSpecificMulticastInDirectSockets]. No behavior change (SSM memberships cannot exist when the feature is off, so the output member was never emitted), but the gating now reads consistently on both dictionaries.

Open in Gerrit

Related details

Attention is currently required from:
  • Reilly Grant
  • Vlad Krot
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: I2716e9018cabeb365152d93e73baed4b48b5d934
    Gerrit-Change-Number: 7670918
    Gerrit-PatchSet: 11
    Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
    Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
    Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
    Gerrit-Reviewer: Vlad Krot <vk...@google.com>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Simon Hangl <sim...@google.com>
    Gerrit-Attention: Reilly Grant <rei...@chromium.org>
    Gerrit-Attention: Vlad Krot <vk...@google.com>
    Gerrit-Comment-Date: Sat, 04 Jul 2026 05:14:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vlad Krot (Gerrit)

    unread,
    Jul 6, 2026, 4:55:45 AM (6 days ago) Jul 6
    to Omar Ramadan, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Omar Ramadan and Reilly Grant

    Vlad Krot voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Omar Ramadan
    • Reilly Grant
    Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
    Gerrit-Comment-Date: Mon, 06 Jul 2026 08:55:28 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Omar Ramadan (Gerrit)

    unread,
    Jul 6, 2026, 2:21:21 PM (5 days ago) Jul 6
    to Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Reilly Grant and Vlad Krot

    Omar Ramadan voted Commit-Queue+1

    PS12: rebased onto tip-of-tree. The PS11 CQ dry run failed at patch-application (chrome/test/BUILD.gn conflict), not on the code. Both of the CL's BUILD.gn edits — adding //chrome/browser/direct_sockets:browser_tests to deps and dropping the moved direct_sockets_apitest.cc source line — have since landed upstream independently, so that file is now a no-op in this CL and the tree applies cleanly. Re-running the dry run. Thanks for the Code-Review+1.

    Commit-Queue+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Reilly Grant
    • Vlad Krot
    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: I2716e9018cabeb365152d93e73baed4b48b5d934
    Gerrit-Change-Number: 7670918
    Gerrit-PatchSet: 12
    Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
    Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
    Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
    Gerrit-Reviewer: Vlad Krot <vk...@google.com>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Simon Hangl <sim...@google.com>
    Gerrit-Attention: Reilly Grant <rei...@chromium.org>
    Gerrit-Attention: Vlad Krot <vk...@google.com>
    Gerrit-Comment-Date: Mon, 06 Jul 2026 18:21:08 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Omar Ramadan (Gerrit)

    unread,
    Jul 6, 2026, 2:22:15 PM (5 days ago) Jul 6
    to Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Reilly Grant and Vlad Krot

    Omar Ramadan voted Commit-Queue+1

    Gerrit-Comment-Date: Mon, 06 Jul 2026 18:22:01 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Omar Ramadan (Gerrit)

    unread,
    Jul 6, 2026, 4:10:59 PM (5 days ago) Jul 6
    to Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Reilly Grant and Vlad Krot

    Message from Omar Ramadan

    PS12 is rebased onto tip-of-tree and now mergeable. The PS11 dry run failed at patch-application only (chrome/test/BUILD.gn conflict), not on the code — and both of this CL's edits to that file (adding //chrome/browser/direct_sockets:browser_tests to deps, dropping the moved direct_sockets_apitest.cc source line) have since landed upstream independently, so the file is now a no-op here and the tree applies clean. 8027359 is rebased on top as well. I don't have CQ access, so when you have a moment could you re-run the dry run on PS12 (and CQ+2 to land if it's green)? Thanks for the CR+1.

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

    Vlad Krot (Gerrit)

    unread,
    Jul 7, 2026, 10:50:58 AM (4 days ago) Jul 7
    to Omar Ramadan, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Omar Ramadan and Reilly Grant

    Vlad Krot voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Omar Ramadan
    • Reilly Grant
    Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
    Gerrit-Comment-Date: Tue, 07 Jul 2026 14:50:42 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Omar Ramadan (Gerrit)

    unread,
    Jul 7, 2026, 3:46:39 PM (4 days ago) Jul 7
    to Avi Drissman, Kent Tamura, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Avi Drissman, Kent Tamura and Reilly Grant

    Message from Omar Ramadan

    Added owners for the files outside vkrot@'s direct_sockets coverage (CQ dry run passed on PS12):

    • tkent@: third_party/blink/renderer/platform/runtime_enabled_features.json5 (Blink API_OWNERS) and third_party/blink/tools/blinkpy/presubmit/audit_non_blink_usage.py (blinkpy OWNERS).
    • avi@: content/public/test/OWNERS (per-file redirect added for the direct_sockets test helpers).
    • PTAL — thanks!
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Avi Drissman
    • Kent Tamura
    • Reilly Grant
    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: I2716e9018cabeb365152d93e73baed4b48b5d934
    Gerrit-Change-Number: 7670918
    Gerrit-PatchSet: 12
    Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
    Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
    Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
    Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
    Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
    Gerrit-Reviewer: Vlad Krot <vk...@google.com>
    Gerrit-CC: Andrew Rayskiy <green...@google.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-CC: Simon Hangl <sim...@google.com>
    Gerrit-Attention: Avi Drissman <a...@chromium.org>
    Gerrit-Attention: Reilly Grant <rei...@chromium.org>
    Gerrit-Attention: Kent Tamura <tk...@chromium.org>
    Gerrit-Comment-Date: Tue, 07 Jul 2026 19:46:26 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Avi Drissman (Gerrit)

    unread,
    Jul 7, 2026, 4:16:20 PM (4 days ago) Jul 7
    to Omar Ramadan, Avi Drissman, Kent Tamura, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
    Attention needed from Kent Tamura, Omar Ramadan and Reilly Grant

    Avi Drissman voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kent Tamura
    • Omar Ramadan
    • Reilly Grant
    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: I2716e9018cabeb365152d93e73baed4b48b5d934
      Gerrit-Change-Number: 7670918
      Gerrit-PatchSet: 12
      Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
      Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
      Gerrit-Reviewer: Vlad Krot <vk...@google.com>
      Gerrit-CC: Andrew Rayskiy <green...@google.com>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-CC: Simon Hangl <sim...@google.com>
      Gerrit-Attention: Reilly Grant <rei...@chromium.org>
      Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
      Gerrit-Attention: Kent Tamura <tk...@chromium.org>
      Gerrit-Comment-Date: Tue, 07 Jul 2026 20:16:08 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Kent Tamura (Gerrit)

      unread,
      Jul 7, 2026, 6:43:21 PM (4 days ago) Jul 7
      to Omar Ramadan, Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
      Attention needed from Omar Ramadan and Reilly Grant

      Kent Tamura voted and added 14 comments

      Votes added by Kent Tamura

      Code-Review+1

      14 comments

      File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
      Line 80, Patchset 12 (Latest): return group_string + "@" + String::FromUtf8(source->ToString());
      Kent Tamura . unresolved

      `operator+` for `blink::String` is discouraged. Use `StrCat()` instead.

      Line 27, Patchset 12 (Latest):class MulticastGroupOptions;
      Kent Tamura . unresolved

      nit: add blank lines before and after this line for better readability.

      Line 43, Patchset 12 (Parent): // multicast_controller.idl:
      Kent Tamura . unresolved

      IMO we shouldn't remove this comment.

      Line 38, Patchset 12 (Parent): // multicast_controller.idl:
      Kent Tamura . unresolved

      IMO we shouldn't remove this comment.

      File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
      Line 33, Patchset 12 (Latest): const char* param_name,
      Kent Tamura . unresolved

      Use `StringView` instead of `const char*`.

      Line 38, Patchset 12 (Latest): exception_state.ThrowTypeError(String(param_name) +
      Kent Tamura . unresolved

      Use `StrCat()` instead.

      Line 48, Patchset 12 (Latest): const char* param_name,
      Kent Tamura . unresolved

      Use StringView instead of const char*.

      Line 57, Patchset 12 (Latest): exception_state.ThrowTypeError(String(param_name) +
      Kent Tamura . unresolved

      Use `StrCat()` instead.

      Line 67, Patchset 12 (Latest): const char* param_name,
      Kent Tamura . unresolved

      Use StringView instead of const char*.

      Line 77, Patchset 12 (Latest): String(param_name) +
      Kent Tamura . unresolved

      Use `StrCat()` instead.

      Line 84, Patchset 12 (Latest): String(param_name) + " must not be the zero address (0.0.0.0 or ::)");
      Kent Tamura . unresolved

      Use `StrCat()` instead.

      File third_party/blink/renderer/modules/direct_sockets/multicast_controller_unittest.cc
      Line 447, Patchset 12 (Latest):class MulticastControllerSSMTest : public testing::Test {
      Kent Tamura . unresolved

      `SSMTest` should `SsmTest`.

      https://google.github.io/styleguide/cppguide.html#General_Naming_Rules
      > When an abbreviation is used, prefer to capitalize it as a single "word", e.g., StartRpc() rather than StartRPC().

      Line 687, Patchset 12 (Latest):TEST_F(MulticastControllerSSMTest, CannotLeaveASMGroupWithSourceAddress) {
      Line 768, Patchset 12 (Latest):TEST_F(MulticastControllerSSMTest, TOCTOU_PendingASMBlocksSSMJoin) {
      Kent Tamura . unresolved

      `Toctou_PendingAsmBlocksSssmJoin`

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Omar Ramadan
      • Reilly Grant
      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: I2716e9018cabeb365152d93e73baed4b48b5d934
      Gerrit-Change-Number: 7670918
      Gerrit-PatchSet: 12
      Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
      Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
      Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
      Gerrit-Reviewer: Vlad Krot <vk...@google.com>
      Gerrit-CC: Andrew Rayskiy <green...@google.com>
      Gerrit-CC: Kentaro Hara <har...@chromium.org>
      Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
      Gerrit-CC: Simon Hangl <sim...@google.com>
      Gerrit-Attention: Reilly Grant <rei...@chromium.org>
      Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
      Gerrit-Comment-Date: Tue, 07 Jul 2026 22:42:47 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Omar Ramadan (Gerrit)

      unread,
      Jul 7, 2026, 7:39:02 PM (4 days ago) Jul 7
      to Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
      Attention needed from Avi Drissman, Kent Tamura, Reilly Grant and Vlad Krot

      Message from Omar Ramadan

      PS13 addresses tkent@'s review:

      • multicast_controller.cc: const char* param_name -> StringView; String(param_name)+"..." -> StrCat({param_name, "..."}) in all four validators.
      • multicast_controller.h: MembershipKey::ToString now uses StrCat instead of operator+; restored the two `// multicast_controller.idl:` comments above joinGroup/leaveGroup; added a blank line before the MulticastGroupOptions forward-decl.
      • unittest: MulticastControllerSSMTest -> ...SsmTest; ASM/SSM -> Asm/Ssm in test names; TOCTOU_PendingASMBlocksSSMJoin -> PendingAsmBlocksSsmJoin.

      vkrot@'s three earlier threads were handled in PS11 and carry forward: cc:144 the CHECK is exercised by IdlDropsSourceAddressWhenFeatureDisabled/...Enabled; idl:7 MulticastMembership.sourceAddress is now [RuntimeEnabled]; h:78 kept String key (mojo-callback correlation token; a MembershipKey HashMap key needs custom HashTraits) - happy to switch if preferred. PTAL.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Avi Drissman
      • Kent Tamura
      • Reilly Grant
      • Vlad Krot
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement 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: I2716e9018cabeb365152d93e73baed4b48b5d934
        Gerrit-Change-Number: 7670918
        Gerrit-PatchSet: 13
        Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
        Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
        Gerrit-Reviewer: Vlad Krot <vk...@google.com>
        Gerrit-CC: Andrew Rayskiy <green...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-CC: Simon Hangl <sim...@google.com>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Reilly Grant <rei...@chromium.org>
        Gerrit-Attention: Kent Tamura <tk...@chromium.org>
        Gerrit-Attention: Vlad Krot <vk...@google.com>
        Gerrit-Comment-Date: Tue, 07 Jul 2026 23:38:47 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Omar Ramadan (Gerrit)

        unread,
        Jul 7, 2026, 7:58:08 PM (4 days ago) Jul 7
        to Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
        Attention needed from Avi Drissman, Kent Tamura, Reilly Grant and Vlad Krot

        Omar Ramadan added 3 comments

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
        Line 78, Patchset 13 (Latest): net::IPAddress group;
        Omar Ramadan . resolved

        Kept the String key: its serialized form doubles as the mojo JoinGroup/LeaveGroup callback correlation token, and a MembershipKey HashMap key would need custom WTF HashTraits (empty/deleted sentinels for net::IPAddress) — more machinery than the one ToString() it saves. Happy to switch if you prefer.

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
        Line 144, Patchset 13 (Latest): return std::nullopt;
        Omar Ramadan . resolved

        Done — the CHECK is now exercised by MulticastControllerTest.IdlDropsSourceAddressWhenFeatureDisabled and ...KeepsSourceAddressWhenFeatureEnabled (PS11+), which drive a script object through the V8 dictionary converter under each feature state.

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller.idl
        Line 7, Patchset 13 (Latest):dictionary MulticastGroupOptions {
        Omar Ramadan . resolved

        Done in PS11 — MulticastMembership.sourceAddress is now also [RuntimeEnabled=SourceSpecificMulticastInDirectSockets], consistent with MulticastGroupOptions.sourceAddress.

        Gerrit-Attention: Vlad Krot <vk...@google.com>
        Gerrit-Attention: Kent Tamura <tk...@chromium.org>
        Gerrit-Comment-Date: Tue, 07 Jul 2026 23:57:50 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Omar Ramadan (Gerrit)

        unread,
        Jul 7, 2026, 9:13:12 PM (4 days ago) Jul 7
        to Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
        Attention needed from Avi Drissman, Kent Tamura, Reilly Grant and Vlad Krot

        Message from Omar Ramadan

        PS14 is clang-format-corrected + compile-verified (multicast_controller.o + multicast_controller_unittest.o build clean). PS13 to PS14 is formatting-only (StrCat line-wraps + include ordering) with no logic change vs the reviewed PS13, so it should be a quick re-stamp.

        @vkrot could you re-approve on PS14 and set CQ+1 for a dry run? The dry run gives us a native blink_unittests run on the bots. I was unable to complete a clean local/devbox run to exercise the MulticastController* tests directly - the frozen devbox tree failed in the devtools optimize_images resource step, unrelated to this change. omar@ has no CQ rights, hence the ask.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Kent Tamura
        • Reilly Grant
        • Vlad Krot
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement 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: I2716e9018cabeb365152d93e73baed4b48b5d934
        Gerrit-Change-Number: 7670918
        Gerrit-PatchSet: 14
        Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
        Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
        Gerrit-Reviewer: Vlad Krot <vk...@google.com>
        Gerrit-CC: Andrew Rayskiy <green...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-CC: Simon Hangl <sim...@google.com>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Reilly Grant <rei...@chromium.org>
        Gerrit-Attention: Vlad Krot <vk...@google.com>
        Gerrit-Attention: Kent Tamura <tk...@chromium.org>
        Gerrit-Comment-Date: Wed, 08 Jul 2026 01:12:59 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Kent Tamura (Gerrit)

        unread,
        Jul 8, 2026, 12:38:57 AM (4 days ago) Jul 8
        to Omar Ramadan, Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
        Attention needed from Avi Drissman, Omar Ramadan, Reilly Grant and Vlad Krot

        Kent Tamura voted and added 1 comment

        Votes added by Kent Tamura

        Code-Review+1

        1 comment

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
        Line 35, Patchset 14 (Latest): StringView param_name,
        Kent Tamura . unresolved

        nit: Unlike `std::string_view`, `StringView` should be passed as `const StringView&`.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Omar Ramadan
        • Reilly Grant
        • Vlad Krot
        Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
        Gerrit-Attention: Vlad Krot <vk...@google.com>
        Gerrit-Comment-Date: Wed, 08 Jul 2026 04:38:31 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Omar Ramadan (Gerrit)

        unread,
        Jul 8, 2026, 3:20:54 AM (4 days ago) Jul 8
        to Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
        Attention needed from Avi Drissman, Kent Tamura, Reilly Grant and Vlad Krot

        Omar Ramadan added 1 comment

        Message

        Done in PS15 - all three validators now take const StringView&. Verified: git cl format clean + multicast_controller.o recompiles clean.

        1 comment

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
        Line 35, Patchset 15 (Latest): const StringView& param_name,
        Omar Ramadan . resolved

        Done in PS15.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Kent Tamura
        • Reilly Grant
        • Vlad Krot
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement 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: I2716e9018cabeb365152d93e73baed4b48b5d934
        Gerrit-Change-Number: 7670918
        Gerrit-PatchSet: 15
        Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
        Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
        Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
        Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
        Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
        Gerrit-Reviewer: Vlad Krot <vk...@google.com>
        Gerrit-CC: Andrew Rayskiy <green...@google.com>
        Gerrit-CC: Kentaro Hara <har...@chromium.org>
        Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
        Gerrit-CC: Simon Hangl <sim...@google.com>
        Gerrit-Attention: Avi Drissman <a...@chromium.org>
        Gerrit-Attention: Reilly Grant <rei...@chromium.org>
        Gerrit-Attention: Kent Tamura <tk...@chromium.org>
        Gerrit-Attention: Vlad Krot <vk...@google.com>
        Gerrit-Comment-Date: Wed, 08 Jul 2026 07:20:38 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Omar Ramadan (Gerrit)

        unread,
        Jul 8, 2026, 3:22:36 AM (4 days ago) Jul 8
        to Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
        Attention needed from Avi Drissman, Kent Tamura, Reilly Grant and Vlad Krot

        Omar Ramadan added 14 comments

        Message

        Resolving remaining review threads - all were addressed in code across PS13-PS15 (StringView/const-ref params, StrCat over operator+, restored .idl comments, blank-line nit, Ssm/Asm/Toctou test renames). Marking the threads resolved now; apologies they were left open. Verified: git cl format clean, multicast_controller.o compiles clean, and blink_unittests MulticastController* = 27/27 pass natively.

        14 comments

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
        Omar Ramadan . resolved

        Done in PS15.

        Line 43, Patchset 15 (Latest): uint64_t inspector_id);
        Omar Ramadan . resolved

        Done in PS15.

        Line 38, Patchset 15 (Latest): DEFINE_WRAPPERTYPEINFO();
        Omar Ramadan . resolved

        Done in PS15.

        Omar Ramadan . resolved

        Done in PS15.

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
        Line 33, Patchset 15 (Latest):std::optional<net::IPAddress> ParseAndValidateIPAddress(
        Omar Ramadan . resolved

        Done in PS15.

        Line 38, Patchset 15 (Latest): net::IPAddress::FromIPLiteral(ip_string.Ascii());
        Omar Ramadan . resolved

        Done in PS15.

        Line 48, Patchset 15 (Latest):std::optional<net::IPAddress> ParseAndValidateMulticastAddress(
        Omar Ramadan . resolved

        Done in PS15.

        Omar Ramadan . resolved

        Done in PS15.

        Line 67, Patchset 15 (Latest):std::optional<net::IPAddress> ParseAndValidateUnicastAddress(
        Omar Ramadan . resolved

        Done in PS15.

        Line 77, Patchset 15 (Latest): if (parsed_ip->IsMulticast()) {
        Omar Ramadan . resolved

        Done in PS15.

        Line 84, Patchset 15 (Latest): exception_state.ThrowTypeError(
        Omar Ramadan . resolved

        Done in PS15.

        File third_party/blink/renderer/modules/direct_sockets/multicast_controller_unittest.cc
        Line 447, Patchset 15 (Latest):class MulticastControllerSsmTest : public testing::Test {
        Omar Ramadan . resolved

        Done in PS15.

        Line 687, Patchset 15 (Latest):TEST_F(MulticastControllerSsmTest, CannotLeaveAsmGroupWithSourceAddress) {
        Omar Ramadan . resolved

        Done in PS15.

        Line 768, Patchset 15 (Latest):TEST_F(MulticastControllerSsmTest, PendingAsmBlocksSsmJoin) {
        Omar Ramadan . resolved

        Done in PS15.

        Related details

        Attention is currently required from:
        • Avi Drissman
        • Kent Tamura
        • Reilly Grant
        • Vlad Krot
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement is not satisfiedCode-Review
          Gerrit-Comment-Date: Wed, 08 Jul 2026 07:22:19 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Kent Tamura (Gerrit)

          unread,
          Jul 8, 2026, 3:30:00 AM (4 days ago) Jul 8
          to Omar Ramadan, Kent Tamura, Avi Drissman, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
          Attention needed from Avi Drissman, Omar Ramadan, Reilly Grant and Vlad Krot

          Kent Tamura voted Code-Review+1

          Code-Review+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Avi Drissman
          • Omar Ramadan
          • Reilly Grant
          • Vlad Krot
          Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
          Gerrit-Attention: Vlad Krot <vk...@google.com>
          Gerrit-Comment-Date: Wed, 08 Jul 2026 07:29:32 +0000
          Gerrit-HasComments: No
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Avi Drissman (Gerrit)

          unread,
          Jul 8, 2026, 10:39:00 AM (3 days ago) Jul 8
          to Omar Ramadan, Avi Drissman, Kent Tamura, Vlad Krot, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
          Attention needed from Omar Ramadan, Reilly Grant and Vlad Krot

          Avi Drissman voted Code-Review+1

          Code-Review+1
          Open in Gerrit

          Related details

          Attention is currently required from:
          • Omar Ramadan
          • Reilly Grant
          • Vlad Krot
          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: I2716e9018cabeb365152d93e73baed4b48b5d934
            Gerrit-Change-Number: 7670918
            Gerrit-PatchSet: 15
            Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
            Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
            Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
            Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
            Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
            Gerrit-Reviewer: Vlad Krot <vk...@google.com>
            Gerrit-CC: Andrew Rayskiy <green...@google.com>
            Gerrit-CC: Kentaro Hara <har...@chromium.org>
            Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
            Gerrit-CC: Simon Hangl <sim...@google.com>
            Gerrit-Attention: Reilly Grant <rei...@chromium.org>
            Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
            Gerrit-Attention: Vlad Krot <vk...@google.com>
            Gerrit-Comment-Date: Wed, 08 Jul 2026 14:38:48 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            open
            diffy

            Vlad Krot (Gerrit)

            unread,
            Jul 10, 2026, 9:09:59 AM (yesterday) Jul 10
            to Omar Ramadan, Avi Drissman, Kent Tamura, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
            Attention needed from Omar Ramadan and Reilly Grant

            Vlad Krot voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Omar Ramadan
            • Reilly Grant
            Gerrit-Comment-Date: Fri, 10 Jul 2026 13:09:34 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            open
            diffy

            Reilly Grant (Gerrit)

            unread,
            Jul 10, 2026, 4:49:47 PM (yesterday) Jul 10
            to Omar Ramadan, Vlad Krot, Avi Drissman, Kent Tamura, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
            Attention needed from Omar Ramadan

            Reilly Grant added 4 comments

            File content/test/data/direct_sockets/udp.js
            Line 442, Patchset 15 (Latest): return ('joinGroupSSM failed: ' + error);
            Reilly Grant . unresolved
            ```suggestion
            return 'joinGroupSSM failed: ' + error;
            ```
            Line 542, Patchset 15 (Latest): return 'joinGroupSSMTwiceWithSameSource succeeded.';
            Reilly Grant . unresolved

            Check the error name?

            Line 559, Patchset 15 (Latest): return 'joinGroupSSMInvalidSource succeeded.';
            Reilly Grant . unresolved

            Check the error name?

            File third_party/blink/renderer/modules/direct_sockets/multicast_controller.idl
            File-level comment, Patchset 15 (Latest):
            Reilly Grant . unresolved

            This file is missing a copyright header.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Omar Ramadan
            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: I2716e9018cabeb365152d93e73baed4b48b5d934
              Gerrit-Change-Number: 7670918
              Gerrit-PatchSet: 15
              Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
              Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
              Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
              Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
              Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
              Gerrit-Reviewer: Vlad Krot <vk...@google.com>
              Gerrit-CC: Andrew Rayskiy <green...@google.com>
              Gerrit-CC: Kentaro Hara <har...@chromium.org>
              Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
              Gerrit-CC: Simon Hangl <sim...@google.com>
              Gerrit-Attention: Omar Ramadan <om...@blockcast.net>
              Gerrit-Comment-Date: Fri, 10 Jul 2026 20:49:33 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Omar Ramadan (Gerrit)

              unread,
              6:06 AM (11 hours ago) 6:06 AM
              to Vlad Krot, Avi Drissman, Kent Tamura, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Reilly Grant, chromium...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, kinuko...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org
              Attention needed from Avi Drissman, Kent Tamura, Reilly Grant and Vlad Krot

              Omar Ramadan added 4 comments

              Message

              PS16 addresses all four comments: error-name assertions in joinGroupSSMTwiceWithSameSource (InvalidStateError) and joinGroupSSMInvalidSource (TypeError), dropped the redundant parens, and added the copyright header to multicast_controller.idl. JS syntax-checked; C++ EXPECT_EQ success strings unchanged.

              4 comments

              File content/test/data/direct_sockets/udp.js
              Line 442, Patchset 16 (Latest): return 'joinGroupSSM failed: ' + error;
              Omar Ramadan . resolved

              Done in PS16.

              Line 542, Patchset 16 (Latest): if (e.name !== 'InvalidStateError') {
              Omar Ramadan . resolved

              Done in PS16 - now checks e.name === 'InvalidStateError' (what the controller throws for a duplicate group/source join), matching the idiom in cannotMixASMAndSSM.

              Line 559, Patchset 16 (Latest): // If we reach here, test failed
              Omar Ramadan . resolved

              Done in PS16 - now checks e.name === 'TypeError' (thrown by address validation for a non-parseable source).

              File third_party/blink/renderer/modules/direct_sockets/multicast_controller.idl
              Line 1, Patchset 16 (Latest):// Copyright 2025 The Chromium Authors
              Omar Ramadan . resolved

              Done in PS16 - added the standard copyright header.

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Avi Drissman
              • Kent Tamura
              • Reilly Grant
              • Vlad Krot
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement satisfiedCode-Owners
                • requirement is not satisfiedCode-Review
                • requirement is not satisfiedReview-Enforcement
                Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                Gerrit-MessageType: comment
                Gerrit-Project: chromium/src
                Gerrit-Branch: main
                Gerrit-Change-Id: I2716e9018cabeb365152d93e73baed4b48b5d934
                Gerrit-Change-Number: 7670918
                Gerrit-PatchSet: 16
                Gerrit-Owner: Omar Ramadan <om...@blockcast.net>
                Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                Gerrit-Reviewer: Kent Tamura <tk...@chromium.org>
                Gerrit-Reviewer: Omar Ramadan <om...@blockcast.net>
                Gerrit-Reviewer: Reilly Grant <rei...@chromium.org>
                Gerrit-Reviewer: Vlad Krot <vk...@google.com>
                Gerrit-CC: Andrew Rayskiy <green...@google.com>
                Gerrit-CC: Kentaro Hara <har...@chromium.org>
                Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
                Gerrit-CC: Simon Hangl <sim...@google.com>
                Gerrit-Attention: Reilly Grant <rei...@chromium.org>
                Gerrit-Attention: Avi Drissman <a...@chromium.org>
                Gerrit-Attention: Vlad Krot <vk...@google.com>
                Gerrit-Attention: Kent Tamura <tk...@chromium.org>
                Gerrit-Comment-Date: Sat, 11 Jul 2026 10:06:42 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: No
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy
                Reply all
                Reply to author
                Forward
                0 new messages