blink: clean up test comment for datetime-local year auto-advance [chromium/src : main]

0 views
Skip to first unread message

Abhishek Sundriyal (Gerrit)

unread,
Jan 22, 2026, 9:35:51 PMJan 22
to Keishi Hattori, Xiaocheng Hu, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Keishi Hattori, Mason Freed and Xiaocheng Hu

Abhishek Sundriyal added 2 comments

Patchset-level comments
File-level comment, Patchset 4 (Latest):
Abhishek Sundriyal . resolved

updated the comment to reference the bug instead

File third_party/blink/web_tests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events.html
Line 269, Patchset 3:keyDown('3'); // 01/01/[0203] (old bug: jumped here)
Mason Freed . unresolved

Remove this comment - no need to document old bugs. Alternatively, you could change this comment to `See crbug.com/473454959`.

Abhishek Sundriyal

updated the comment to reference the bug instead

Open in Gerrit

Related details

Attention is currently required from:
  • Keishi Hattori
  • Mason Freed
  • Xiaocheng Hu
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: Ifeb83caf6983a9fa8bafefa38bf3a0018484e1c3
Gerrit-Change-Number: 7485927
Gerrit-PatchSet: 4
Gerrit-Owner: Abhishek Sundriyal <abhishe...@gmail.com>
Gerrit-Reviewer: Abhishek Sundriyal <abhishe...@gmail.com>
Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
Gerrit-Comment-Date: Fri, 23 Jan 2026 02:35:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Abhishek Sundriyal (Gerrit)

unread,
Jan 23, 2026, 1:53:56 AMJan 23
to Keishi Hattori, Xiaocheng Hu, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Keishi Hattori, Mason Freed and Xiaocheng Hu

Abhishek Sundriyal added 3 comments

Patchset-level comments
File-level comment, Patchset 1:
Abhishek Sundriyal . resolved

Note: I have signed the Google CLA. AUTHORS sync may still be pending,
so I uploaded using --bypass-hooks.

Abhishek Sundriyal

Done
Name and email added in authors file

Abhishek Sundriyal . resolved

Name and email added in authors file & updated the comment to reference the bug instead

File third_party/blink/web_tests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events.html
Line 269, Patchset 3:keyDown('3'); // 01/01/[0203] (old bug: jumped here)
Mason Freed . resolved

Remove this comment - no need to document old bugs. Alternatively, you could change this comment to `See crbug.com/473454959`.

Abhishek Sundriyal

updated the comment to reference the bug instead

Abhishek Sundriyal

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Keishi Hattori
  • Mason Freed
  • Xiaocheng Hu
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: Ifeb83caf6983a9fa8bafefa38bf3a0018484e1c3
    Gerrit-Change-Number: 7485927
    Gerrit-PatchSet: 4
    Gerrit-Owner: Abhishek Sundriyal <abhishe...@gmail.com>
    Gerrit-Reviewer: Abhishek Sundriyal <abhishe...@gmail.com>
    Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
    Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
    Gerrit-Comment-Date: Fri, 23 Jan 2026 06:53:27 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
    Comment-In-Reply-To: Abhishek Sundriyal <abhishe...@gmail.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Abhishek Sundriyal (Gerrit)

    unread,
    Jan 25, 2026, 12:45:44 PMJan 25
    to Keishi Hattori, Xiaocheng Hu, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Abhishek Sundriyal, Keishi Hattori, Mason Freed and Xiaocheng Hu

    Message from Abhishek Sundriyal

    Set Ready For Review

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Abhishek Sundriyal
    • Keishi Hattori
    • Mason Freed
    • Xiaocheng Hu
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not 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: Ifeb83caf6983a9fa8bafefa38bf3a0018484e1c3
      Gerrit-Change-Number: 7485927
      Gerrit-PatchSet: 6
      Gerrit-Owner: Abhishek Sundriyal <abhishe...@gmail.com>
      Gerrit-Reviewer: Abhishek Sundriyal <abhishe...@gmail.com>
      Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
      Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
      Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
      Gerrit-Attention: Mason Freed <mas...@chromium.org>
      Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
      Gerrit-Attention: Abhishek Sundriyal <abhishe...@gmail.com>
      Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
      Gerrit-Comment-Date: Sun, 25 Jan 2026 17:45:06 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Joey Arhar (Gerrit)

      unread,
      Jan 26, 2026, 5:50:13 PMJan 26
      to Abhishek Sundriyal, Keishi Hattori, Xiaocheng Hu, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
      Attention needed from Abhishek Sundriyal, Keishi Hattori, Mason Freed and Xiaocheng Hu

      Joey Arhar added 4 comments

      Commit Message
      Line 7, Patchset 6 (Latest):blink: clean up test comment for datetime-local year auto-advance
      Joey Arhar . unresolved

      What test comment? This looks like its changing the behavior to fix the bug

      Line 8, Patchset 6 (Latest):
      Joey Arhar . unresolved

      Want to add a `Bug: 473454959` footer here?

      File AUTHORS
      Line 16, Patchset 6 (Latest):Abhishek Sundriyal <abhishe...@gmail.com>
      Joey Arhar . unresolved

      This doesn't look alphabetically sorted with the other names

      File third_party/blink/renderer/core/html/forms/date_time_numeric_field_element.cc
      Line 148, Patchset 6 (Latest): bool is_short_field = maximum_length <= 2;
      Joey Arhar . unresolved

      This change is probably fine, but the old code is one of various things which tries to prevent users from entering invalid dates. Want to add a RuntimeEnabledFeature flag to control this behavior in case we have to revert this fix? Here is a patch which does that: https://chromium-review.googlesource.com/c/chromium/src/+/7045938

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Abhishek Sundriyal
      • Keishi Hattori
      • Mason Freed
      • Xiaocheng Hu
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • 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: Ifeb83caf6983a9fa8bafefa38bf3a0018484e1c3
        Gerrit-Change-Number: 7485927
        Gerrit-PatchSet: 6
        Gerrit-Owner: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Reviewer: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
        Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
        Gerrit-Attention: Mason Freed <mas...@chromium.org>
        Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
        Gerrit-Attention: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
        Gerrit-Comment-Date: Mon, 26 Jan 2026 22:50:04 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Mason Freed (Gerrit)

        unread,
        Jan 27, 2026, 1:14:09 PMJan 27
        to Abhishek Sundriyal, Keishi Hattori, Xiaocheng Hu, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
        Attention needed from Abhishek Sundriyal, Keishi Hattori and Xiaocheng Hu

        Mason Freed added 1 comment

        File third_party/blink/renderer/core/html/forms/date_time_numeric_field_element.cc
        Line 148, Patchset 6 (Latest): bool is_short_field = maximum_length <= 2;
        Joey Arhar . unresolved

        This change is probably fine, but the old code is one of various things which tries to prevent users from entering invalid dates. Want to add a RuntimeEnabledFeature flag to control this behavior in case we have to revert this fix? Here is a patch which does that: https://chromium-review.googlesource.com/c/chromium/src/+/7045938

        Mason Freed

        +1

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Abhishek Sundriyal
        • Keishi Hattori
        • Xiaocheng Hu
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • 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: Ifeb83caf6983a9fa8bafefa38bf3a0018484e1c3
        Gerrit-Change-Number: 7485927
        Gerrit-PatchSet: 6
        Gerrit-Owner: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Reviewer: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
        Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
        Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
        Gerrit-Attention: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
        Gerrit-Comment-Date: Tue, 27 Jan 2026 18:14:01 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Joey Arhar <jar...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Keishi Hattori (Gerrit)

        unread,
        Jan 27, 2026, 11:51:04 PMJan 27
        to Abhishek Sundriyal, Xiaocheng Hu, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
        Attention needed from Abhishek Sundriyal and Xiaocheng Hu

        Keishi Hattori voted Commit-Queue+1

        Commit-Queue+1
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Abhishek Sundriyal
        • Xiaocheng Hu
        Gerrit-Comment-Date: Wed, 28 Jan 2026 04:50:39 +0000
        Gerrit-HasComments: No
        Gerrit-Has-Labels: Yes
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Abhishek Sundriyal (Gerrit)

        unread,
        Feb 17, 2026, 10:53:09 AMFeb 17
        to AyeAye, Keishi Hattori, Xiaocheng Hu, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, kinuko...@chromium.org, jmedle...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
        Attention needed from Joey Arhar, Keishi Hattori, Mason Freed and Xiaocheng Hu

        Abhishek Sundriyal added 5 comments

        Patchset-level comments
        File-level comment, Patchset 7 (Latest):
        Abhishek Sundriyal . unresolved

        please let me know if more changes are needed

        Commit Message
        Line 7, Patchset 6:blink: clean up test comment for datetime-local year auto-advance
        Joey Arhar . resolved

        What test comment? This looks like its changing the behavior to fix the bug

        Abhishek Sundriyal

        datetimelocal-mutiple-fields-keyboard-events.html
        line 263 to 272
        should i remove this test?

        Line 8, Patchset 6:
        Joey Arhar . resolved

        Want to add a `Bug: 473454959` footer here?

        Abhishek Sundriyal

        added Bug: 473454959 footer

        File AUTHORS
        Line 16, Patchset 6:Abhishek Sundriyal <abhishe...@gmail.com>
        Joey Arhar . resolved

        This doesn't look alphabetically sorted with the other names

        Abhishek Sundriyal

        sorted alphabetically

        File third_party/blink/renderer/core/html/forms/date_time_numeric_field_element.cc
        Line 148, Patchset 6: bool is_short_field = maximum_length <= 2;
        Joey Arhar . resolved

        This change is probably fine, but the old code is one of various things which tries to prevent users from entering invalid dates. Want to add a RuntimeEnabledFeature flag to control this behavior in case we have to revert this fix? Here is a patch which does that: https://chromium-review.googlesource.com/c/chromium/src/+/7045938

        Mason Freed

        +1

        Abhishek Sundriyal

        added RuntimeEnabledFeature flag

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Joey Arhar
        • Keishi Hattori
        • Mason Freed
        • Xiaocheng Hu
        Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement is not satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • 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: Ifeb83caf6983a9fa8bafefa38bf3a0018484e1c3
        Gerrit-Change-Number: 7485927
        Gerrit-PatchSet: 7
        Gerrit-Owner: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Reviewer: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Reviewer: Joey Arhar <jar...@chromium.org>
        Gerrit-Reviewer: Keishi Hattori <kei...@chromium.org>
        Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
        Gerrit-Reviewer: Xiaocheng Hu <xiaoc...@chromium.org>
        Gerrit-Attention: Mason Freed <mas...@chromium.org>
        Gerrit-Attention: Xiaocheng Hu <xiaoc...@chromium.org>
        Gerrit-Attention: Joey Arhar <jar...@chromium.org>
        Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
        Gerrit-Comment-Date: Tue, 17 Feb 2026 15:52:43 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Mason Freed <mas...@chromium.org>
        Comment-In-Reply-To: Joey Arhar <jar...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Joey Arhar (Gerrit)

        unread,
        Feb 17, 2026, 12:57:26 PMFeb 17
        to Abhishek Sundriyal, AyeAye, Keishi Hattori, Xiaocheng Hu, Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, kinuko...@chromium.org, jmedle...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
        Attention needed from Abhishek Sundriyal, Keishi Hattori, Mason Freed and Xiaocheng Hu

        Joey Arhar added 5 comments

        Commit Message
        Line 7, Patchset 6:blink: clean up test comment for datetime-local year auto-advance
        Joey Arhar . unresolved

        What test comment? This looks like its changing the behavior to fix the bug

        Abhishek Sundriyal

        datetimelocal-mutiple-fields-keyboard-events.html
        line 263 to 272
        should i remove this test?

        Joey Arhar

        No, the test is fine. I just think that the commit message should be changed since the phrasing makes it sound like there are no behavior changes, only changes to tests.

        How about this as a commit message?

        ```
        Prevent date input auto-advance for invalid year

        Bug: 473454959
        Change-Id: Ifeb83caf6983a9fa8bafefa38bf3a0018484e1c3
        ```

        Line 8, Patchset 6:
        Joey Arhar . unresolved

        Want to add a `Bug: 473454959` footer here?

        Abhishek Sundriyal

        added Bug: 473454959 footer

        Joey Arhar

        I don't see that in the footer

        File third_party/blink/renderer/core/html/forms/date_time_numeric_field_element.cc
        Line 25, Patchset 7 (Parent):
        Joey Arhar . unresolved

        Having a newline in between the license comment and the first include is how all our files are formatted. want to add it back?

        File third_party/blink/renderer/platform/runtime_enabled_features.json5
        Line 1865, Patchset 7: status: "experimental",
        Joey Arhar . unresolved

        you can set this to stable, we can change it back to experimental if we run into issues with users.

        File third_party/blink/web_tests/fast/forms/datetimelocal-multiple-fields/datetimelocal-multiple-fields-keyboard-events.html
        Line 4, Patchset 7: <meta name="runtime-enabled-features"
        Joey Arhar . unresolved

        want to remove this indentation?

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Abhishek Sundriyal
        Gerrit-Attention: Abhishek Sundriyal <abhishe...@gmail.com>
        Gerrit-Attention: Keishi Hattori <kei...@chromium.org>
        Gerrit-Comment-Date: Tue, 17 Feb 2026 17:57:20 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Abhishek Sundriyal <abhishe...@gmail.com>
        Comment-In-Reply-To: Joey Arhar <jar...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages