Add more context for dates, plus better validation error message [chromium/src : main]

0 views
Skip to first unread message

Mason Freed (Gerrit)

unread,
4:13 PM (7 hours ago) 4:13 PM
to Anders Hartvoll Ruud, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Anders Hartvoll Ruud

Mason Freed voted Auto-Submit+1

Auto-Submit+1
Open in Gerrit

Related details

Attention is currently required from:
  • Anders Hartvoll Ruud
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: If46cee75b455b2d933b8c25e035ec6d47493d047
Gerrit-Change-Number: 7566700
Gerrit-PatchSet: 2
Gerrit-Owner: Mason Freed <mas...@chromium.org>
Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
Gerrit-Attention: Anders Hartvoll Ruud <and...@chromium.org>
Gerrit-Comment-Date: Wed, 11 Feb 2026 21:13:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Anders Hartvoll Ruud (Gerrit)

unread,
4:34 PM (7 hours ago) 4:34 PM
to Mason Freed, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
Attention needed from Mason Freed

Anders Hartvoll Ruud voted and added 1 comment

Votes added by Anders Hartvoll Ruud

Code-Review+1
Commit-Queue+2

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Anders Hartvoll Ruud . resolved

Shame that `"$comment"` didn't work. Especially if we _do_ want to spec how this input schema should look, I don't think we should mess with the `description` field long term---it's the author's "space".

Open in Gerrit

Related details

Attention is currently required from:
  • Mason Freed
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: If46cee75b455b2d933b8c25e035ec6d47493d047
    Gerrit-Change-Number: 7566700
    Gerrit-PatchSet: 2
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Mason Freed <mas...@chromium.org>
    Gerrit-Comment-Date: Wed, 11 Feb 2026 21:33:52 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Mason Freed (Gerrit)

    unread,
    4:36 PM (7 hours ago) 4:36 PM
    to Adrian Lin, Anders Hartvoll Ruud, Chromium LUCI CQ, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org
    Attention needed from Adrian Lin

    Mason Freed added 1 comment

    Patchset-level comments
    Anders Hartvoll Ruud . resolved

    Shame that `"$comment"` didn't work. Especially if we _do_ want to spec how this input schema should look, I don't think we should mess with the `description` field long term---it's the author's "space".

    Mason Freed

    +1. +adrian for comment on this. If we can get $comment un-filtered in the model input, I definitely agree with moving this to there.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Adrian Lin
    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: If46cee75b455b2d933b8c25e035ec6d47493d047
    Gerrit-Change-Number: 7566700
    Gerrit-PatchSet: 2
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Adrian Lin <adri...@google.com>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    Gerrit-Attention: Adrian Lin <adri...@google.com>
    Gerrit-Comment-Date: Wed, 11 Feb 2026 21:36:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Anders Hartvoll Ruud <and...@chromium.org>
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    6:06 PM (5 hours ago) 6:06 PM
    to Mason Freed, Adrian Lin, Anders Hartvoll Ruud, chromium...@chromium.org, blink-rev...@chromium.org, blink-...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    Add more context for dates, plus better validation error message

    It was previously common for dates to be passed in as 'MM/DD/YYYY' when
    dates for HTML input elements must always be 'YYYY-MM-DD'. This CL adds
    that bit of context to the description for date fields, and and also
    adds a little more detail to the validation error message, so that the
    agent might be able to correct errors more easily.
    Change-Id: If46cee75b455b2d933b8c25e035ec6d47493d047
    Reviewed-by: Anders Hartvoll Ruud <and...@chromium.org>
    Auto-Submit: Mason Freed <mas...@chromium.org>
    Commit-Queue: Anders Hartvoll Ruud <and...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1583553}
    Files:
    • M third_party/blink/renderer/core/html/forms/form_mcp_schema.cc
    • M third_party/blink/renderer/core/html/forms/form_mcp_schema.h
    • M third_party/blink/renderer/core/html/forms/html_form_mcp_tool_test.cc
    • M third_party/blink/renderer/core/script_tools/model_context_test.cc
    Change size: S
    Delta: 4 files changed, 27 insertions(+), 7 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Anders Hartvoll Ruud
    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: If46cee75b455b2d933b8c25e035ec6d47493d047
    Gerrit-Change-Number: 7566700
    Gerrit-PatchSet: 3
    Gerrit-Owner: Mason Freed <mas...@chromium.org>
    Gerrit-Reviewer: Adrian Lin <adri...@google.com>
    Gerrit-Reviewer: Anders Hartvoll Ruud <and...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Mason Freed <mas...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages