LNA: Add feature param to only prompt for loopback addresses [chromium/src : main]

0 views
Skip to first unread message

Giovanni Ortuno Urquidi (Gerrit)

unread,
Aug 28, 2025, 1:23:57 PM (11 days ago) Aug 28
to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
Attention needed from Harald Alvestrand

Giovanni Ortuno Urquidi added 1 comment

Patchset-level comments
File-level comment, Patchset 5 (Latest):
Giovanni Ortuno Urquidi . resolved

hta: PTAL!

Open in Gerrit

Related details

Attention is currently required from:
  • Harald Alvestrand
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: Iaea406f015f3d88a5091392f508d63c414a15ccb
Gerrit-Change-Number: 6794604
Gerrit-PatchSet: 5
Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
Gerrit-Attention: Harald Alvestrand <h...@chromium.org>
Gerrit-Comment-Date: Thu, 28 Aug 2025 17:23:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Harald Alvestrand (Gerrit)

unread,
Aug 28, 2025, 3:51:00 PM (11 days ago) Aug 28
to Giovanni Ortuno Urquidi, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
Attention needed from Giovanni Ortuno Urquidi

Harald Alvestrand voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Giovanni Ortuno Urquidi
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: Iaea406f015f3d88a5091392f508d63c414a15ccb
    Gerrit-Change-Number: 6794604
    Gerrit-PatchSet: 5
    Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
    Gerrit-Attention: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 Aug 2025 19:50:43 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Giovanni Ortuno Urquidi (Gerrit)

    unread,
    Aug 28, 2025, 3:52:19 PM (11 days ago) Aug 28
    to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
    Attention needed from mmenke

    Giovanni Ortuno Urquidi voted and added 1 comment

    Votes added by Giovanni Ortuno Urquidi

    Auto-Submit+1

    1 comment

    Patchset-level comments
    Giovanni Ortuno Urquidi . resolved

    mmenke: PTAL at services/network

    Open in Gerrit

    Related details

    Attention is currently required from:
    • mmenke
    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: Iaea406f015f3d88a5091392f508d63c414a15ccb
    Gerrit-Change-Number: 6794604
    Gerrit-PatchSet: 5
    Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
    Gerrit-Reviewer: mmenke <mme...@chromium.org>
    Gerrit-Attention: mmenke <mme...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 Aug 2025 19:52:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    mmenke (Gerrit)

    unread,
    Aug 28, 2025, 3:56:41 PM (11 days ago) Aug 28
    to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
    Attention needed from Giovanni Ortuno Urquidi

    mmenke added 1 comment

    Patchset-level comments
    mmenke . resolved

    We should have tests for this.

    Not my area (and not for this CL, certainly), but is this a decision we should be trusting the renderer process to make?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Giovanni Ortuno Urquidi
    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: Iaea406f015f3d88a5091392f508d63c414a15ccb
    Gerrit-Change-Number: 6794604
    Gerrit-PatchSet: 5
    Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
    Gerrit-Reviewer: mmenke <mme...@chromium.org>
    Gerrit-Attention: Giovanni Ortuno Urquidi <ort...@chromium.org>
    Gerrit-Comment-Date: Thu, 28 Aug 2025 19:56:34 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Giovanni Ortuno Urquidi (Gerrit)

    unread,
    Aug 28, 2025, 4:07:16 PM (11 days ago) Aug 28
    to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
    Attention needed from mmenke

    Giovanni Ortuno Urquidi added 1 comment

    Patchset-level comments
    mmenke . unresolved

    We should have tests for this.

    Not my area (and not for this CL, certainly), but is this a decision we should be trusting the renderer process to make?

    Giovanni Ortuno Urquidi

    Are you asking for tests when the killswitch is enabled? The feature is generally tested by web tests and there are tests in WebRTC as well.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • mmenke
    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: Iaea406f015f3d88a5091392f508d63c414a15ccb
      Gerrit-Change-Number: 6794604
      Gerrit-PatchSet: 5
      Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
      Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
      Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
      Gerrit-Reviewer: mmenke <mme...@chromium.org>
      Gerrit-Attention: mmenke <mme...@chromium.org>
      Gerrit-Comment-Date: Thu, 28 Aug 2025 20:07:11 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: mmenke <mme...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Giovanni Ortuno Urquidi (Gerrit)

      unread,
      Sep 3, 2025, 4:40:49 PM (5 days ago) Sep 3
      to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
      Attention needed from Harald Alvestrand and mmenke

      Giovanni Ortuno Urquidi voted and added 1 comment

      Votes added by Giovanni Ortuno Urquidi

      Auto-Submit+1
      Commit-Queue+0

      1 comment

      Patchset-level comments

      We should have tests for this.

      Not my area (and not for this CL, certainly), but is this a decision we should be trusting the renderer process to make?

      Giovanni Ortuno Urquidi

      Are you asking for tests when the killswitch is enabled? The feature is generally tested by web tests and there are tests in WebRTC as well.

      Giovanni Ortuno Urquidi

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Harald Alvestrand
      • mmenke
      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: Iaea406f015f3d88a5091392f508d63c414a15ccb
        Gerrit-Change-Number: 6794604
        Gerrit-PatchSet: 6
        Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
        Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
        Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
        Gerrit-Reviewer: mmenke <mme...@chromium.org>
        Gerrit-Attention: Harald Alvestrand <h...@chromium.org>
        Gerrit-Attention: mmenke <mme...@chromium.org>
        Gerrit-Comment-Date: Wed, 03 Sep 2025 20:40:45 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Giovanni Ortuno Urquidi <ort...@chromium.org>
        Comment-In-Reply-To: mmenke <mme...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Giovanni Ortuno Urquidi (Gerrit)

        unread,
        Sep 3, 2025, 4:41:13 PM (5 days ago) Sep 3
        to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
        Attention needed from Harald Alvestrand and mmenke

        Giovanni Ortuno Urquidi voted and added 1 comment

        Votes added by Giovanni Ortuno Urquidi

        Auto-Submit+0

        1 comment

        Patchset-level comments
        Giovanni Ortuno Urquidi . resolved

        hta: Mind taking a look again? I added tests so need your +1 for that file.

        Gerrit-Comment-Date: Wed, 03 Sep 2025 20:41:09 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        mmenke (Gerrit)

        unread,
        Sep 3, 2025, 5:00:50 PM (5 days ago) Sep 3
        to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
        Attention needed from Giovanni Ortuno Urquidi and Harald Alvestrand

        mmenke voted and added 1 comment

        Votes added by mmenke

        Code-Review+1

        1 comment

        Patchset-level comments
        mmenke . resolved

        LGTM!

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Giovanni Ortuno Urquidi
        • Harald Alvestrand
        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: Iaea406f015f3d88a5091392f508d63c414a15ccb
          Gerrit-Change-Number: 6794604
          Gerrit-PatchSet: 6
          Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
          Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
          Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
          Gerrit-Reviewer: mmenke <mme...@chromium.org>
          Gerrit-Attention: Harald Alvestrand <h...@chromium.org>
          Gerrit-Attention: Giovanni Ortuno Urquidi <ort...@chromium.org>
          Gerrit-Comment-Date: Wed, 03 Sep 2025 21:00:45 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Harald Alvestrand (Gerrit)

          unread,
          Sep 4, 2025, 5:23:03 PM (4 days ago) Sep 4
          to Giovanni Ortuno Urquidi, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
          Attention needed from Giovanni Ortuno Urquidi

          Harald Alvestrand voted and added 1 comment

          Votes added by Harald Alvestrand

          Code-Review+1

          1 comment

          Patchset-level comments
          Harald Alvestrand . resolved

          Seems a bit iffy to have this big TestCase struct and then compound it with a boolean... but your style choice.

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Giovanni Ortuno Urquidi
          Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement 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: Iaea406f015f3d88a5091392f508d63c414a15ccb
          Gerrit-Change-Number: 6794604
          Gerrit-PatchSet: 6
          Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
          Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
          Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
          Gerrit-Reviewer: mmenke <mme...@chromium.org>
          Gerrit-Attention: Giovanni Ortuno Urquidi <ort...@chromium.org>
          Gerrit-Comment-Date: Thu, 04 Sep 2025 21:22:43 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          satisfied_requirement
          open
          diffy

          Giovanni Ortuno Urquidi (Gerrit)

          unread,
          Sep 4, 2025, 6:11:49 PM (4 days ago) Sep 4
          to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
          Attention needed from Harald Alvestrand

          Giovanni Ortuno Urquidi added 1 comment

          Patchset-level comments
          Harald Alvestrand . unresolved

          Seems a bit iffy to have this big TestCase struct and then compound it with a boolean... but your style choice.

          Giovanni Ortuno Urquidi

          That's a fair point. I initially considered adding a `loopback_only_param` boolean to the TestCase struct to control the flag's value. I decided against it because every test case would then need to specify that parameter, which felt overly verbose.

          Thinking about it more, we could add a `should_request_permission_when_loopback_only` boolean to the struct. It would hold the expected result of ShouldRequestPermission() when the loopback only flag is enabled. This would allows us to merge the two test case arrays into a single, consolidated one, making it clearer which tests behave differently with the flag enabled.

          Does that approach seem better to you?

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Harald Alvestrand
          Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement 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: Iaea406f015f3d88a5091392f508d63c414a15ccb
            Gerrit-Change-Number: 6794604
            Gerrit-PatchSet: 6
            Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
            Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
            Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-Attention: Harald Alvestrand <h...@chromium.org>
            Gerrit-Comment-Date: Thu, 04 Sep 2025 22:11:44 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Harald Alvestrand <h...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Harald Alvestrand (Gerrit)

            unread,
            Sep 5, 2025, 2:36:48 AM (4 days ago) Sep 5
            to Giovanni Ortuno Urquidi, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com
            Attention needed from Giovanni Ortuno Urquidi

            Harald Alvestrand added 1 comment

            Patchset-level comments
            Harald Alvestrand . unresolved

            Seems a bit iffy to have this big TestCase struct and then compound it with a boolean... but your style choice.

            Giovanni Ortuno Urquidi

            That's a fair point. I initially considered adding a `loopback_only_param` boolean to the TestCase struct to control the flag's value. I decided against it because every test case would then need to specify that parameter, which felt overly verbose.

            Thinking about it more, we could add a `should_request_permission_when_loopback_only` boolean to the struct. It would hold the expected result of ShouldRequestPermission() when the loopback only flag is enabled. This would allows us to merge the two test case arrays into a single, consolidated one, making it clearer which tests behave differently with the flag enabled.

            Does that approach seem better to you?

            Harald Alvestrand

            Yes, that seems like a reasonable approach.

            With named-value initialization, it seems that we can avoid cluttering the declaration too much if we add a bool to the struct with a default value.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Giovanni Ortuno Urquidi
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement 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: Iaea406f015f3d88a5091392f508d63c414a15ccb
            Gerrit-Change-Number: 6794604
            Gerrit-PatchSet: 6
            Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
            Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
            Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-Attention: Giovanni Ortuno Urquidi <ort...@chromium.org>
            Gerrit-Comment-Date: Fri, 05 Sep 2025 06:36:33 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Harald Alvestrand <h...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Giovanni Ortuno Urquidi (Gerrit)

            unread,
            Sep 5, 2025, 5:37:26 PM (3 days ago) Sep 5
            to Giovanni Ortuno Urquidi, Harald Alvestrand, Chromium LUCI CQ, chromium...@chromium.org, blink-...@chromium.org, network-ser...@chromium.org, video-networking...@google.com

            Giovanni Ortuno Urquidi added 1 comment

            Patchset-level comments
            File-level comment, Patchset 6:
            Harald Alvestrand . resolved

            Seems a bit iffy to have this big TestCase struct and then compound it with a boolean... but your style choice.

            Giovanni Ortuno Urquidi

            That's a fair point. I initially considered adding a `loopback_only_param` boolean to the TestCase struct to control the flag's value. I decided against it because every test case would then need to specify that parameter, which felt overly verbose.

            Thinking about it more, we could add a `should_request_permission_when_loopback_only` boolean to the struct. It would hold the expected result of ShouldRequestPermission() when the loopback only flag is enabled. This would allows us to merge the two test case arrays into a single, consolidated one, making it clearer which tests behave differently with the flag enabled.

            Does that approach seem better to you?

            Harald Alvestrand

            Yes, that seems like a reasonable approach.

            With named-value initialization, it seems that we can avoid cluttering the declaration too much if we add a bool to the struct with a default value.

            Giovanni Ortuno Urquidi

            Thanks! Done.

            Open in Gerrit

            Related details

            Attention set is empty
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement 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: Iaea406f015f3d88a5091392f508d63c414a15ccb
            Gerrit-Change-Number: 6794604
            Gerrit-PatchSet: 7
            Gerrit-Owner: Giovanni Ortuno Urquidi <ort...@chromium.org>
            Gerrit-Reviewer: Giovanni Ortuno Urquidi <ort...@chromium.org>
            Gerrit-Reviewer: Harald Alvestrand <h...@chromium.org>
            Gerrit-Reviewer: mmenke <mme...@chromium.org>
            Gerrit-Comment-Date: Fri, 05 Sep 2025 21:37:21 +0000
            satisfied_requirement
            open
            diffy
            Reply all
            Reply to author
            Forward
            0 new messages