Minor improvements for page_colors_controller_browsertest.cc. [chromium/src : main]

0 views
Skip to first unread message

Peter Kasting (Gerrit)

unread,
Sep 4, 2025, 2:43:18 PM (3 days ago) Sep 4
to Jacques Newman, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, abigailbk...@google.com, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Jacques Newman

Peter Kasting voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jacques Newman
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: I48f4db98cd7e4c29cd47c94d85f676a600966c69
Gerrit-Change-Number: 6916345
Gerrit-PatchSet: 2
Gerrit-Owner: Peter Kasting <pkas...@chromium.org>
Gerrit-Reviewer: Jacques Newman <jane...@microsoft.com>
Gerrit-Reviewer: Peter Kasting <pkas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-Attention: Jacques Newman <jane...@microsoft.com>
Gerrit-Comment-Date: Thu, 04 Sep 2025 18:43:06 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jacques Newman (Gerrit)

unread,
Sep 4, 2025, 6:58:42 PM (2 days ago) Sep 4
to Peter Kasting, Sam Davis Omekara, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, abigailbk...@google.com, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Attention needed from Peter Kasting

Jacques Newman voted and added 1 comment

Votes added by Jacques Newman

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Jacques Newman . resolved

Change lgtm, happy to see tests are more readable and running on all platforms.
+Sam Davis for visibility.

Open in Gerrit

Related details

Attention is currently required from:
  • Peter Kasting
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: I48f4db98cd7e4c29cd47c94d85f676a600966c69
Gerrit-Change-Number: 6916345
Gerrit-PatchSet: 4
Gerrit-Owner: Peter Kasting <pkas...@chromium.org>
Gerrit-Reviewer: Jacques Newman <jane...@microsoft.com>
Gerrit-Reviewer: Peter Kasting <pkas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Sam Davis Omekara <samome...@microsoft.com>
Gerrit-Attention: Peter Kasting <pkas...@chromium.org>
Gerrit-Comment-Date: Thu, 04 Sep 2025 22:58:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Peter Kasting (Gerrit)

unread,
Sep 4, 2025, 7:01:28 PM (2 days ago) Sep 4
to Jacques Newman, Sam Davis Omekara, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, abigailbk...@google.com, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org

Peter Kasting voted Commit-Queue+2

Commit-Queue+2
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: I48f4db98cd7e4c29cd47c94d85f676a600966c69
Gerrit-Change-Number: 6916345
Gerrit-PatchSet: 5
Gerrit-Owner: Peter Kasting <pkas...@chromium.org>
Gerrit-Reviewer: Jacques Newman <jane...@microsoft.com>
Gerrit-Reviewer: Peter Kasting <pkas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Sam Davis Omekara <samome...@microsoft.com>
Gerrit-Comment-Date: Thu, 04 Sep 2025 23:01:18 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Peter Kasting (Gerrit)

unread,
Sep 4, 2025, 8:37:24 PM (2 days ago) Sep 4
to Jacques Newman, Sam Davis Omekara, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, abigailbk...@google.com, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org
Gerrit-Comment-Date: Fri, 05 Sep 2025 00:37:14 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Peter Kasting (Gerrit)

unread,
Sep 4, 2025, 8:57:07 PM (2 days ago) Sep 4
to Jacques Newman, Sam Davis Omekara, Chromium LUCI CQ, chromium...@chromium.org, (Julie)Jeongeun Kim, abigailbk...@google.com, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org

Peter Kasting voted Commit-Queue+2

Commit-Queue+2
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: I48f4db98cd7e4c29cd47c94d85f676a600966c69
Gerrit-Change-Number: 6916345
Gerrit-PatchSet: 6
Gerrit-Owner: Peter Kasting <pkas...@chromium.org>
Gerrit-Reviewer: Jacques Newman <jane...@microsoft.com>
Gerrit-Reviewer: Peter Kasting <pkas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
Gerrit-CC: Sam Davis Omekara <samome...@microsoft.com>
Gerrit-Comment-Date: Fri, 05 Sep 2025 00:56:57 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
Sep 4, 2025, 9:07:06 PM (2 days ago) Sep 4
to Peter Kasting, Jacques Newman, Sam Davis Omekara, Akihiro Ota, chromium...@chromium.org, (Julie)Jeongeun Kim, abigailbk...@google.com, dtseng...@chromium.org, francisjp...@google.com, josiah...@chromium.org, kyungjunle...@google.com, nektar...@chromium.org, yuzo+...@chromium.org

Chromium LUCI CQ submitted the change

Unreviewed changes

4 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.

Change information

Commit message:
Minor improvements for page_colors_controller_browsertest.cc.

* Add helper to get the native UI instance
* Consistently check the web theme when looking at things like the
computed page colors, since that's ultimately the instance that will
matter to web content
* Shorten/clarify comments
* Unconditionalize test case I believe passes everywhere
* Don't bother checking the forced colors state on the web instance,
which isn't directly part of PageColorsController's purview
Bug: 432019728
AX-Relnotes: n/a.
Change-Id: I48f4db98cd7e4c29cd47c94d85f676a600966c69
Reviewed-by: Jacques Newman <jane...@microsoft.com>
Commit-Queue: Peter Kasting <pkas...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1511252}
Files:
  • M chrome/browser/accessibility/page_colors_controller_browsertest.cc
Change size: M
Delta: 1 file changed, 77 insertions(+), 109 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Jacques Newman
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: I48f4db98cd7e4c29cd47c94d85f676a600966c69
Gerrit-Change-Number: 6916345
Gerrit-PatchSet: 7
Gerrit-Owner: Peter Kasting <pkas...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Jacques Newman <jane...@microsoft.com>
Gerrit-Reviewer: Peter Kasting <pkas...@chromium.org>
Gerrit-CC: (Julie)Jeongeun Kim <je_jul...@chromium.org>
Gerrit-CC: Akihiro Ota <akihi...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages