Multicast support in Direct Sockets #3 [chromium/src : main]

0 views
Skip to first unread message

AI Code Reviewer (Gerrit)

unread,
Sep 1, 2025, 9:33:56 AM (7 days ago) Sep 1
to Vlad Krot, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Andrew Rayskiy, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org

AI Code Reviewer added 1 comment

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
Line 86, Patchset 1: ExceptionState& exception_state);
AI Code Reviewer . unresolved

nit: The name for the `exception_state` parameter is obvious from its type and can be omitted from the function declaration in the header file. (Blink Style Guide: Naming - May leave obvious parameter names out of function declarations)
***

_To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options: \
**Done** | **Won't fix**: reason | **b/<bug_id>** | **Invalid:** reason \
\
This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent). \
AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve. \
[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
Gerrit-Change-Number: 6905387
Gerrit-PatchSet: 1
Gerrit-Owner: Vlad Krot <vk...@google.com>
Gerrit-Reviewer: Vlad Krot <vk...@google.com>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Andrew Rayskiy <green...@google.com>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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-Comment-Date: Mon, 01 Sep 2025 13:33:49 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Vlad Krot (Gerrit)

unread,
Sep 4, 2025, 9:08:42 AM (4 days ago) Sep 4
to Andrew Rayskiy, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
Attention needed from Andrew Rayskiy

Vlad Krot added 1 comment

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
Line 86, Patchset 1: ExceptionState& exception_state);
AI Code Reviewer . resolved

nit: The name for the `exception_state` parameter is obvious from its type and can be omitted from the function declaration in the header file. (Blink Style Guide: Naming - May leave obvious parameter names out of function declarations)
***

_To keep this interaction as brief and non-intrusive as possible, please consider responding with one of following options: \
**Done** | **Won't fix**: reason | **b/<bug_id>** | **Invalid:** reason \
\
This comment was generated by [Experimental Blink C++ Code Review Agent](http://go/blink-c++-code-review-agent). \
AI reviews can sometimes be inaccurate; We appreciate your 🙏 feedback 🙏 to help us improve. \
[File a bug](http://go/blink-c++-code-review-agent-feedback) | [Provide feedback on chat](https://chat.google.com/room/AAQA0zhQHe0?cls=4) | [Opt-out](https://ganpati2.corp.google.com/group/peep-genai-blink-agent-optout.prod)_
Vlad Krot

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Andrew Rayskiy
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
Gerrit-Change-Number: 6905387
Gerrit-PatchSet: 4
Gerrit-Owner: Vlad Krot <vk...@google.com>
Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
Gerrit-Reviewer: Vlad Krot <vk...@google.com>
Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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: Andrew Rayskiy <green...@google.com>
Gerrit-Comment-Date: Thu, 04 Sep 2025 13:08:29 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Andrew Rayskiy (Gerrit)

unread,
Sep 4, 2025, 10:07:57 AM (4 days ago) Sep 4
to Vlad Krot, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
Attention needed from Vlad Krot

Andrew Rayskiy added 8 comments

File content/browser/direct_sockets/direct_sockets_udp_browsertest.cc
Line 327, Patchset 5:IN_PROC_BROWSER_TEST_F(DirectSocketsBoundUdpBrowserTest, JoinGroup) {
Andrew Rayskiy . unresolved

Can you also add tests to `chrome/browser/direct_sockets/direct_sockets_apitest.cc` to make sure stuff really works with IWAs?

File services/network/restricted_udp_socket.cc
Line 37, Patchset 5: std::move(callback).Run(net::ERR_ACCESS_DENIED);
Andrew Rayskiy . unresolved

IIUC there's no need to invoke a callback after ReportBadMessage.

I'd rather call this `has_multicast_permission_` and structure this as

```
if (!has_multicast_permission_) {
// Calling this method without the permission means that the renderer is sending faulty IPCs.
mojo::ReportBadMessage("...");
return;
}

udp_socket_->JoinGroup(...)
```

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
Line 72, Patchset 5: Member<UDPSocketMojoRemote> udp_socket_;
Andrew Rayskiy . unresolved

nit: `const Member`

File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
Line 78, Patchset 5: BindOnce(&MulticastController::OnJoinedGroup, WrapPersistent(this),
Andrew Rayskiy . unresolved

Remove the base/ include -- it's misleading!

Line 114, Patchset 5: *parsed_ip_opt,
Andrew Rayskiy . unresolved

maybe restructure the promise hashsets to be a map<ip, promise>? This way it'd be possible to catch repeated calls early.

Line 150, Patchset 5: OnJoinLeftGroupInternal(resolver, net_error, join_group_promises_);
Andrew Rayskiy . unresolved

Frankly, this function adds more code than value (also note that `Contains()` exists!). How about

```
join_group_promises_.erase(resolver);
if (net_error == net::OK) {
if (!joined_groups_.Contains(normalized_ip_address)) {
joined_groups_.push_back(std::move(normalized_ip_address));
}
resolver->Resolve();
return;
}
resolver->Reject(...);
```

ditto below.

Line 159, Patchset 5: if (index != kNotFound) {
File third_party/blink/renderer/modules/direct_sockets/socket_options.idl
Line 34, Patchset 5:
Andrew Rayskiy . unresolved

Please fix this WARNING reported by Check Contents: Please remove the trailing whitespace.

To rerun the analyzer locally, run: `ali...

Please remove the trailing whitespace.

To rerun the analyzer locally, run: `alint -- -c CheckContents`

For more information, see go/alint.

Open in Gerrit

Related details

Attention is currently required from:
  • Vlad Krot
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
    Gerrit-Change-Number: 6905387
    Gerrit-PatchSet: 5
    Gerrit-Owner: Vlad Krot <vk...@google.com>
    Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
    Gerrit-Reviewer: Vlad Krot <vk...@google.com>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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: Vlad Krot <vk...@google.com>
    Gerrit-Comment-Date: Thu, 04 Sep 2025 14:07:43 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vlad Krot (Gerrit)

    unread,
    Sep 4, 2025, 12:49:46 PM (4 days ago) Sep 4
    to Andrew Rayskiy, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
    Attention needed from Andrew Rayskiy

    Vlad Krot added 8 comments

    File content/browser/direct_sockets/direct_sockets_udp_browsertest.cc
    Line 327, Patchset 5:IN_PROC_BROWSER_TEST_F(DirectSocketsBoundUdpBrowserTest, JoinGroup) {
    Andrew Rayskiy . resolved

    Can you also add tests to `chrome/browser/direct_sockets/direct_sockets_apitest.cc` to make sure stuff really works with IWAs?

    Vlad Krot

    Done

    File services/network/restricted_udp_socket.cc
    Line 37, Patchset 5: std::move(callback).Run(net::ERR_ACCESS_DENIED);
    Andrew Rayskiy . resolved

    IIUC there's no need to invoke a callback after ReportBadMessage.

    I'd rather call this `has_multicast_permission_` and structure this as

    ```
    if (!has_multicast_permission_) {
    // Calling this method without the permission means that the renderer is sending faulty IPCs.
    mojo::ReportBadMessage("...");
    return;
    }

    udp_socket_->JoinGroup(...)
    ```

    Vlad Krot

    Done

    File third_party/blink/renderer/modules/direct_sockets/multicast_controller.h
    Line 72, Patchset 5: Member<UDPSocketMojoRemote> udp_socket_;
    Andrew Rayskiy . resolved

    nit: `const Member`

    Vlad Krot

    Done

    File third_party/blink/renderer/modules/direct_sockets/multicast_controller.cc
    Line 78, Patchset 5: BindOnce(&MulticastController::OnJoinedGroup, WrapPersistent(this),
    Andrew Rayskiy . resolved

    Remove the base/ include -- it's misleading!

    Vlad Krot

    Done

    Line 114, Patchset 5: *parsed_ip_opt,
    Andrew Rayskiy . resolved

    maybe restructure the promise hashsets to be a map<ip, promise>? This way it'd be possible to catch repeated calls early.

    Vlad Krot

    Good idea.

    Line 150, Patchset 5: OnJoinLeftGroupInternal(resolver, net_error, join_group_promises_);
    Andrew Rayskiy . resolved

    Frankly, this function adds more code than value (also note that `Contains()` exists!). How about

    ```
    join_group_promises_.erase(resolver);
    if (net_error == net::OK) {
    if (!joined_groups_.Contains(normalized_ip_address)) {
    joined_groups_.push_back(std::move(normalized_ip_address));
    }
    resolver->Resolve();
    return;
    }
    resolver->Reject(...);
    ```

    ditto below.

    Vlad Krot

    Done

    Line 159, Patchset 5: if (index != kNotFound) {
    Andrew Rayskiy . resolved
    Vlad Krot

    Done

    File third_party/blink/renderer/modules/direct_sockets/socket_options.idl
    Line 34, Patchset 5:
    Andrew Rayskiy . resolved

    Please fix this WARNING reported by Check Contents: Please remove the trailing whitespace.

    To rerun the analyzer locally, run: `ali...

    Please remove the trailing whitespace.

    To rerun the analyzer locally, run: `alint -- -c CheckContents`

    For more information, see go/alint.

    Vlad Krot

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Rayskiy
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
    Gerrit-Change-Number: 6905387
    Gerrit-PatchSet: 6
    Gerrit-Owner: Vlad Krot <vk...@google.com>
    Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
    Gerrit-Reviewer: Vlad Krot <vk...@google.com>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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: Andrew Rayskiy <green...@google.com>
    Gerrit-Comment-Date: Thu, 04 Sep 2025 16:49:30 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Andrew Rayskiy <green...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vlad Krot (Gerrit)

    unread,
    Sep 4, 2025, 12:50:31 PM (4 days ago) Sep 4
    to Maks Orlovich, Chromium IPC Reviews, Andrew Rayskiy, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
    Attention needed from Andrew Rayskiy, Chromium IPC Reviews, Maks Orlovich and Vlad Krot

    Vlad Krot voted Commit-Queue+1

    Commit-Queue+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Rayskiy
    • Chromium IPC Reviews
    • Maks Orlovich
    • Vlad Krot
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
    Gerrit-Change-Number: 6905387
    Gerrit-PatchSet: 7
    Gerrit-Owner: Vlad Krot <vk...@google.com>
    Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
    Gerrit-Reviewer: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
    Gerrit-Reviewer: Vlad Krot <vk...@google.com>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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: Maks Orlovich <morl...@chromium.org>
    Gerrit-Attention: Vlad Krot <vk...@google.com>
    Gerrit-Attention: Andrew Rayskiy <green...@google.com>
    Gerrit-Attention: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-Comment-Date: Thu, 04 Sep 2025 16:50:14 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    gwsq (Gerrit)

    unread,
    Sep 4, 2025, 12:55:31 PM (4 days ago) Sep 4
    to Vlad Krot, Chromium IPC Reviews, Kinuko Yasuda, Maks Orlovich, Andrew Rayskiy, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
    Attention needed from Andrew Rayskiy, Kinuko Yasuda, Maks Orlovich and Vlad Krot

    Message from gwsq

    From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
    IPC: kin...@chromium.org

    📎 It looks like you’re making a possibly security-sensitive change! 📎 IPC security review isn’t a rubberstamp, so your friendly security reviewer will need a fair amount of context to review your CL effectively. Please review your CL description and code comments to make sure they provide context for someone unfamiliar with your project/area. Pay special attention to where data comes from and which processes it flows between (and their privilege levels). Feel free to point your security reviewer at design docs, bugs, or other links if you can’t reasonably make a self-contained CL description. (Also see https://cbea.ms/git-commit/).

    IPC reviewer(s): kin...@chromium.org


    Reviewer source(s):
    kin...@chromium.org is from context(googleclient/chrome/chromium_gwsq/ipc/config.gwsq)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andrew Rayskiy
    • Kinuko Yasuda
    • Maks Orlovich
    • Vlad Krot
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
    Gerrit-Change-Number: 6905387
    Gerrit-PatchSet: 8
    Gerrit-Owner: Vlad Krot <vk...@google.com>
    Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
    Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
    Gerrit-Reviewer: Vlad Krot <vk...@google.com>
    Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
    Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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-CC: gwsq
    Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
    Gerrit-Attention: Vlad Krot <vk...@google.com>
    Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
    Gerrit-Attention: Andrew Rayskiy <green...@google.com>
    Gerrit-Comment-Date: Thu, 04 Sep 2025 16:55:26 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Andrew Rayskiy (Gerrit)

    unread,
    Sep 5, 2025, 9:00:31 AM (3 days ago) Sep 5
    to Vlad Krot, Chromium IPC Reviews, Kinuko Yasuda, Maks Orlovich, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
    Attention needed from Kinuko Yasuda, Maks Orlovich and Vlad Krot

    Andrew Rayskiy voted and added 1 comment

    Votes added by Andrew Rayskiy

    Code-Review+1

    1 comment

    File chrome/browser/direct_sockets/direct_sockets_apitest.cc
    Line 1056, Patchset 10 (Latest): content::JsReplace(script, kBindAllAddress, kMulticastAddress)),
    Andrew Rayskiy . unresolved

    `net::IPAddress::IPv4AllZeros()`

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kinuko Yasuda
    • Maks Orlovich
    • Vlad Krot
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
      Gerrit-Change-Number: 6905387
      Gerrit-PatchSet: 10
      Gerrit-Owner: Vlad Krot <vk...@google.com>
      Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
      Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
      Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
      Gerrit-Reviewer: Vlad Krot <vk...@google.com>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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-CC: gwsq
      Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
      Gerrit-Attention: Vlad Krot <vk...@google.com>
      Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
      Gerrit-Comment-Date: Fri, 05 Sep 2025 13:00:11 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Vlad Krot (Gerrit)

      unread,
      Sep 5, 2025, 9:08:14 AM (3 days ago) Sep 5
      to Andrew Rayskiy, Chromium IPC Reviews, Kinuko Yasuda, Maks Orlovich, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
      Attention needed from Kinuko Yasuda and Maks Orlovich

      Vlad Krot voted and added 1 comment

      Votes added by Vlad Krot

      Commit-Queue+1

      1 comment

      File chrome/browser/direct_sockets/direct_sockets_apitest.cc
      Line 1056, Patchset 10 (Latest): content::JsReplace(script, kBindAllAddress, kMulticastAddress)),
      Andrew Rayskiy . resolved

      `net::IPAddress::IPv4AllZeros()`

      Vlad Krot

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kinuko Yasuda
      • Maks Orlovich
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
      Gerrit-Change-Number: 6905387
      Gerrit-PatchSet: 10
      Gerrit-Owner: Vlad Krot <vk...@google.com>
      Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
      Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
      Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
      Gerrit-Reviewer: Vlad Krot <vk...@google.com>
      Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
      Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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-CC: gwsq
      Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
      Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
      Gerrit-Comment-Date: Fri, 05 Sep 2025 13:07:55 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Andrew Rayskiy <green...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Maks Orlovich (Gerrit)

      unread,
      10:28 AM (2 hours ago) 10:28 AM
      to Vlad Krot, Andrew Rayskiy, Chromium IPC Reviews, Kinuko Yasuda, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
      Attention needed from Kinuko Yasuda and Vlad Krot

      Maks Orlovich added 1 comment

      File services/network/public/mojom/restricted_udp_socket.mojom
      Line 37, Patchset 12 (Latest):// The original network.mojom.UDPSocket allows the caller to perform a second
      // round of Bind() or Connect() calls after Close() which is highly undesirable
      // in an untrusted process like the renderer. This restricted version implements
      Maks Orlovich . unresolved

      Are there any similar concerns or restrictions on the multicast join/leave groups?

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kinuko Yasuda
      • Vlad Krot
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
        Gerrit-Change-Number: 6905387
        Gerrit-PatchSet: 12
        Gerrit-Owner: Vlad Krot <vk...@google.com>
        Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
        Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
        Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
        Gerrit-Reviewer: Vlad Krot <vk...@google.com>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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-CC: gwsq
        Gerrit-Attention: Vlad Krot <vk...@google.com>
        Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
        Gerrit-Comment-Date: Mon, 08 Sep 2025 14:28:53 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Vlad Krot (Gerrit)

        unread,
        11:38 AM (1 hour ago) 11:38 AM
        to Andrew Rayskiy, Chromium IPC Reviews, Kinuko Yasuda, Maks Orlovich, AI Code Reviewer, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, devtools...@chromium.org, Kentaro Hara, Raphael Kubo da Costa, Simon Hangl, pwa-com...@google.com, asvitkine...@chromium.org, blink-re...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, devtools-re...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org, network-ser...@chromium.org, rmcelra...@chromium.org
        Attention needed from Kinuko Yasuda and Maks Orlovich

        Vlad Krot added 1 comment

        File services/network/public/mojom/restricted_udp_socket.mojom
        Line 37, Patchset 12:// The original network.mojom.UDPSocket allows the caller to perform a second

        // round of Bind() or Connect() calls after Close() which is highly undesirable
        // in an untrusted process like the renderer. This restricted version implements
        Maks Orlovich . unresolved

        Are there any similar concerns or restrictions on the multicast join/leave groups?

        Vlad Krot

        This is only a concern for Bind(), Connect() after Close(). joinMulticast() won't work on closed socket, and because it is a RestrictedUDPSocket, opening it again won't work.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Kinuko Yasuda
        • Maks Orlovich
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        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: I1d8236bc2f495d6c4bf09ac995d5f1ab03f78f5c
        Gerrit-Change-Number: 6905387
        Gerrit-PatchSet: 13
        Gerrit-Owner: Vlad Krot <vk...@google.com>
        Gerrit-Reviewer: Andrew Rayskiy <green...@google.com>
        Gerrit-Reviewer: Kinuko Yasuda <kin...@chromium.org>
        Gerrit-Reviewer: Maks Orlovich <morl...@chromium.org>
        Gerrit-Reviewer: Vlad Krot <vk...@google.com>
        Gerrit-CC: AI Code Reviewer <peep-gen...@system.gserviceaccount.com>
        Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@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-CC: gwsq
        Gerrit-Attention: Maks Orlovich <morl...@chromium.org>
        Gerrit-Attention: Kinuko Yasuda <kin...@chromium.org>
        Gerrit-Comment-Date: Mon, 08 Sep 2025 15:37:50 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Maks Orlovich <morl...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages