Add base class for *_java_script_feature_unittest.mm. [chromium/src : main]

0 views
Skip to first unread message

Kirubel Aklilu (Gerrit)

unread,
Apr 3, 2026, 1:56:53 PM (2 days ago) Apr 3
to Chromium LUCI CQ, AyeAye, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, bling-ai-foundatio...@google.com
Attention needed from Kirubel Aklilu

Message from Kirubel Aklilu

Set Ready For Review

Open in Gerrit

Related details

Attention is currently required from:
  • Kirubel Aklilu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
Gerrit-Change-Number: 7727592
Gerrit-PatchSet: 2
Gerrit-Owner: Kirubel Aklilu <kak...@chromium.org>
Gerrit-Reviewer: Kirubel Aklilu <kak...@chromium.org>
Gerrit-Attention: Kirubel Aklilu <kak...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 17:56:46 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Kirubel Aklilu (Gerrit)

unread,
Apr 3, 2026, 2:12:13 PM (2 days ago) Apr 3
to Ginny Huang, Chromium LUCI CQ, AyeAye, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, bling-ai-foundatio...@google.com
Attention needed from Ginny Huang

Kirubel Aklilu voted and added 1 comment

Votes added by Kirubel Aklilu

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 2:
Kirubel Aklilu . resolved

ginnyhuang@, can you review this CL?

This will make the scroll_tool_java_script_feature_unittest.mm simpler in the child CL. I plan to refactor the click_tool_java_script_feature_unittest.mm and type_tool_java_script_feature_unittest.mm onto this base class going forward.

Open in Gerrit

Related details

Attention is currently required from:
  • Ginny Huang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
Gerrit-Change-Number: 7727592
Gerrit-PatchSet: 3
Gerrit-Owner: Kirubel Aklilu <kak...@chromium.org>
Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
Gerrit-Reviewer: Kirubel Aklilu <kak...@chromium.org>
Gerrit-Attention: Ginny Huang <ginny...@chromium.org>
Gerrit-Comment-Date: Fri, 03 Apr 2026 18:12:09 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Ginny Huang (Gerrit)

unread,
Apr 3, 2026, 2:16:24 PM (2 days ago) Apr 3
to Kirubel Aklilu, Chromium LUCI CQ, AyeAye, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, bling-ai-foundatio...@google.com
Attention needed from Kirubel Aklilu

Ginny Huang voted and added 2 comments

Votes added by Ginny Huang

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Ginny Huang . resolved

Awesome refactor. Thank you!

File ios/chrome/browser/intelligence/actor/tools/model/actor_tool_java_script_feature_test_base.mm
Line 22, Patchset 3 (Latest):// https://chromium-review.git.corp.google.com/c/chromium/src/+/7619313/comment/35fa164c_4cdd1f96/
Ginny Huang . unresolved

Maybe use "https://chromium-review.googlesource.com/"? Or even better, summarize the comment thread instead of providing a link.

Open in Gerrit

Related details

Attention is currently required from:
  • Kirubel Aklilu
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
    Gerrit-Change-Number: 7727592
    Gerrit-PatchSet: 3
    Gerrit-Owner: Kirubel Aklilu <kak...@chromium.org>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Kirubel Aklilu <kak...@chromium.org>
    Gerrit-Attention: Kirubel Aklilu <kak...@chromium.org>
    Gerrit-Comment-Date: Fri, 03 Apr 2026 18:16:17 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kirubel Aklilu (Gerrit)

    unread,
    Apr 3, 2026, 2:45:28 PM (2 days ago) Apr 3
    to Ginny Huang, Chromium LUCI CQ, AyeAye, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, bling-ai-foundatio...@google.com

    Kirubel Aklilu voted and added 1 comment

    Votes added by Kirubel Aklilu

    Maybe use "https://chromium-review.googlesource.com/"? Or even better, summarize the comment thread instead of providing a link.

    Kirubel Aklilu

    Added a summary. Unfortunately, looks like you can't link to comments on `chromium-review.googlesource.com/"` for some reason.

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
      Gerrit-Change-Number: 7727592
      Gerrit-PatchSet: 4
      Gerrit-Owner: Kirubel Aklilu <kak...@chromium.org>
      Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
      Gerrit-Reviewer: Kirubel Aklilu <kak...@chromium.org>
      Gerrit-Comment-Date: Fri, 03 Apr 2026 18:45:17 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
      satisfied_requirement
      open
      diffy

      Ginny Huang (Gerrit)

      unread,
      Apr 3, 2026, 2:58:30 PM (2 days ago) Apr 3
      to Kirubel Aklilu, Chromium LUCI CQ, AyeAye, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, bling-ai-foundatio...@google.com
      Attention needed from Kirubel Aklilu

      Ginny Huang voted and added 1 comment

      Votes added by Ginny Huang

      Code-Review+1

      1 comment

      File ios/chrome/browser/intelligence/actor/tools/model/actor_tool_java_script_feature_test_base.mm
      Ginny Huang . unresolved

      Maybe use "https://chromium-review.googlesource.com/"? Or even better, summarize the comment thread instead of providing a link.

      Kirubel Aklilu

      Added a summary. Unfortunately, looks like you can't link to comments on `chromium-review.googlesource.com/"` for some reason.

      Ginny Huang

      New comment LGTM except a super-duper nit: s/Javascript/JavaScript/g (Too hard to un-notice once I see it, sorry)

      The unlinkable-comment issue you mentioned looks like a corp/non-corp redirect bug 🤷‍♀️ It will work if you aren't logged into your corp account (I just tried on a different browser)

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Kirubel Aklilu
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: chromium/src
        Gerrit-Branch: main
        Gerrit-Change-Id: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
        Gerrit-Change-Number: 7727592
        Gerrit-PatchSet: 4
        Gerrit-Owner: Kirubel Aklilu <kak...@chromium.org>
        Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
        Gerrit-Reviewer: Kirubel Aklilu <kak...@chromium.org>
        Gerrit-Attention: Kirubel Aklilu <kak...@chromium.org>
        Gerrit-Comment-Date: Fri, 03 Apr 2026 18:58:20 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: Yes
        Comment-In-Reply-To: Kirubel Aklilu <kak...@chromium.org>
        Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Kirubel Aklilu (Gerrit)

        unread,
        Apr 3, 2026, 3:16:20 PM (2 days ago) Apr 3
        to Ginny Huang, Chromium LUCI CQ, AyeAye, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, bling-ai-foundatio...@google.com

        Kirubel Aklilu voted and added 1 comment

        Votes added by Kirubel Aklilu

        Commit-Queue+2

        1 comment

        File ios/chrome/browser/intelligence/actor/tools/model/actor_tool_java_script_feature_test_base.mm
        Ginny Huang . resolved

        Maybe use "https://chromium-review.googlesource.com/"? Or even better, summarize the comment thread instead of providing a link.

        Kirubel Aklilu

        Added a summary. Unfortunately, looks like you can't link to comments on `chromium-review.googlesource.com/"` for some reason.

        Ginny Huang

        New comment LGTM except a super-duper nit: s/Javascript/JavaScript/g (Too hard to un-notice once I see it, sorry)

        The unlinkable-comment issue you mentioned looks like a corp/non-corp redirect bug 🤷‍♀️ It will work if you aren't logged into your corp account (I just tried on a different browser)

        Kirubel Aklilu

        Good point, renamed

        Open in Gerrit

        Related details

        Attention set is empty
        Submit Requirements:
          • requirement satisfiedCode-Coverage
          • requirement satisfiedCode-Owners
          • requirement satisfiedCode-Review
          • requirement satisfiedReview-Enforcement
          Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
          Gerrit-MessageType: comment
          Gerrit-Project: chromium/src
          Gerrit-Branch: main
          Gerrit-Change-Id: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
          Gerrit-Change-Number: 7727592
          Gerrit-PatchSet: 5
          Gerrit-Owner: Kirubel Aklilu <kak...@chromium.org>
          Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
          Gerrit-Reviewer: Kirubel Aklilu <kak...@chromium.org>
          Gerrit-Comment-Date: Fri, 03 Apr 2026 19:16:12 +0000
          satisfied_requirement
          open
          diffy

          Chromium LUCI CQ (Gerrit)

          unread,
          Apr 3, 2026, 4:15:01 PM (2 days ago) Apr 3
          to Kirubel Aklilu, Ginny Huang, AyeAye, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, bling-ai-foundatio...@google.com

          Chromium LUCI CQ submitted the change with unreviewed changes

          Unreviewed changes

          4 is the latest approved patch-set.
          The change was submitted with unreviewed changes in the following files:

          ```
          The name of the file: ios/chrome/browser/intelligence/actor/tools/model/actor_tool_java_script_feature_test_base.mm
          Insertions: 2, Deletions: 2.

          @@ -17,9 +17,9 @@

          namespace actor {

          -// This base class uses the real ChromeWebClient so that the required Javascript
          +// This base class uses the real ChromeWebClient so that the required JavaScript
          // files are loaded. If the FakeWebClient is used, all calls to the underlying
          -// Javascript files must be mocked with MockJsFunction.
          +// JavaScript files must be mocked with MockJsFunction.
          ActorToolJavaScriptFeatureTestBase::ActorToolJavaScriptFeatureTestBase()
          : IOSChromeTestWithWebState(WebClientMode::kChromeWebClient) {
          scoped_feature_list_.InitWithFeatures(
          ```

          Change information

          Commit message:
          Add base class for *_java_script_feature_unittest.mm.

          There is some code that can be shared and to reduce complexity
          in each test.
          Change-Id: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
          Reviewed-by: Ginny Huang <ginny...@chromium.org>
          Commit-Queue: Kirubel Aklilu <kak...@chromium.org>
          Cr-Commit-Position: refs/heads/main@{#1609935}
          Files:
          • M ios/chrome/browser/intelligence/actor/tools/model/BUILD.gn
          • A ios/chrome/browser/intelligence/actor/tools/model/actor_tool_java_script_feature_test_base.h
          • A ios/chrome/browser/intelligence/actor/tools/model/actor_tool_java_script_feature_test_base.mm
          Change size: M
          Delta: 3 files changed, 131 insertions(+), 0 deletions(-)
          Branch: refs/heads/main
          Submit Requirements:
          • requirement satisfiedCode-Review: +1 by Ginny Huang
          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: I41c9dca4bebdc360ea6d398a41df0e766a6a6964
          Gerrit-Change-Number: 7727592
          Gerrit-PatchSet: 6
          Gerrit-Owner: Kirubel Aklilu <kak...@chromium.org>
          Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
          open
          diffy
          satisfied_requirement
          Reply all
          Reply to author
          Forward
          0 new messages