[Reland] Use a separate utility process for system proxy resolution for Mac [chromium/src : main]

0 views
Skip to first unread message

Mayur Patil (Gerrit)

unread,
May 26, 2026, 1:48:07 AMMay 26
to Kenichi Ishibashi, Hayato Ito, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
Attention needed from Hayato Ito and Kenichi Ishibashi

Mayur Patil added 1 comment

Patchset-level comments
File-level comment, Patchset 2:
Mayur Patil . resolved

Relanding the CL: https://chromium-review.googlesource.com/c/chromium/src/+/7761426

It was previously reverted due to failures caused by newly added tests in the `Mac-12 tests` and `Mac 15 rel tests` builds. These tests & builds now appear to be passing, so no further action is required for those specific failures.

@ba...@chromium.org @hay...@chromium.org

Hayato Ito

Thanks for the update. To help with the review, could you clarify the following?

  • Is this CL identical to the reverted one, or does it include any fixes/modifications?
  • What was the exact root cause of the previous failures on the Mac bots?

I would appreciate it if you update the CL description so the description explains why this reland is safe. Thanks!

Mayur Patil

This reland is not bit-for-bit identical to the reverted CL, but the changes from the reverted patch are non-functional cleanup only: comment/formatting updates (added closure comments at end of preprocesser directives `#endif`) and an include cleanup(removed `#include<string>`). It does not contain a behavioral fix for the previous Mac failures.

Open in Gerrit

Related details

Attention is currently required from:
  • Hayato Ito
  • Kenichi Ishibashi
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: I0767f421e3a612e41057a95fa89445cb76bde56d
Gerrit-Change-Number: 7874278
Gerrit-PatchSet: 3
Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
Gerrit-Attention: Hayato Ito <hay...@chromium.org>
Gerrit-Comment-Date: Tue, 26 May 2026 05:47:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Mayur Patil <patil...@microsoft.com>
Comment-In-Reply-To: Hayato Ito <hay...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Hayato Ito (Gerrit)

unread,
May 26, 2026, 2:22:25 AMMay 26
to Mayur Patil, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
Attention needed from Kenichi Ishibashi and Mayur Patil

Hayato Ito added 1 comment

Patchset-level comments
File-level comment, Patchset 2:
Mayur Patil . unresolved

Relanding the CL: https://chromium-review.googlesource.com/c/chromium/src/+/7761426

It was previously reverted due to failures caused by newly added tests in the `Mac-12 tests` and `Mac 15 rel tests` builds. These tests & builds now appear to be passing, so no further action is required for those specific failures.

@ba...@chromium.org @hay...@chromium.org

Hayato Ito

Thanks for the update. To help with the review, could you clarify the following?

  • Is this CL identical to the reverted one, or does it include any fixes/modifications?
  • What was the exact root cause of the previous failures on the Mac bots?

I would appreciate it if you update the CL description so the description explains why this reland is safe. Thanks!

Mayur Patil

This reland is not bit-for-bit identical to the reverted CL, but the changes from the reverted patch are non-functional cleanup only: comment/formatting updates (added closure comments at end of preprocesser directives `#endif`) and an include cleanup(removed `#include<string>`). It does not contain a behavioral fix for the previous Mac failures.

Hayato Ito

Thanks for the explanation.

Just FYI.
https://chromium.googlesource.com/chromium/src/+/main/docs/contributing.md#relanding-a-change

Describe the fix: In the commit message of the reland change, briefly summarize what's changed that makes relanding again safe. Explanations can include: “included needed fix”, “disabled failing tests”, “crash was fixed elsewhere”. Specifically for that last case: if the reland change is identical to the original and the reland fix was handled separately in a preceding change, make sure to link to that change in the commit message of the reland.

So in the case of “crash was fixed elsewhere” (my guess), briefly summarize that in your CL's description. It's a bit unclear how timeout/failure wouldn't happen in this reland.

Open in Gerrit

Related details

Attention is currently required from:
  • Kenichi Ishibashi
  • Mayur Patil
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: I0767f421e3a612e41057a95fa89445cb76bde56d
    Gerrit-Change-Number: 7874278
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
    Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
    Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
    Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Comment-Date: Tue, 26 May 2026 06:22:05 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Mayur Patil (Gerrit)

    unread,
    May 26, 2026, 3:03:49 AMMay 26
    to Kenichi Ishibashi, Hayato Ito, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
    Attention needed from Hayato Ito and Kenichi Ishibashi

    Mayur Patil added 1 comment

    Patchset-level comments
    Mayur Patil . unresolved

    Relanding the CL: https://chromium-review.googlesource.com/c/chromium/src/+/7761426

    It was previously reverted due to failures caused by newly added tests in the `Mac-12 tests` and `Mac 15 rel tests` builds. These tests & builds now appear to be passing, so no further action is required for those specific failures.

    @ba...@chromium.org @hay...@chromium.org

    Hayato Ito

    Thanks for the update. To help with the review, could you clarify the following?

    • Is this CL identical to the reverted one, or does it include any fixes/modifications?
    • What was the exact root cause of the previous failures on the Mac bots?

    I would appreciate it if you update the CL description so the description explains why this reland is safe. Thanks!

    Mayur Patil

    This reland is not bit-for-bit identical to the reverted CL, but the changes from the reverted patch are non-functional cleanup only: comment/formatting updates (added closure comments at end of preprocesser directives `#endif`) and an include cleanup(removed `#include<string>`). It does not contain a behavioral fix for the previous Mac failures.

    Hayato Ito

    Thanks for the explanation.

    Just FYI.
    https://chromium.googlesource.com/chromium/src/+/main/docs/contributing.md#relanding-a-change

    Describe the fix: In the commit message of the reland change, briefly summarize what's changed that makes relanding again safe. Explanations can include: “included needed fix”, “disabled failing tests”, “crash was fixed elsewhere”. Specifically for that last case: if the reland change is identical to the original and the reland fix was handled separately in a preceding change, make sure to link to that change in the commit message of the reland.

    So in the case of “crash was fixed elsewhere” (my guess), briefly summarize that in your CL's description. It's a bit unclear how timeout/failure wouldn't happen in this reland.

    Mayur Patil

    Thanks for the pointer.

    That matches my understanding, but I do not have the links to the CL's which potentially have resolved the issue which could be claimed in the description.

    So, the safety signal in this scenario is that the exact CI-only Mac browser_tests builders that caught the original timeout/sandbox-init failure have now been explicitly included on this Reland and are passing, so the previous failure is not reproducing.

    I can just add a safety note in the description.

    Let me know your thoughts on this?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Hayato Ito
    • Kenichi Ishibashi
    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: I0767f421e3a612e41057a95fa89445cb76bde56d
    Gerrit-Change-Number: 7874278
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
    Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
    Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
    Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
    Gerrit-Attention: Hayato Ito <hay...@chromium.org>
    Gerrit-Comment-Date: Tue, 26 May 2026 07:03:29 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Hayato Ito (Gerrit)

    unread,
    May 26, 2026, 3:12:51 AMMay 26
    to Mayur Patil, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
    Attention needed from Kenichi Ishibashi and Mayur Patil

    Hayato Ito voted and added 1 comment

    Votes added by Hayato Ito

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 2:
    Mayur Patil . resolved

    Relanding the CL: https://chromium-review.googlesource.com/c/chromium/src/+/7761426

    It was previously reverted due to failures caused by newly added tests in the `Mac-12 tests` and `Mac 15 rel tests` builds. These tests & builds now appear to be passing, so no further action is required for those specific failures.

    @ba...@chromium.org @hay...@chromium.org

    Hayato Ito

    Thanks for the update. To help with the review, could you clarify the following?

    • Is this CL identical to the reverted one, or does it include any fixes/modifications?
    • What was the exact root cause of the previous failures on the Mac bots?

    I would appreciate it if you update the CL description so the description explains why this reland is safe. Thanks!

    Mayur Patil

    This reland is not bit-for-bit identical to the reverted CL, but the changes from the reverted patch are non-functional cleanup only: comment/formatting updates (added closure comments at end of preprocesser directives `#endif`) and an include cleanup(removed `#include<string>`). It does not contain a behavioral fix for the previous Mac failures.

    Hayato Ito

    Thanks for the explanation.

    Just FYI.
    https://chromium.googlesource.com/chromium/src/+/main/docs/contributing.md#relanding-a-change

    Describe the fix: In the commit message of the reland change, briefly summarize what's changed that makes relanding again safe. Explanations can include: “included needed fix”, “disabled failing tests”, “crash was fixed elsewhere”. Specifically for that last case: if the reland change is identical to the original and the reland fix was handled separately in a preceding change, make sure to link to that change in the commit message of the reland.

    So in the case of “crash was fixed elsewhere” (my guess), briefly summarize that in your CL's description. It's a bit unclear how timeout/failure wouldn't happen in this reland.

    Mayur Patil

    Thanks for the pointer.

    That matches my understanding, but I do not have the links to the CL's which potentially have resolved the issue which could be claimed in the description.

    So, the safety signal in this scenario is that the exact CI-only Mac browser_tests builders that caught the original timeout/sandbox-init failure have now been explicitly included on this Reland and are passing, so the previous failure is not reproducing.

    I can just add a safety note in the description.

    Let me know your thoughts on this?

    Hayato Ito

    I can just add a safety note in the description.

    That sounds good to me. Thanks!

    It is completely fine that you cannot guarantee this reland is 100% safe; failures can happen at any time with any CL or reland.

    I just wanted to make our intentions clear in the CL description, which will be helpful for a gardener when deciding whether or not to revert it if it is suspected of being the culprit.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Kenichi Ishibashi
    • Mayur Patil
    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: I0767f421e3a612e41057a95fa89445cb76bde56d
      Gerrit-Change-Number: 7874278
      Gerrit-PatchSet: 3
      Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
      Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
      Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
      Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
      Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
      Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
      Gerrit-Comment-Date: Tue, 26 May 2026 07:12:30 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Tsuyoshi Horo (Gerrit)

      unread,
      May 26, 2026, 4:10:14 AMMay 26
      to Mayur Patil, krishna dheeraj Pannala, Hayato Ito, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
      Attention needed from Kenichi Ishibashi, Mayur Patil and krishna dheeraj Pannala

      Tsuyoshi Horo added 1 comment

      Patchset-level comments
      File-level comment, Patchset 2:
      Mayur Patil . unresolved
      Tsuyoshi Horo

      Drive-by comments:

      Have you run these tests in your local macOS environment? Even with the current state of this CL, applying it in my local environment causes the tests to fail, similar to the failures observed on the try bots.

      According to the logs in Console.app, the failure seems to occur in SandboxSerializer::ApplySerializedPolicy() [here](https://source.chromium.org/chromium/chromium/src/+/main:sandbox/mac/sandbox_serializer.cc;l=215;drc=cab606d12ed8680978e482a0cdec691c7f06f6d2):

      ```
      error 16:57:30.743360+0900 browser_tests SandboxSerializer: Failed to initialize sandbox with source mode policy: internal-strcmp: argument 1 must be: string

      ```

      This suggests there might be an issue with sandbox/policy/mac/proxy_resolver.sb, which was added in CL [6904119](https://crrev.com/c/6904119). It might be worth reaching out to @kpan...@microsoft.com (the author of that CL) to investigate this further.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kenichi Ishibashi
      • Mayur Patil
      • krishna dheeraj Pannala
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I0767f421e3a612e41057a95fa89445cb76bde56d
        Gerrit-Change-Number: 7874278
        Gerrit-PatchSet: 4
        Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
        Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
        Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
        Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
        Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
        Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
        Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Attention: krishna dheeraj Pannala <kpan...@microsoft.com>
        Gerrit-Comment-Date: Tue, 26 May 2026 08:09:51 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Mayur Patil (Gerrit)

        unread,
        May 26, 2026, 4:35:46 AMMay 26
        to krishna dheeraj Pannala, Tsuyoshi Horo, Hayato Ito, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
        Attention needed from Hayato Ito, Kenichi Ishibashi, Tsuyoshi Horo and krishna dheeraj Pannala

        Mayur Patil added 1 comment

        Patchset-level comments

        Thanks for the looking into it.

        I don’t have access to a macOS environment at the moment. I’ll arrange one and test these changes there.

        Till then I will keep these changes on hold.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Hayato Ito
        • Kenichi Ishibashi
        • Tsuyoshi Horo
        • krishna dheeraj Pannala
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I0767f421e3a612e41057a95fa89445cb76bde56d
        Gerrit-Change-Number: 7874278
        Gerrit-PatchSet: 4
        Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
        Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
        Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
        Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
        Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
        Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
        Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
        Gerrit-Attention: krishna dheeraj Pannala <kpan...@microsoft.com>
        Gerrit-Attention: Hayato Ito <hay...@chromium.org>
        Gerrit-Comment-Date: Tue, 26 May 2026 08:35:18 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Tsuyoshi Horo <ho...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Mayur Patil (Gerrit)

        unread,
        Jun 14, 2026, 7:53:10 AM (11 days ago) Jun 14
        to krishna dheeraj Pannala, Tsuyoshi Horo, Hayato Ito, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
        Attention needed from Hayato Ito, Kenichi Ishibashi and Tsuyoshi Horo

        Mayur Patil voted and added 1 comment

        Votes added by Mayur Patil

        Commit-Queue+1

        1 comment

        Patchset-level comments
        Mayur Patil

        I was able to reproduce this locally on mac. The issue is that `proxy_resolver.sb` expects the `SYSTEM_PROXY_NETWORK_ACCESS` parameter, but `SetupSandboxParameters()` wasn’t setting it for `kProxyResolver`. Because of this mismatch, seatbelt failed to compile the profile with error `internal-strcmp`, due to which the sandbox initialization crashed.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Hayato Ito
        • Kenichi Ishibashi
        • Tsuyoshi Horo
        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: I0767f421e3a612e41057a95fa89445cb76bde56d
          Gerrit-Change-Number: 7874278
          Gerrit-PatchSet: 6
          Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
          Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
          Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
          Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
          Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
          Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
          Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
          Gerrit-Attention: Hayato Ito <hay...@chromium.org>
          Gerrit-Comment-Date: Sun, 14 Jun 2026 11:52:28 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Mayur Patil (Gerrit)

          unread,
          Jun 14, 2026, 8:28:48 AM (11 days ago) Jun 14
          to Tsuyoshi Horo, krishna dheeraj Pannala, Hayato Ito, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org, network-ser...@chromium.org
          Attention needed from Hayato Ito, Kenichi Ishibashi and Tsuyoshi Horo

          Mayur Patil voted and added 1 comment

          Votes added by Mayur Patil

          Commit-Queue+1

          1 comment

          Patchset-level comments
          File-level comment, Patchset 2:
          Mayur Patil . resolved
          Mayur Patil

          Done

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Hayato Ito
          • Kenichi Ishibashi
          • Tsuyoshi Horo
          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: I0767f421e3a612e41057a95fa89445cb76bde56d
            Gerrit-Change-Number: 7874278
            Gerrit-PatchSet: 6
            Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
            Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
            Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
            Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
            Gerrit-Reviewer: Tsuyoshi Horo <ho...@chromium.org>
            Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
            Gerrit-Attention: Tsuyoshi Horo <ho...@chromium.org>
            Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
            Gerrit-Attention: Hayato Ito <hay...@chromium.org>
            Gerrit-Comment-Date: Sun, 14 Jun 2026 12:28:21 +0000
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Tsuyoshi Horo (Gerrit)

            unread,
            Jun 14, 2026, 9:07:10 PM (11 days ago) Jun 14
            to Mayur Patil, krishna dheeraj Pannala, Hayato Ito, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
            Attention needed from Hayato Ito, Kenichi Ishibashi and Mayur Patil

            Tsuyoshi Horo added 2 comments

            Patchset-level comments
            File-level comment, Patchset 8 (Latest):
            Tsuyoshi Horo . resolved

            Thanks for fixing the sandbox parameters. The changes in this CL look good to me. However, since I haven't followed the entire history of crbug.com/442313607, please make sure to get LGTMs from bashi@ and hayato@ as well, just in case.

            Regarding my comment in mac_system_proxy_resolver_mojo_unittest.cc, it’s intended as a question for hayato@ and not meant to block the submission of this CL. If you receive LGTMs from both of them but find that an unresolved comment prevents submission, please feel free to mark it as resolved.

            File services/network/mac_system_proxy_resolver_mojo_unittest.cc
            Line 117, Patchset 8 (Latest):
            // This shouldn't crash and there should never be a callback to
            // ProxyResolutionComplete(). Post a sentinel task and wait for it to
            // ensure all previously posted tasks (including the Mojo callback) have
            // had a chance to run.
            bool sentinel_ran = false;
            base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
            FROM_HERE,
            base::BindOnce([](bool* flag) { *flag = true; }, &sentinel_ran));
            ASSERT_TRUE(base::test::RunUntil([&]() { return sentinel_ran; }));
            Tsuyoshi Horo . unresolved

            To hay...@chromium.org: I think the current testing approach will be insufficient once the Task Scheduler is active. Do you have any ideas for a better testing strategy that accounts for prioritized task execution?

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Hayato Ito
            • Kenichi Ishibashi
            • Mayur Patil
            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: I0767f421e3a612e41057a95fa89445cb76bde56d
              Gerrit-Change-Number: 7874278
              Gerrit-PatchSet: 8
              Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
              Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
              Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
              Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
              Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
              Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
              Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
              Gerrit-Attention: Hayato Ito <hay...@chromium.org>
              Gerrit-Comment-Date: Mon, 15 Jun 2026 01:06:36 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Hayato Ito (Gerrit)

              unread,
              Jun 15, 2026, 3:55:04 AM (11 days ago) Jun 15
              to Mayur Patil, Tsuyoshi Horo, krishna dheeraj Pannala, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
              Attention needed from Kenichi Ishibashi and Mayur Patil

              Hayato Ito added 1 comment

              File services/network/mac_system_proxy_resolver_mojo_unittest.cc
              Line 117, Patchset 8 (Latest):
              // This shouldn't crash and there should never be a callback to
              // ProxyResolutionComplete(). Post a sentinel task and wait for it to
              // ensure all previously posted tasks (including the Mojo callback) have
              // had a chance to run.
              bool sentinel_ran = false;
              base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
              FROM_HERE,
              base::BindOnce([](bool* flag) { *flag = true; }, &sentinel_ran));
              ASSERT_TRUE(base::test::RunUntil([&]() { return sentinel_ran; }));
              Tsuyoshi Horo . unresolved

              To hay...@chromium.org: I think the current testing approach will be insufficient once the Task Scheduler is active. Do you have any ideas for a better testing strategy that accounts for prioritized task execution?

              Hayato Ito

              Please read https://chromium.googlesource.com/chromium/src/+/HEAD/net/base/task/.

              Unless other post tasks explicly use lower priority task queues, base::SequencedTaskRunner::GetCurrentDefault() should work fine here in the test.

              However, in general, it's not a good idea to rely on RunUntil with a sentinel; that's racy.

              Having said that, if you are unsure, use RequestPriority::THROTTLED for sentinel.

              e.g. net::GetTaskRunner(RequestPriority::THROTTLED)

              See https://chromium-review.git.corp.google.com/c/chromium/src/+/7761426 for available RequestPriority variants.

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Kenichi Ishibashi
              • Mayur Patil
              Gerrit-Comment-Date: Mon, 15 Jun 2026 07:54:30 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              Comment-In-Reply-To: Tsuyoshi Horo <ho...@chromium.org>
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Hayato Ito (Gerrit)

              unread,
              Jun 15, 2026, 4:00:21 AM (11 days ago) Jun 15
              to Mayur Patil, Tsuyoshi Horo, krishna dheeraj Pannala, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
              Attention needed from Kenichi Ishibashi and Mayur Patil

              Hayato Ito added 1 comment

              File services/network/mac_system_proxy_resolver_mojo_unittest.cc
              Line 117, Patchset 8 (Latest):
              // This shouldn't crash and there should never be a callback to
              // ProxyResolutionComplete(). Post a sentinel task and wait for it to
              // ensure all previously posted tasks (including the Mojo callback) have
              // had a chance to run.
              bool sentinel_ran = false;
              base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
              FROM_HERE,
              base::BindOnce([](bool* flag) { *flag = true; }, &sentinel_ran));
              ASSERT_TRUE(base::test::RunUntil([&]() { return sentinel_ran; }));
              Tsuyoshi Horo . unresolved

              To hay...@chromium.org: I think the current testing approach will be insufficient once the Task Scheduler is active. Do you have any ideas for a better testing strategy that accounts for prioritized task execution?

              Hayato Ito

              Please read https://chromium.googlesource.com/chromium/src/+/HEAD/net/base/task/.

              Unless other post tasks explicly use lower priority task queues, base::SequencedTaskRunner::GetCurrentDefault() should work fine here in the test.

              However, in general, it's not a good idea to rely on RunUntil with a sentinel; that's racy.

              Having said that, if you are unsure, use RequestPriority::THROTTLED for sentinel.

              e.g. net::GetTaskRunner(RequestPriority::THROTTLED)

              See https://chromium-review.git.corp.google.com/c/chromium/src/+/7761426 for available RequestPriority variants.

              Hayato Ito
              Gerrit-Comment-Date: Mon, 15 Jun 2026 07:59:44 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              Comment-In-Reply-To: Tsuyoshi Horo <ho...@chromium.org>
              Comment-In-Reply-To: Hayato Ito <hay...@chromium.org>
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Tsuyoshi Horo (Gerrit)

              unread,
              Jun 15, 2026, 6:12:51 AM (11 days ago) Jun 15
              to Mayur Patil, krishna dheeraj Pannala, Hayato Ito, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
              Attention needed from Hayato Ito, Kenichi Ishibashi and Mayur Patil

              Tsuyoshi Horo added 1 comment

              File services/network/mac_system_proxy_resolver_mojo_unittest.cc
              Line 117, Patchset 8 (Latest):
              // This shouldn't crash and there should never be a callback to
              // ProxyResolutionComplete(). Post a sentinel task and wait for it to
              // ensure all previously posted tasks (including the Mojo callback) have
              // had a chance to run.
              bool sentinel_ran = false;
              base::SequencedTaskRunner::GetCurrentDefault()->PostTask(
              FROM_HERE,
              base::BindOnce([](bool* flag) { *flag = true; }, &sentinel_ran));
              ASSERT_TRUE(base::test::RunUntil([&]() { return sentinel_ran; }));
              Tsuyoshi Horo . resolved

              To hay...@chromium.org: I think the current testing approach will be insufficient once the Task Scheduler is active. Do you have any ideas for a better testing strategy that accounts for prioritized task execution?

              Hayato Ito

              Please read https://chromium.googlesource.com/chromium/src/+/HEAD/net/base/task/.

              Unless other post tasks explicly use lower priority task queues, base::SequencedTaskRunner::GetCurrentDefault() should work fine here in the test.

              However, in general, it's not a good idea to rely on RunUntil with a sentinel; that's racy.

              Having said that, if you are unsure, use RequestPriority::THROTTLED for sentinel.

              e.g. net::GetTaskRunner(RequestPriority::THROTTLED)

              See https://chromium-review.git.corp.google.com/c/chromium/src/+/7761426 for available RequestPriority variants.

              Hayato Ito

              See https://chromium-review.git.corp.google.com/c/chromium/src/+/7761426 for available RequestPriority variants.

              Correction: https://source.chromium.org/chromium/chromium/src/+/main:net/base/request_priority.h;l=28?q=RequestPriority&ss=chromium

              Tsuyoshi Horo

              Ah I see. Marking as resolved.

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Hayato Ito
              • Kenichi Ishibashi
              • Mayur Patil
              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: I0767f421e3a612e41057a95fa89445cb76bde56d
                Gerrit-Change-Number: 7874278
                Gerrit-PatchSet: 8
                Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
                Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
                Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
                Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
                Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
                Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
                Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
                Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
                Gerrit-Attention: Hayato Ito <hay...@chromium.org>
                Gerrit-Comment-Date: Mon, 15 Jun 2026 10:12:17 +0000
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Hayato Ito (Gerrit)

                unread,
                Jun 16, 2026, 12:07:32 AM (10 days ago) Jun 16
                to Mayur Patil, Tsuyoshi Horo, krishna dheeraj Pannala, Kenichi Ishibashi, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
                Attention needed from Kenichi Ishibashi and Mayur Patil

                Hayato Ito voted Code-Review+1

                Code-Review+1
                Open in Gerrit

                Related details

                Attention is currently required from:
                • Kenichi Ishibashi
                • Mayur Patil
                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: I0767f421e3a612e41057a95fa89445cb76bde56d
                  Gerrit-Change-Number: 7874278
                  Gerrit-PatchSet: 8
                  Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
                  Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
                  Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
                  Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
                  Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
                  Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Attention: Kenichi Ishibashi <ba...@chromium.org>
                  Gerrit-Comment-Date: Tue, 16 Jun 2026 04:06:57 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Kenichi Ishibashi (Gerrit)

                  unread,
                  Jun 17, 2026, 8:09:06 PM (8 days ago) Jun 17
                  to Mayur Patil, Hayato Ito, Tsuyoshi Horo, krishna dheeraj Pannala, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
                  Attention needed from Mayur Patil

                  Kenichi Ishibashi voted Code-Review+1

                  Code-Review+1
                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Mayur Patil
                  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: I0767f421e3a612e41057a95fa89445cb76bde56d
                  Gerrit-Change-Number: 7874278
                  Gerrit-PatchSet: 8
                  Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
                  Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
                  Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
                  Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
                  Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
                  Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Comment-Date: Thu, 18 Jun 2026 00:08:32 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  gwsq (Gerrit)

                  unread,
                  Jun 17, 2026, 11:41:52 PM (8 days ago) Jun 17
                  to Mayur Patil, Chromium IPC Reviews, Alex Gough, Avi Drissman, Kenichi Ishibashi, Hayato Ito, Tsuyoshi Horo, krishna dheeraj Pannala, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
                  Attention needed from Alex Gough and Avi Drissman

                  Message from gwsq

                  From googleclient/chrome/chromium_gwsq/ipc/config.gwsq:
                  IPC: aj...@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): aj...@chromium.org


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

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Alex Gough
                  • Avi Drissman
                  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: I0767f421e3a612e41057a95fa89445cb76bde56d
                  Gerrit-Change-Number: 7874278
                  Gerrit-PatchSet: 8
                  Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Reviewer: Alex Gough <aj...@chromium.org>
                  Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                  Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
                  Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
                  Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
                  Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                  Gerrit-CC: gwsq
                  Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
                  Gerrit-Attention: Avi Drissman <a...@chromium.org>
                  Gerrit-Attention: Alex Gough <aj...@chromium.org>
                  Gerrit-Comment-Date: Thu, 18 Jun 2026 03:41:07 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: No
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Alex Gough (Gerrit)

                  unread,
                  Jun 18, 2026, 12:42:44 AM (8 days ago) Jun 18
                  to Mayur Patil, Alex Gough, Chromium IPC Reviews, Avi Drissman, Kenichi Ishibashi, Hayato Ito, Tsuyoshi Horo, krishna dheeraj Pannala, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
                  Attention needed from Avi Drissman and Mayur Patil

                  Alex Gough voted and added 1 comment

                  Votes added by Alex Gough

                  Code-Review+1

                  1 comment

                  Patchset-level comments
                  Alex Gough . resolved

                  lgtm reland

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Avi Drissman
                  • Mayur Patil
                  Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Attention: Avi Drissman <a...@chromium.org>
                  Gerrit-Comment-Date: Thu, 18 Jun 2026 04:42:27 +0000
                  Gerrit-HasComments: Yes
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Avi Drissman (Gerrit)

                  unread,
                  Jun 18, 2026, 10:05:46 AM (7 days ago) Jun 18
                  to Mayur Patil, Avi Drissman, Rakina Zata Amni, Alex Gough, Chromium IPC Reviews, Kenichi Ishibashi, Hayato Ito, Tsuyoshi Horo, krishna dheeraj Pannala, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
                  Attention needed from Mayur Patil and Rakina Zata Amni

                  Avi Drissman voted Code-Review+1

                  Code-Review+1
                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Mayur Patil
                  • Rakina Zata Amni
                  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: I0767f421e3a612e41057a95fa89445cb76bde56d
                  Gerrit-Change-Number: 7874278
                  Gerrit-PatchSet: 8
                  Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Reviewer: Alex Gough <aj...@chromium.org>
                  Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                  Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
                  Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
                  Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                  Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                  Gerrit-CC: Tsuyoshi Horo <ho...@chromium.org>
                  Gerrit-CC: gwsq
                  Gerrit-CC: krishna dheeraj Pannala <kpan...@microsoft.com>
                  Gerrit-Attention: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                  Gerrit-Comment-Date: Thu, 18 Jun 2026 14:05:34 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  open
                  diffy

                  Mayur Patil (Gerrit)

                  unread,
                  Jun 18, 2026, 12:21:28 PM (7 days ago) Jun 18
                  to Avi Drissman, Rakina Zata Amni, Alex Gough, Chromium IPC Reviews, Kenichi Ishibashi, Hayato Ito, Tsuyoshi Horo, krishna dheeraj Pannala, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org
                  Attention needed from Rakina Zata Amni

                  Mayur Patil voted Commit-Queue+2

                  Commit-Queue+2
                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Rakina Zata Amni
                  Gerrit-Attention: Rakina Zata Amni <rak...@chromium.org>
                  Gerrit-Comment-Date: Thu, 18 Jun 2026 16:21:04 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  open
                  diffy

                  Chromium LUCI CQ (Gerrit)

                  unread,
                  Jun 18, 2026, 1:49:58 PM (7 days ago) Jun 18
                  to Mayur Patil, Avi Drissman, Rakina Zata Amni, Alex Gough, Chromium IPC Reviews, Kenichi Ishibashi, Hayato Ito, Tsuyoshi Horo, krishna dheeraj Pannala, android-bu...@system.gserviceaccount.com, chromium...@chromium.org, fenced-fra...@chromium.org, ipc-securi...@chromium.org, mac-r...@chromium.org, net-r...@chromium.org

                  Chromium LUCI CQ submitted the change

                  Change information

                  Commit message:
                  [Reland] Use a separate utility process for system proxy resolution for Mac

                  Original CL: crrev.com/c/7761426 Revert CL: crrev.com/c/7807640

                  Reason for revert: The original CL was reverted because the newly added
                  ChromeMojoProxyResolverMacBrowserTest tests failed on CI-only Mac
                  browser_tests.

                  - chromium.mac:Mac12 Tests|browser_tests https://ci.chromium.org/ui/p/chromium/builders/ci/Mac12%20Tests/42497/test-results
                  - chromium.mac:mac15-x64-rel-tests|browser_tests
                  https://ci.chromium.org/ui/p/chromium/builders/ci/mac15-x64-rel-tests/17348/test-results

                  The common failing tests were:
                  - ChromeMojoProxyResolverMacBrowserTest.ServiceLifecycle
                  - ChromeMojoProxyResolverMacBrowserTest.DestroyAndCreateService
                  - ChromeMojoProxyResolverMacBrowserTest.DestroyResolver

                  The concrete failure mode was a failure while initializing the macOS
                  seatbelt sandbox for the proxy resolver utility process:

                  test_launcher.cc(368): Check failed:
                  seatbelt.server->InitializeSandbox().

                  DestroyResolver also timed out waiting for the service launch:
                  chrome_mojo_proxy_resolver_mac_browsertest.cc(41): RunLoop::Run() timed
                  out.

                  Root cause:
                  The proxy resolver seatbelt profile (sandbox/policy/mac/proxy_resolver.sb) requires the SYSTEM_PROXY_NETWORK_ACCESS parameter, but SetupSandboxParameters() did not supply it for the kProxyResolver sandbox type. With the parameter missing, seatbelt could not compile the profile and failed with "internal-strcmp: argument 1 must be: string", which causedsandbox initialization to crash.

                  Fix (included in this reland at Patchset 6):
                  - content/browser/sandbox_parameters_mac.mm:Handle kProxyResolver case
                  and supply SYSTEM_PROXY_NETWORK_ACCESS. It is set to false for now;
                  PAC/WPAD network access stays disabled until that support is added
                  (crbug.com/442313607).
                  - content/browser/service_host/utility_sandbox_delegate.cc: add
                  kProxyResolver to the supported sandbox types on Mac and Windows.

                  Regression coverage:
                  Added SandboxMacTest.ProxyResolverInitializesSandbox in
                  content/browser/sandbox_mac_unittest.mm, which runs the kProxyResolver
                  policy through SetupSandboxParameters() and initializes the seatbelt
                  sandbox, the exact path that previously crashed. Verified locally on
                  macOS: the test fails with the original "internal-strcmp" error without
                  the fix and passes with it.

                  This reland is therefore self-contained. It carries the fix for the root
                  cause rather than relying on a fix landed elsewhere.

                  Include-Ci-Only-Tests: chromium.mac:Mac12 Tests|browser_tests
                  Include-Ci-Only-Tests: chromium.mac:mac15-x64-rel-tests|browser_tests
                  Bug: 442313607
                  Change-Id: I0767f421e3a612e41057a95fa89445cb76bde56d
                  Reviewed-by: Avi Drissman <a...@chromium.org>
                  Commit-Queue: Mayur Patil <patil...@microsoft.com>
                  Reviewed-by: Hayato Ito <hay...@chromium.org>
                  Reviewed-by: Kenichi Ishibashi <ba...@chromium.org>
                  Reviewed-by: Alex Gough <aj...@chromium.org>
                  Cr-Commit-Position: refs/heads/main@{#1649175}
                  Files:
                  • M chrome/browser/net/BUILD.gn
                  • A chrome/browser/net/chrome_mojo_proxy_resolver_mac.cc
                  • A chrome/browser/net/chrome_mojo_proxy_resolver_mac.h
                  • A chrome/browser/net/chrome_mojo_proxy_resolver_mac_browsertest.cc
                  • M chrome/browser/net/system_network_context_manager.cc
                  • M chrome/test/BUILD.gn
                  • M content/browser/sandbox_mac_unittest.mm
                  • M content/browser/sandbox_parameters_mac.mm
                  • M content/browser/service_host/utility_sandbox_delegate.cc
                  • M services/network/BUILD.gn
                  • A services/network/mac_system_proxy_resolver_mojo.cc
                  • A services/network/mac_system_proxy_resolver_mojo.h
                  • A services/network/mac_system_proxy_resolver_mojo_unittest.cc
                  • M services/network/network_context.cc
                  • M services/network/public/mojom/network_context.mojom
                  • M services/network/url_request_context_builder_mojo.cc
                  • M services/network/url_request_context_builder_mojo.h
                  Change size: L
                  Delta: 17 files changed, 682 insertions(+), 40 deletions(-)
                  Branch: refs/heads/main
                  Submit Requirements:
                  • requirement satisfiedCode-Review: +1 by Avi Drissman, +1 by Kenichi Ishibashi, +1 by Hayato Ito, +1 by Alex Gough
                  Open in Gerrit
                  Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                  Gerrit-MessageType: merged
                  Gerrit-Project: chromium/src
                  Gerrit-Branch: main
                  Gerrit-Change-Id: I0767f421e3a612e41057a95fa89445cb76bde56d
                  Gerrit-Change-Number: 7874278
                  Gerrit-PatchSet: 9
                  Gerrit-Owner: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Reviewer: Alex Gough <aj...@chromium.org>
                  Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
                  Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
                  Gerrit-Reviewer: Hayato Ito <hay...@chromium.org>
                  Gerrit-Reviewer: Kenichi Ishibashi <ba...@chromium.org>
                  Gerrit-Reviewer: Mayur Patil <patil...@microsoft.com>
                  Gerrit-Reviewer: Rakina Zata Amni <rak...@chromium.org>
                  Gerrit-CC: Chromium IPC Reviews <chrome-ip...@google.com>
                  open
                  diffy
                  satisfied_requirement
                  Reply all
                  Reply to author
                  Forward
                  0 new messages