Add DeveloperToolsAvailabilityAllowlist and DeveloperToolsAvailabilityBlocklist policies. [chromium/src : main]

0 views
Skip to first unread message

Michał Kaczmarczyk (Gerrit)

unread,
Sep 19, 2025, 5:36:08 AM (7 days ago) Sep 19
to Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
Attention needed from Dana Fried, Dominique Fauteux-Chapleau, Michał Kaczmarczyk and Owen Min

Message from Michał Kaczmarczyk

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
  • Dominique Fauteux-Chapleau
  • Michał Kaczmarczyk
  • Owen Min
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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
Gerrit-Change-Number: 6935545
Gerrit-PatchSet: 32
Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Owen Min <zm...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Owen Min <zm...@chromium.org>
Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Attention: Dana Fried <dfr...@chromium.org>
Gerrit-Attention: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Comment-Date: Fri, 19 Sep 2025 09:35:55 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Dana Fried (Gerrit)

unread,
Sep 19, 2025, 9:33:51 AM (7 days ago) Sep 19
to Michał Kaczmarczyk, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
Attention needed from Michał Kaczmarczyk and Owen Min

Dana Fried added 1 comment

File components/policy/resources/templates/policies.yaml
Line 1393, Patchset 33 (Latest): 1392: DeveloperToolsAvailabilityAllowlist
Dana Fried . unresolved

Does yaml support IfChange/ThenChange?

Open in Gerrit

Related details

Attention is currently required from:
  • Michał Kaczmarczyk
  • Owen Min
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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
Gerrit-Change-Number: 6935545
Gerrit-PatchSet: 33
Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Owen Min <zm...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Owen Min <zm...@chromium.org>
Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Comment-Date: Fri, 19 Sep 2025 13:33:46 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michał Kaczmarczyk (Gerrit)

unread,
Sep 19, 2025, 3:12:21 PM (6 days ago) Sep 19
to Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
Attention needed from Dana Fried, Dominique Fauteux-Chapleau, Michał Kaczmarczyk and Owen Min

Message from Michał Kaczmarczyk

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
  • Dominique Fauteux-Chapleau
  • Michał Kaczmarczyk
  • Owen Min
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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
Gerrit-Change-Number: 6935545
Gerrit-PatchSet: 35
Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Owen Min <zm...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Owen Min <zm...@chromium.org>
Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Attention: Dana Fried <dfr...@chromium.org>
Gerrit-Attention: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Comment-Date: Fri, 19 Sep 2025 19:12:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michał Kaczmarczyk (Gerrit)

unread,
Sep 19, 2025, 3:16:30 PM (6 days ago) Sep 19
to Theresa Sullivan, Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
Attention needed from Dana Fried, Owen Min and Theresa Sullivan

Michał Kaczmarczyk added 8 comments

File chrome/browser/prefs/browser_prefs.cc
Line 2442, Patchset 22: registry->RegisterListPref(
Owen Min . resolved

Can you register the pref together with all other devtools prefs?

Michał Kaczmarczyk

Done

File components/policy/core/common/policy_pref_names.cc
Line 207, Patchset 22:const char kDeveloperToolsAvailabilityAllowlist[] =
Owen Min . resolved

You should avoid define policy pref under components/policy/core as they are designed for policy component itself.

Please find a better place (maybe in chrome/browser/devtools) for pref name

Michał Kaczmarczyk

Done

File components/policy/resources/templates/policies.yaml
Line 1393, Patchset 33: 1392: DeveloperToolsAvailabilityAllowlist
Dana Fried . resolved

Does yaml support IfChange/ThenChange?

Michał Kaczmarczyk

Done

File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailabilityAllowlist.yaml
Line 3, Patchset 14: When the <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> policy is set to 2 (DeveloperToolsDisallowed), this policy specifies a list of developer tools that are allowed to be opened. When <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> is set to any other value, this policy has no effect.
Dominique Fauteux-Chapleau . resolved

I'm not actually sure if this is how we want the policy to behave or not, we should ask in crbug.com/442892562

In any case we should also call out that the policy interacts with `DeveloperToolsAvailabilityBlocklist`

Michał Kaczmarczyk

Done

Line 12, Patchset 22:
Owen Min . resolved

Please remove the extra line.

Michał Kaczmarczyk

Done

File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailabilityBlocklist.yaml
Line 5, Patchset 22: URL patterns are matched against the URL of the page being inspected. If a match is found, the DevTools are blocked. For information on the URL format, see https://support.google.com/chrome/a?p=url_blocklist_filter_format.
Owen Min . resolved

Does Chrome devtools an official product name? Does it have translation?

If not, we should use a placeholder(`<ph>`) to avoid translation.

Also, please say Chrome DevTools instead of DevTools to be more specific.

Michał Kaczmarczyk

Done

Line 9, Patchset 22: This policy is limited to 1,000 entries.
Owen Min . resolved

Can you mention the behavior for urls don't match any of the patterns? Will they fallback to the enum policy?

Please do so for Allowlist policy as well.

Michał Kaczmarczyk

Done

Line 27, Patchset 22:- file://components/policy/OWNERS
Owen Min . resolved

DeveloperToolsAvailability is owned by the extension team. Any chance they also own the two new ones here? (You can still be the human owner)

Michał Kaczmarczyk

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
  • Owen Min
  • Theresa Sullivan
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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
Gerrit-Change-Number: 6935545
Gerrit-PatchSet: 35
Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Owen Min <zm...@chromium.org>
Gerrit-Reviewer: Theresa Sullivan <twell...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Owen Min <zm...@chromium.org>
Gerrit-Attention: Theresa Sullivan <twell...@chromium.org>
Gerrit-Attention: Dana Fried <dfr...@chromium.org>
Gerrit-Comment-Date: Fri, 19 Sep 2025 19:16:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Owen Min <zm...@chromium.org>
Comment-In-Reply-To: Dana Fried <dfr...@chromium.org>
Comment-In-Reply-To: Dominique Fauteux-Chapleau <do...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Theresa Sullivan (Gerrit)

unread,
Sep 19, 2025, 3:18:29 PM (6 days ago) Sep 19
to Michał Kaczmarczyk, Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
Attention needed from Dana Fried, Michał Kaczmarczyk and Owen Min

Theresa Sullivan added 1 comment

Patchset-level comments
File-level comment, Patchset 35 (Latest):
Theresa Sullivan . unresolved

Hi, am I just on here for //chrome/browser/devtools/devtools_window.cc?

If so, prefer sending to closest owners file; https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/devtools/OWNERS

Open in Gerrit

Related details

Attention is currently required from:
  • Dana Fried
  • Michał Kaczmarczyk
  • Owen Min
Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Attention: Dana Fried <dfr...@chromium.org>
Gerrit-Comment-Date: Fri, 19 Sep 2025 19:18:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michał Kaczmarczyk (Gerrit)

unread,
Sep 22, 2025, 5:14:57 AM (4 days ago) Sep 22
to Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org

Michał Kaczmarczyk added 1 comment

Patchset-level comments
File-level comment, Patchset 35:
Theresa Sullivan . resolved

Hi, am I just on here for //chrome/browser/devtools/devtools_window.cc?

If so, prefer sending to closest owners file; https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/devtools/OWNERS

Michał Kaczmarczyk

Done

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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
Gerrit-Change-Number: 6935545
Gerrit-PatchSet: 40
Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Owen Min <zm...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Comment-Date: Mon, 22 Sep 2025 09:14:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Theresa Sullivan <twell...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Dana Fried (Gerrit)

unread,
Sep 22, 2025, 9:37:53 AM (4 days ago) Sep 22
to Michał Kaczmarczyk, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
Attention needed from Michał Kaczmarczyk and Owen Min

Dana Fried voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Michał Kaczmarczyk
  • Owen Min
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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
Gerrit-Change-Number: 6935545
Gerrit-PatchSet: 40
Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Reviewer: Owen Min <zm...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Owen Min <zm...@chromium.org>
Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
Gerrit-Comment-Date: Mon, 22 Sep 2025 13:37:44 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Dominique Fauteux-Chapleau (Gerrit)

unread,
Sep 22, 2025, 10:54:19 AM (4 days ago) Sep 22
to Michał Kaczmarczyk, Dana Fried, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
Attention needed from Michał Kaczmarczyk and Owen Min

Dominique Fauteux-Chapleau voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Michał Kaczmarczyk
  • Owen Min
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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
    Gerrit-Change-Number: 6935545
    Gerrit-PatchSet: 40
    Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
    Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
    Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
    Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
    Gerrit-Reviewer: Owen Min <zm...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Owen Min <zm...@chromium.org>
    Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
    Gerrit-Comment-Date: Mon, 22 Sep 2025 14:54:12 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Michał Kaczmarczyk (Gerrit)

    unread,
    Sep 22, 2025, 4:04:10 PM (3 days ago) Sep 22
    to Dominique Fauteux-Chapleau, Dana Fried, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
    Attention needed from Dana Fried, Dominique Fauteux-Chapleau, Michał Kaczmarczyk and Owen Min

    Message from Michał Kaczmarczyk

    Set Ready For Review

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dana Fried
    • Dominique Fauteux-Chapleau
    • Michał Kaczmarczyk
    • Owen Min
    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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
      Gerrit-Change-Number: 6935545
      Gerrit-PatchSet: 42
      Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
      Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
      Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Owen Min <zm...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Owen Min <zm...@chromium.org>
      Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Attention: Dominique Fauteux-Chapleau <do...@chromium.org>
      Gerrit-Attention: Dana Fried <dfr...@chromium.org>
      Gerrit-Comment-Date: Mon, 22 Sep 2025 20:03:53 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Michał Kaczmarczyk (Gerrit)

      unread,
      Sep 23, 2025, 6:52:48 AM (3 days ago) Sep 23
      to Dominique Fauteux-Chapleau, Dana Fried, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
      Attention needed from Dana Fried and Owen Min

      Michał Kaczmarczyk voted Auto-Submit+1

      Auto-Submit+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dana Fried
      • Owen Min
      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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
      Gerrit-Change-Number: 6935545
      Gerrit-PatchSet: 43
      Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
      Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
      Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Owen Min <zm...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Owen Min <zm...@chromium.org>
      Gerrit-Attention: Dana Fried <dfr...@chromium.org>
      Gerrit-Comment-Date: Tue, 23 Sep 2025 10:52:30 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Michał Kaczmarczyk (Gerrit)

      unread,
      Sep 23, 2025, 6:54:20 AM (3 days ago) Sep 23
      to Dominique Fauteux-Chapleau, Dana Fried, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
      Attention needed from Dana Fried, Dominique Fauteux-Chapleau and Owen Min

      Michał Kaczmarczyk added 2 comments

      Patchset-level comments
      File-level comment, Patchset 21:
      Michał Kaczmarczyk . resolved

      I deleted the parts about DeveloperToolsAvailability. I am waiting for Niamh explanation of how these policies are supposed to work.

      Michał Kaczmarczyk

      I deleted the parts about DeveloperToolsAvailability. I am waiting for Niamh explanation of how these policies are supposed to work.

      Michał Kaczmarczyk

      Done

      File-level comment, Patchset 21:
      Dominique Fauteux-Chapleau . resolved

      LGTM overall

      Since I'm only commenting on the policy text you should add enterprise-p...@google.com as a reviewer, they own the code and know more than me about conventions for user documentation.

      Michał Kaczmarczyk

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dana Fried
      • Dominique Fauteux-Chapleau
      • Owen Min
      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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
      Gerrit-Change-Number: 6935545
      Gerrit-PatchSet: 43
      Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
      Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
      Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Owen Min <zm...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Owen Min <zm...@chromium.org>
      Gerrit-Attention: Dominique Fauteux-Chapleau <do...@chromium.org>
      Gerrit-Attention: Dana Fried <dfr...@chromium.org>
      Gerrit-Comment-Date: Tue, 23 Sep 2025 10:54:03 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Michał Kaczmarczyk <mickacz...@google.com>
      Comment-In-Reply-To: Dominique Fauteux-Chapleau <do...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dominique Fauteux-Chapleau (Gerrit)

      unread,
      Sep 23, 2025, 8:17:58 AM (3 days ago) Sep 23
      to Michał Kaczmarczyk, Dana Fried, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
      Attention needed from Dana Fried, Michał Kaczmarczyk and Owen Min

      Dominique Fauteux-Chapleau voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Dana Fried
      • Michał Kaczmarczyk
      • Owen Min
      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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
      Gerrit-Change-Number: 6935545
      Gerrit-PatchSet: 43
      Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
      Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
      Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Reviewer: Owen Min <zm...@chromium.org>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Owen Min <zm...@chromium.org>
      Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
      Gerrit-Attention: Dana Fried <dfr...@chromium.org>
      Gerrit-Comment-Date: Tue, 23 Sep 2025 12:17:49 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Dana Fried (Gerrit)

      unread,
      Sep 23, 2025, 12:21:40 PM (3 days ago) Sep 23
      to Michał Kaczmarczyk, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
      Attention needed from Michał Kaczmarczyk and Owen Min

      Dana Fried voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Michał Kaczmarczyk
      • Owen Min
      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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
        Gerrit-Change-Number: 6935545
        Gerrit-PatchSet: 43
        Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
        Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
        Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
        Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
        Gerrit-Reviewer: Owen Min <zm...@chromium.org>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
        Gerrit-CC: gwsq
        Gerrit-Attention: Owen Min <zm...@chromium.org>
        Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
        Gerrit-Comment-Date: Tue, 23 Sep 2025 16:21:32 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Owen Min (Gerrit)

        unread,
        Sep 23, 2025, 2:14:04 PM (2 days ago) Sep 23
        to Michał Kaczmarczyk, Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
        Attention needed from Michał Kaczmarczyk

        Owen Min added 8 comments

        File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailability.yaml
        Line 10, Patchset 43 (Latest): This setting also turns off keyboard shortcuts and menu or context menu entries to open developer tools or the JavaScript console.
        Owen Min . unresolved

        Can you please fix the indent here and use two spaces for all lines?

        Thanks.

        File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailabilityAllowlist.yaml
        Line 1, Patchset 43 (Latest):caption: List of URL patterns for which DevTools are allowed to be opened
        Owen Min . unresolved

        ```<ph name="CHROME_DEVTOOLS_NAME">Chrome DevTools</ph>```

        Line 3, Patchset 43 (Latest): When the <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> policy is set to 2 (DeveloperToolsDisallowed) this policy has no effect. When <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> is set to any other value, this policy specifies a list of URL patterns for which <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph> are allowed to be opened. This policy can be used to allow <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph> on specific URLs, even when they are generally blocked by the <ph name="DEVELOPER_TOOLS_AVAILABILITY_BLOCKLIST_POLICY_NAME">DeveloperToolsAvailabilityBlocklist</ph> policy.
        Owen Min . unresolved

        When DeveloperToolsAvailability is set to disallowed, any reason this policy can't still be used to provide per-url exceptions?

        Personally, I found current approach is a bit complicated. Instead, I would recommend one of the following approach

        1) If DeveloperToolsAvailability is set, ignore the allow and block list.
        2) If allow or block list is set, ignore the DeveloperToolsAvailability
        3) 3 policies can co-exist, when a url matches neither allow nor blocklist, use DeveloperToolsAvailability as fallback.


        Personally, I prefer the 3rd option as this is a common design pattern for list+enum combination.


        However, if you want to choose 1) or 2) or the current option (disable lists when set to 2). Please make sure you print error message to ignored policies with policy handler.

        If you choose option 3, then I would recommend a doc like
        ```
        Unmatched URLs will follow the DeveloperToolsAvailability policy.
        ```

        And move it to a later position, after the "URL pattern invalid" section.

        Line 9, Patchset 43 (Latest): The <ph name="DEVELOPER_TOOLS_AVAILABILITY_ALLOWLIST_POLICY_NAME">DeveloperToolsAvailabilityAllowlist</ph> policy takes precedence over <ph name="DEVELOPER_TOOLS_AVAILABILITY_BLOCKLIST_POLICY_NAME">DeveloperToolsAvailabilityBlocklist</ph>.
        Owen Min . unresolved

        .... for URLs that match both lists.

        Line 11, Patchset 43 (Latest): If URL patterns are invalid, they are ignored and it follows the <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> policy.
        Owen Min . unresolved

        `they are ignored and follow the ...`

        Also URL pattern won't follow DeveloperToolsAvailability, URL will.

        So I think it's better to simply say

        ```
        Invalid URL patterns will be ignored.
        ```

        And maybe

        ```
        Unmatched URLs will follow the DeveloperToolsAvailability policy.
        ```

        Of course, the last sentence depends on your answer of the comment I left above.

        Line 12, Patchset 43 (Latest):
        Owen Min . unresolved

        Will these two new policies affect extension or web app's developer tool?

        File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailabilityBlocklist.yaml
        Line 3, Patchset 43 (Latest): If the <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> policy is set to 2 (DeveloperToolsDisallowed), all <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph> are disabled, and this policy has no effect. For any other value, this policy blocks access to <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph>.
        Owen Min . unresolved

        I don't think this paragraph is necessary. But please see my other comments above first.


        Also, if this is kept, please move it to the end of the description.

        File components/policy/test/data/pref_mapping/DeveloperToolsAvailabilityAllowlist.json
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Michał Kaczmarczyk
        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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
          Gerrit-Change-Number: 6935545
          Gerrit-PatchSet: 43
          Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
          Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
          Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
          Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
          Gerrit-Reviewer: Owen Min <zm...@chromium.org>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
          Gerrit-CC: gwsq
          Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
          Gerrit-Comment-Date: Tue, 23 Sep 2025 18:13:57 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Michał Kaczmarczyk (Gerrit)

          unread,
          Sep 24, 2025, 4:53:03 AM (2 days ago) Sep 24
          to Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
          Attention needed from Dana Fried, Dominique Fauteux-Chapleau, Michał Kaczmarczyk and Owen Min

          Message from Michał Kaczmarczyk

          Set Ready For Review

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Dana Fried
          • Dominique Fauteux-Chapleau
          • Michał Kaczmarczyk
          • Owen Min
          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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
            Gerrit-Change-Number: 6935545
            Gerrit-PatchSet: 45
            Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
            Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
            Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Owen Min <zm...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
            Gerrit-CC: gwsq
            Gerrit-Attention: Owen Min <zm...@chromium.org>
            Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Attention: Dana Fried <dfr...@chromium.org>
            Gerrit-Attention: Dominique Fauteux-Chapleau <do...@chromium.org>
            Gerrit-Comment-Date: Wed, 24 Sep 2025 08:52:50 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Dominique Fauteux-Chapleau (Gerrit)

            unread,
            Sep 24, 2025, 10:31:13 AM (2 days ago) Sep 24
            to Michał Kaczmarczyk, Dana Fried, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
            Attention needed from Michał Kaczmarczyk

            Dominique Fauteux-Chapleau added 1 comment

            File tools/metrics/histograms/metadata/enterprise/enums.xml
            Line 2291, Patchset 51 (Latest):<<<<<<< PATCH SET (f5e7c4a7dd968da36fe3dc01c35dfca2c82c23d3 Add DeveloperToolsAvailabilityAllowlist and DeveloperToolsAv)
            label="ExtensionForceInstallWithMinorPolicyViolationsEnabled"/>
            <int value="1396" label="DeveloperToolsAvailabilityAllowlist"/>
            <int value="1397" label="DeveloperToolsAvailabilityBlocklist"/>
            ||||||| BASE (55eb5b3eb58c1cfcd23517bdaa858fc35f840c9f [//cc] Remove PlaybackImageProvider::RasterMode::kGpu)
            label="ExtensionForceInstallWithMinorPolicyViolationsEnabled"/>
            =======
            label="ExtensionForceInstallWithNonMalwareViolationsEnabled"/>
            <int value="1396" label="CacheEncryptionEnabled"/>
            >>>>>>> BASE (7063aa93d1d0143973fe46f26985501d5579f10a Roll ANGLE from ae33b59db8e2 to 621fe27d9522 (1 revision))
            Dominique Fauteux-Chapleau . unresolved

            Please fix this ERROR reported by Conflict Markers: Complete set of diff3 style conflict markers found. If this is a false alarm, ad...

            Complete set of diff3 style conflict markers found. If this is a false alarm, add IGNORE_MERGE_CONFLICT_CHECK==<reason> to your commit message.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Michał Kaczmarczyk
            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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
            Gerrit-Change-Number: 6935545
            Gerrit-PatchSet: 51
            Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
            Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
            Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Owen Min <zm...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
            Gerrit-CC: gwsq
            Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Comment-Date: Wed, 24 Sep 2025 14:31:05 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Michał Kaczmarczyk (Gerrit)

            unread,
            Sep 25, 2025, 6:31:41 AM (19 hours ago) Sep 25
            to Dana Fried, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
            Attention needed from Dana Fried and Owen Min

            Michał Kaczmarczyk voted and added 9 comments

            Votes added by Michał Kaczmarczyk

            Auto-Submit+1
            Commit-Queue+1

            9 comments

            File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailability.yaml
            Line 10, Patchset 43: This setting also turns off keyboard shortcuts and menu or context menu entries to open developer tools or the JavaScript console.
            Owen Min . resolved

            Can you please fix the indent here and use two spaces for all lines?

            Thanks.

            Michał Kaczmarczyk

            Done

            File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailabilityAllowlist.yaml
            Line 1, Patchset 43:caption: List of URL patterns for which DevTools are allowed to be opened
            Owen Min . resolved

            ```<ph name="CHROME_DEVTOOLS_NAME">Chrome DevTools</ph>```

            Michał Kaczmarczyk

            Done

            Line 3, Patchset 43: When the <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> policy is set to 2 (DeveloperToolsDisallowed) this policy has no effect. When <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> is set to any other value, this policy specifies a list of URL patterns for which <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph> are allowed to be opened. This policy can be used to allow <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph> on specific URLs, even when they are generally blocked by the <ph name="DEVELOPER_TOOLS_AVAILABILITY_BLOCKLIST_POLICY_NAME">DeveloperToolsAvailabilityBlocklist</ph> policy.
            Owen Min . resolved

            When DeveloperToolsAvailability is set to disallowed, any reason this policy can't still be used to provide per-url exceptions?

            Personally, I found current approach is a bit complicated. Instead, I would recommend one of the following approach

            1) If DeveloperToolsAvailability is set, ignore the allow and block list.
            2) If allow or block list is set, ignore the DeveloperToolsAvailability
            3) 3 policies can co-exist, when a url matches neither allow nor blocklist, use DeveloperToolsAvailability as fallback.


            Personally, I prefer the 3rd option as this is a common design pattern for list+enum combination.


            However, if you want to choose 1) or 2) or the current option (disable lists when set to 2). Please make sure you print error message to ignored policies with policy handler.

            If you choose option 3, then I would recommend a doc like
            ```
            Unmatched URLs will follow the DeveloperToolsAvailability policy.
            ```

            And move it to a later position, after the "URL pattern invalid" section.

            Michał Kaczmarczyk

            Done

            Line 9, Patchset 43: The <ph name="DEVELOPER_TOOLS_AVAILABILITY_ALLOWLIST_POLICY_NAME">DeveloperToolsAvailabilityAllowlist</ph> policy takes precedence over <ph name="DEVELOPER_TOOLS_AVAILABILITY_BLOCKLIST_POLICY_NAME">DeveloperToolsAvailabilityBlocklist</ph>.
            Owen Min . resolved

            .... for URLs that match both lists.

            Michał Kaczmarczyk

            Done

            Line 11, Patchset 43: If URL patterns are invalid, they are ignored and it follows the <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> policy.
            Owen Min . resolved

            `they are ignored and follow the ...`

            Also URL pattern won't follow DeveloperToolsAvailability, URL will.

            So I think it's better to simply say

            ```
            Invalid URL patterns will be ignored.
            ```

            And maybe

            ```
            Unmatched URLs will follow the DeveloperToolsAvailability policy.
            ```

            Of course, the last sentence depends on your answer of the comment I left above.

            Michał Kaczmarczyk

            Done

            Line 12, Patchset 43:
            Owen Min . resolved

            Will these two new policies affect extension or web app's developer tool?

            Michał Kaczmarczyk

            Done

            File components/policy/resources/templates/policy_definitions/Miscellaneous/DeveloperToolsAvailabilityBlocklist.yaml
            Line 3, Patchset 43: If the <ph name="DEVELOPER_TOOLS_AVAILABILITY_POLICY_NAME">DeveloperToolsAvailability</ph> policy is set to 2 (DeveloperToolsDisallowed), all <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph> are disabled, and this policy has no effect. For any other value, this policy blocks access to <ph name="DEVELOPER_TOOLS_NAME">Chrome DevTools</ph>.
            Owen Min . resolved

            I don't think this paragraph is necessary. But please see my other comments above first.


            Also, if this is kept, please move it to the end of the description.

            Michał Kaczmarczyk

            Done

            File components/policy/test/data/pref_mapping/DeveloperToolsAvailabilityAllowlist.json
            Line 9, Patchset 43: "policy_pref_mapping_tests": [
            Owen Min . resolved
            Michał Kaczmarczyk

            Done

            File tools/metrics/histograms/metadata/enterprise/enums.xml
            Line 2291, Patchset 51:<<<<<<< PATCH SET (f5e7c4a7dd968da36fe3dc01c35dfca2c82c23d3 Add DeveloperToolsAvailabilityAllowlist and DeveloperToolsAv)

            label="ExtensionForceInstallWithMinorPolicyViolationsEnabled"/>
            <int value="1396" label="DeveloperToolsAvailabilityAllowlist"/>
            <int value="1397" label="DeveloperToolsAvailabilityBlocklist"/>
            ||||||| BASE (55eb5b3eb58c1cfcd23517bdaa858fc35f840c9f [//cc] Remove PlaybackImageProvider::RasterMode::kGpu)
            label="ExtensionForceInstallWithMinorPolicyViolationsEnabled"/>
            =======
            label="ExtensionForceInstallWithNonMalwareViolationsEnabled"/>
            <int value="1396" label="CacheEncryptionEnabled"/>
            >>>>>>> BASE (7063aa93d1d0143973fe46f26985501d5579f10a Roll ANGLE from ae33b59db8e2 to 621fe27d9522 (1 revision))
            Dominique Fauteux-Chapleau . resolved

            Please fix this ERROR reported by Conflict Markers: Complete set of diff3 style conflict markers found. If this is a false alarm, ad...

            Complete set of diff3 style conflict markers found. If this is a false alarm, add IGNORE_MERGE_CONFLICT_CHECK==<reason> to your commit message.

            Michał Kaczmarczyk

            Done

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Dana Fried
            • Owen Min
            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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
            Gerrit-Change-Number: 6935545
            Gerrit-PatchSet: 58
            Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
            Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
            Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Owen Min <zm...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
            Gerrit-CC: gwsq
            Gerrit-Attention: Owen Min <zm...@chromium.org>
            Gerrit-Attention: Dana Fried <dfr...@chromium.org>
            Gerrit-Comment-Date: Thu, 25 Sep 2025 10:31:22 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            Comment-In-Reply-To: Owen Min <zm...@chromium.org>
            Comment-In-Reply-To: Dominique Fauteux-Chapleau <do...@chromium.org>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Dominique Fauteux-Chapleau (Gerrit)

            unread,
            Sep 25, 2025, 8:31:05 AM (17 hours ago) Sep 25
            to Michał Kaczmarczyk, Dana Fried, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
            Attention needed from Dana Fried, Michał Kaczmarczyk and Owen Min

            Dominique Fauteux-Chapleau voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Dana Fried
            • Michał Kaczmarczyk
            • Owen Min
            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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
            Gerrit-Change-Number: 6935545
            Gerrit-PatchSet: 58
            Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
            Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
            Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Reviewer: Owen Min <zm...@chromium.org>
            Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
            Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
            Gerrit-CC: gwsq
            Gerrit-Attention: Owen Min <zm...@chromium.org>
            Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
            Gerrit-Attention: Dana Fried <dfr...@chromium.org>
            Gerrit-Comment-Date: Thu, 25 Sep 2025 12:30:51 +0000
            Gerrit-HasComments: No
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Dana Fried (Gerrit)

            unread,
            Sep 25, 2025, 9:27:41 AM (16 hours ago) Sep 25
            to Michał Kaczmarczyk, Dominique Fauteux-Chapleau, Enterprise Policy Reviews, Owen Min, Chromium LUCI CQ, Chromium Metrics Reviews, AyeAye, devtools...@chromium.org, asvitkine...@chromium.org
            Attention needed from Michał Kaczmarczyk and Owen Min

            Dana Fried voted Code-Review+1

            Code-Review+1
            Open in Gerrit

            Related details

            Attention is currently required from:
            • Michał Kaczmarczyk
            • Owen Min
            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: I16eb53b937eec5f533b592ecbab9e86982c45a6c
              Gerrit-Change-Number: 6935545
              Gerrit-PatchSet: 58
              Gerrit-Owner: Michał Kaczmarczyk <mickacz...@google.com>
              Gerrit-Reviewer: Dana Fried <dfr...@chromium.org>
              Gerrit-Reviewer: Dominique Fauteux-Chapleau <do...@chromium.org>
              Gerrit-Reviewer: Michał Kaczmarczyk <mickacz...@google.com>
              Gerrit-Reviewer: Owen Min <zm...@chromium.org>
              Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
              Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
              Gerrit-CC: gwsq
              Gerrit-Attention: Owen Min <zm...@chromium.org>
              Gerrit-Attention: Michał Kaczmarczyk <mickacz...@google.com>
              Gerrit-Comment-Date: Thu, 25 Sep 2025 13:27:34 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy
              Reply all
              Reply to author
              Forward
              0 new messages