Remove enterprise policy for KeyboardFocusableScrollers at 138 [chromium/src : main]

0 views
Skip to first unread message

gwsq (Gerrit)

unread,
Jun 2, 2025, 4:43:01 PMJun 2
to Di Zhang, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Philip Rogers, Avi Drissman, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
Attention needed from Alexander Hendrich, Avi Drissman, Philip Rogers and Sébastien Lalancette

Message from gwsq

From chrome/enterprise/gwsq/enterprise-policy-review.gwsq:
Note: A shadow reviewer was assigned to this CL. go/new-policy-review-process
Shadowed: seblalancette

Reviewer source(s):
hend...@chromium.org, seblalancette is from context(chrome/enterprise/gwsq/enterprise-policy-review.gwsq)

Open in Gerrit

Related details

Attention is currently required from:
  • Alexander Hendrich
  • Avi Drissman
  • Philip Rogers
  • Sébastien Lalancette
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
Gerrit-Change-Number: 6612449
Gerrit-PatchSet: 2
Gerrit-Owner: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
Gerrit-CC: gwsq
Gerrit-Attention: Avi Drissman <a...@chromium.org>
Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
Gerrit-Attention: Philip Rogers <p...@chromium.org>
Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
Gerrit-Comment-Date: Mon, 02 Jun 2025 20:42:54 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Avi Drissman (Gerrit)

unread,
Jun 2, 2025, 4:48:13 PMJun 2
to Di Zhang, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Philip Rogers, Avi Drissman, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
Attention needed from Alexander Hendrich, Di Zhang, Philip Rogers and Sébastien Lalancette

Avi Drissman added 1 comment

File chrome/browser/chrome_content_browser_client.cc
Line 1482, Patchset 2 (Parent): policy::policy_prefs::kKeyboardFocusableScrollersEnabled, true);
Avi Drissman . unresolved
Open in Gerrit

Related details

Attention is currently required from:
  • Alexander Hendrich
  • Di Zhang
  • Philip Rogers
  • Sébastien Lalancette
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
    Gerrit-Change-Number: 6612449
    Gerrit-PatchSet: 2
    Gerrit-Owner: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
    Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: Di Zhang <dizh...@chromium.org>
    Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Jun 2025 20:48:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Avi Drissman (Gerrit)

    unread,
    Jun 2, 2025, 4:49:13 PMJun 2
    to Di Zhang, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Philip Rogers, Avi Drissman, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
    Attention needed from Alexander Hendrich, Di Zhang, Philip Rogers and Sébastien Lalancette

    Avi Drissman added 1 comment

    Gerrit-Comment-Date: Mon, 02 Jun 2025 20:49:08 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sébastien Lalancette (Gerrit)

    unread,
    Jun 2, 2025, 4:51:19 PMJun 2
    to Di Zhang, Enterprise Policy Reviews, Alexander Hendrich, Philip Rogers, Avi Drissman, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
    Attention needed from Alexander Hendrich, Di Zhang and Philip Rogers

    Sébastien Lalancette added 2 comments

    File components/policy/resources/templates/policies.yaml
    Line 1259, Patchset 2 (Latest): 1258: 'KeyboardFocusableScrollersEnabled'
    Sébastien Lalancette . unresolved

    I will let @hend...@chromium.org comment on this, but I don't think this line should be changed (as it was indeed launched in the past, see https://source.chromium.org/chromium/chromium/src/+/main:docs/enterprise/life_of_a_policy.md).

    File components/policy/resources/templates/policy_definitions/Miscellaneous/KeyboardFocusableScrollersEnabled.yaml
    Line 2, Patchset 2 (Latest):default: true
    Sébastien Lalancette . unresolved

    You should also add:
    `deprecated: true`

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alexander Hendrich
    • Di Zhang
    • Philip Rogers
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
    Gerrit-Change-Number: 6612449
    Gerrit-PatchSet: 2
    Gerrit-Owner: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
    Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: Di Zhang <dizh...@chromium.org>
    Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Jun 2025 20:51:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Di Zhang (Gerrit)

    unread,
    Jun 2, 2025, 5:29:22 PMJun 2
    to Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Philip Rogers, Avi Drissman, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
    Attention needed from Alexander Hendrich, Avi Drissman, Philip Rogers and Sébastien Lalancette

    Di Zhang added 3 comments

    File chrome/browser/chrome_content_browser_client.cc
    Line 1482, Patchset 2 (Parent): policy::policy_prefs::kKeyboardFocusableScrollersEnabled, true);
    Avi Drissman . resolved
    Di Zhang

    Done

    File components/policy/resources/templates/policies.yaml
    Line 1259, Patchset 2: 1258: 'KeyboardFocusableScrollersEnabled'
    Sébastien Lalancette . resolved

    I will let @hend...@chromium.org comment on this, but I don't think this line should be changed (as it was indeed launched in the past, see https://source.chromium.org/chromium/chromium/src/+/main:docs/enterprise/life_of_a_policy.md).

    Di Zhang

    Ah, my bad, I was wondering if I should change it to '' and then changed the wrong thing.

    File components/policy/resources/templates/policy_definitions/Miscellaneous/KeyboardFocusableScrollersEnabled.yaml
    Line 2, Patchset 2:default: true
    Sébastien Lalancette . resolved

    You should also add:
    `deprecated: true`

    Di Zhang

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alexander Hendrich
    • Avi Drissman
    • Philip Rogers
    • Sébastien Lalancette
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
    Gerrit-Change-Number: 6612449
    Gerrit-PatchSet: 3
    Gerrit-Owner: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
    Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Avi Drissman <a...@chromium.org>
    Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Jun 2025 21:29:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Avi Drissman <a...@chromium.org>
    Comment-In-Reply-To: Sébastien Lalancette <seblal...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Avi Drissman (Gerrit)

    unread,
    Jun 2, 2025, 5:42:26 PMJun 2
    to Di Zhang, Avi Drissman, Enterprise Policy Reviews, Sébastien Lalancette, Alexander Hendrich, Philip Rogers, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
    Attention needed from Alexander Hendrich, Di Zhang, Philip Rogers and Sébastien Lalancette

    Avi Drissman voted and added 1 comment

    Votes added by Avi Drissman

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 3 (Latest):
    Avi Drissman . resolved

    Prefs change lgtm

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Alexander Hendrich
    • Di Zhang
    • Philip Rogers
    • Sébastien Lalancette
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
    Gerrit-Change-Number: 6612449
    Gerrit-PatchSet: 3
    Gerrit-Owner: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
    Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
    Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
    Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
    Gerrit-CC: gwsq
    Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
    Gerrit-Attention: Philip Rogers <p...@chromium.org>
    Gerrit-Attention: Di Zhang <dizh...@chromium.org>
    Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
    Gerrit-Comment-Date: Mon, 02 Jun 2025 21:42:19 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Alexander Hendrich (Gerrit)

    unread,
    Jun 3, 2025, 7:28:37 AMJun 3
    to Di Zhang, Avi Drissman, Enterprise Policy Reviews, Sébastien Lalancette, Philip Rogers, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
    Attention needed from Di Zhang, Philip Rogers and Sébastien Lalancette

    Alexander Hendrich voted and added 3 comments

    Votes added by Alexander Hendrich

    Code-Review+1

    3 comments

    Patchset-level comments
    Alexander Hendrich . resolved

    lgtm with nits

    File chrome/browser/prefs/browser_prefs.cc
    Line 1135, Patchset 3 (Latest):const char kKeyboardFocusableScrollersEnabled[] =
    Alexander Hendrich . unresolved

    this pref was only written to by the policy stack, which keeps the values in memory. Therefore, you don't need any of the changes in this file. These changes are required for user-writable prefs, where values are stored as JSON file on disk. In order to clear the stale values from these files, you would need to do this cleanup work here. You can just remove your pref without this.

    File components/policy/test/data/pref_mapping/KeyboardFocusableScrollersEnabled.json
    Line 3, Patchset 3 (Latest): "reason_for_missing_test": "Policy was removed"
    Alexander Hendrich . unresolved

    actually delete this file then

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Di Zhang
    • Philip Rogers
    • Sébastien Lalancette
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Gerrit-Change-Number: 6612449
      Gerrit-PatchSet: 3
      Gerrit-Owner: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-Attention: Philip Rogers <p...@chromium.org>
      Gerrit-Attention: Di Zhang <dizh...@chromium.org>
      Gerrit-Comment-Date: Tue, 03 Jun 2025 11:28:16 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Sébastien Lalancette (Gerrit)

      unread,
      Jun 3, 2025, 8:55:08 AMJun 3
      to Di Zhang, Alexander Hendrich, Avi Drissman, Enterprise Policy Reviews, Philip Rogers, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
      Attention needed from Di Zhang and Philip Rogers

      Sébastien Lalancette voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Di Zhang
      • Philip Rogers
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Gerrit-Change-Number: 6612449
      Gerrit-PatchSet: 3
      Gerrit-Owner: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Philip Rogers <p...@chromium.org>
      Gerrit-Attention: Di Zhang <dizh...@chromium.org>
      Gerrit-Comment-Date: Tue, 03 Jun 2025 12:55:01 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Di Zhang (Gerrit)

      unread,
      Jun 3, 2025, 11:56:48 AMJun 3
      to Sébastien Lalancette, Alexander Hendrich, Avi Drissman, Enterprise Policy Reviews, Philip Rogers, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
      Attention needed from Alexander Hendrich, Avi Drissman, Philip Rogers and Sébastien Lalancette

      Di Zhang voted and added 2 comments

      Votes added by Di Zhang

      Commit-Queue+1

      2 comments

      File chrome/browser/prefs/browser_prefs.cc
      Line 1135, Patchset 3:const char kKeyboardFocusableScrollersEnabled[] =
      Alexander Hendrich . resolved

      this pref was only written to by the policy stack, which keeps the values in memory. Therefore, you don't need any of the changes in this file. These changes are required for user-writable prefs, where values are stored as JSON file on disk. In order to clear the stale values from these files, you would need to do this cleanup work here. You can just remove your pref without this.

      Di Zhang

      Thanks, this was unclear in the documentation. I saw some people add it, and some don't and I wasn't sure what to do.
      https://chromium.googlesource.com/chromium/src/+/refs/heads/main/chrome/browser/prefs/README.md#deleting-an-old-pref-exposed-by-a-policy
      I will still follow step 6 in another CL.

      File components/policy/test/data/pref_mapping/KeyboardFocusableScrollersEnabled.json
      Line 3, Patchset 3: "reason_for_missing_test": "Policy was removed"
      Alexander Hendrich . resolved

      actually delete this file then

      Di Zhang

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexander Hendrich
      • Avi Drissman
      • Philip Rogers
      • Sébastien Lalancette
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Gerrit-Change-Number: 6612449
      Gerrit-PatchSet: 4
      Gerrit-Owner: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Avi Drissman <a...@chromium.org>
      Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-Attention: Philip Rogers <p...@chromium.org>
      Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Comment-Date: Tue, 03 Jun 2025 15:56:38 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Alexander Hendrich <hend...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Avi Drissman (Gerrit)

      unread,
      Jun 3, 2025, 1:12:34 PMJun 3
      to Di Zhang, Sébastien Lalancette, Alexander Hendrich, Avi Drissman, Enterprise Policy Reviews, Philip Rogers, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
      Attention needed from Alexander Hendrich, Di Zhang, Philip Rogers and Sébastien Lalancette

      Avi Drissman added 1 comment

      File chrome/browser/prefs/browser_prefs.cc
      Line 1135, Patchset 3:const char kKeyboardFocusableScrollersEnabled[] =
      Alexander Hendrich . resolved

      this pref was only written to by the policy stack, which keeps the values in memory. Therefore, you don't need any of the changes in this file. These changes are required for user-writable prefs, where values are stored as JSON file on disk. In order to clear the stale values from these files, you would need to do this cleanup work here. You can just remove your pref without this.

      Di Zhang

      Thanks, this was unclear in the documentation. I saw some people add it, and some don't and I wasn't sure what to do.
      https://chromium.googlesource.com/chromium/src/+/refs/heads/main/chrome/browser/prefs/README.md#deleting-an-old-pref-exposed-by-a-policy
      I will still follow step 6 in another CL.

      Avi Drissman

      My apologies! I missed that subtlety.

      Thank you for pointing that out. TIL.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexander Hendrich
      • Di Zhang
      • Philip Rogers
      • Sébastien Lalancette
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Gerrit-Change-Number: 6612449
      Gerrit-PatchSet: 4
      Gerrit-Owner: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-Attention: Philip Rogers <p...@chromium.org>
      Gerrit-Attention: Di Zhang <dizh...@chromium.org>
      Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Comment-Date: Tue, 03 Jun 2025 17:12:26 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      Comment-In-Reply-To: Di Zhang <dizh...@chromium.org>
      Comment-In-Reply-To: Alexander Hendrich <hend...@chromium.org>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Philip Rogers (Gerrit)

      unread,
      Jun 3, 2025, 1:18:43 PMJun 3
      to Di Zhang, Sébastien Lalancette, Alexander Hendrich, Avi Drissman, Enterprise Policy Reviews, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
      Attention needed from Alexander Hendrich, Di Zhang and Sébastien Lalancette

      Philip Rogers voted and added 1 comment

      Votes added by Philip Rogers

      Code-Review+1

      1 comment

      Patchset-level comments
      File-level comment, Patchset 4 (Latest):
      Philip Rogers . resolved

      LGTM

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexander Hendrich
      • Di Zhang
      • Sébastien Lalancette
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Gerrit-Change-Number: 6612449
      Gerrit-PatchSet: 4
      Gerrit-Owner: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-Attention: Di Zhang <dizh...@chromium.org>
      Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Comment-Date: Tue, 03 Jun 2025 17:18:22 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Di Zhang (Gerrit)

      unread,
      Jun 3, 2025, 1:28:43 PMJun 3
      to Philip Rogers, Sébastien Lalancette, Alexander Hendrich, Avi Drissman, Enterprise Policy Reviews, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org
      Attention needed from Alexander Hendrich and Sébastien Lalancette

      Di Zhang voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexander Hendrich
      • Sébastien Lalancette
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • 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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Gerrit-Change-Number: 6612449
      Gerrit-PatchSet: 4
      Gerrit-Owner: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-CC: Enterprise Policy Reviews <enterprise-p...@google.com>
      Gerrit-CC: gwsq
      Gerrit-Attention: Sébastien Lalancette <seblal...@chromium.org>
      Gerrit-Attention: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Comment-Date: Tue, 03 Jun 2025 17:28:33 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Jun 3, 2025, 1:32:27 PMJun 3
      to Di Zhang, Philip Rogers, Sébastien Lalancette, Alexander Hendrich, Avi Drissman, Enterprise Policy Reviews, chromium...@chromium.org, blink-re...@chromium.org, blink-...@chromium.org, jmedle...@chromium.org, kinuko...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      Remove enterprise policy for KeyboardFocusableScrollers at 138

      We decided to remove this enterprise policy in 138 to match the end
      of its opt-out origin trial.

      chromestatus:
      https://chromestatus.com/feature/5231964663578624
      Change-Id: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Commit-Queue: Di Zhang <dizh...@chromium.org>
      Reviewed-by: Philip Rogers <p...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1468825}
      Files:
      • M chrome/browser/chrome_content_browser_client.cc
      • M chrome/browser/policy/BUILD.gn
      • M chrome/browser/policy/configuration_policy_handler_list_factory.cc
      • D chrome/browser/policy/test/keyboard_focusable_scollers_policy_browsertest.cc
      • M components/policy/core/common/policy_pref_names.cc
      • M components/policy/core/common/policy_pref_names.h
      • M components/policy/resources/templates/policy_definitions/Miscellaneous/KeyboardFocusableScrollersEnabled.yaml
      • D components/policy/test/data/pref_mapping/KeyboardFocusableScrollersEnabled.json
      • M content/child/runtime_features.cc
      • M third_party/blink/common/switches.cc
      • M third_party/blink/public/common/switches.h
      • M third_party/blink/renderer/platform/runtime_enabled_features.json5
      Change size: M
      Delta: 12 files changed, 6 insertions(+), 199 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Philip Rogers
      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: I8567bf1a32e0c148f4603eea71cd9f50c66e1308
      Gerrit-Change-Number: 6612449
      Gerrit-PatchSet: 5
      Gerrit-Owner: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Alexander Hendrich <hend...@chromium.org>
      Gerrit-Reviewer: Avi Drissman <a...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Di Zhang <dizh...@chromium.org>
      Gerrit-Reviewer: Philip Rogers <p...@chromium.org>
      Gerrit-Reviewer: Sébastien Lalancette <seblal...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages