WebMCP: Remove the ModelContextTesting API [chromium/src : main]

0 views
Skip to first unread message

Dominic Farolino (Gerrit)

unread,
Jul 7, 2026, 8:11:32 PM (11 hours ago) Jul 7
to Fr, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Khushal Sagar, Raphael Kubo da Costa, alexmo...@chromium.org, android-web...@chromium.org, ashleynewson+watch-...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, creis...@chromium.org, devtools-re...@chromium.org, jmedle...@chromium.org, mfoltz+wa...@chromium.org, navigation...@chromium.org
Attention needed from Fr and Nasko Oskov

Dominic Farolino voted and added 1 comment

Votes added by Dominic Farolino

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Dominic Farolino . resolved

Hey François and Nasko! This is a reland of https://crrev.com/c/7895790. The only change between this and the original CL is a test timeout modification, described in the commit description. So this should be good to go!

Open in Gerrit

Related details

Attention is currently required from:
  • Fr
  • Nasko Oskov
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: I695ad7479d1b90de3d1edb705e71532e4b160957
Gerrit-Change-Number: 8062045
Gerrit-PatchSet: 2
Gerrit-Owner: Dominic Farolino <d...@chromium.org>
Gerrit-Reviewer: Dominic Farolino <d...@chromium.org>
Gerrit-Reviewer: Fr <beaufort...@gmail.com>
Gerrit-Reviewer: Nasko Oskov <na...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Khushal Sagar <khusha...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Fr <beaufort...@gmail.com>
Gerrit-Attention: Nasko Oskov <na...@chromium.org>
Gerrit-Comment-Date: Wed, 08 Jul 2026 00:11:25 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Nasko Oskov (Gerrit)

unread,
1:53 AM (5 hours ago) 1:53 AM
to Dominic Farolino, Chromium LUCI CQ, Fr, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Khushal Sagar, Raphael Kubo da Costa, alexmo...@chromium.org, android-web...@chromium.org, ashleynewson+watch-...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, creis...@chromium.org, devtools-re...@chromium.org, jmedle...@chromium.org, mfoltz+wa...@chromium.org, navigation...@chromium.org
Attention needed from Dominic Farolino and Fr

Nasko Oskov voted and added 1 comment

Votes added by Nasko Oskov

Code-Review+1

1 comment

Patchset-level comments
Nasko Oskov . resolved

//content LGTM

Open in Gerrit

Related details

Attention is currently required from:
  • Dominic Farolino
  • Fr
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: I695ad7479d1b90de3d1edb705e71532e4b160957
Gerrit-Change-Number: 8062045
Gerrit-PatchSet: 2
Gerrit-Owner: Dominic Farolino <d...@chromium.org>
Gerrit-Reviewer: Dominic Farolino <d...@chromium.org>
Gerrit-Reviewer: Fr <beaufort...@gmail.com>
Gerrit-Reviewer: Nasko Oskov <na...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Khushal Sagar <khusha...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Fr <beaufort...@gmail.com>
Gerrit-Attention: Dominic Farolino <d...@chromium.org>
Gerrit-Comment-Date: Wed, 08 Jul 2026 05:53:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Blink W3C Test Autoroller (Gerrit)

unread,
2:05 AM (5 hours ago) 2:05 AM
to Dominic Farolino, Chromium LUCI CQ, Fr, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Khushal Sagar, Raphael Kubo da Costa, alexmo...@chromium.org, android-web...@chromium.org, ashleynewson+watch-...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, creis...@chromium.org, devtools-re...@chromium.org, jmedle...@chromium.org, mfoltz+wa...@chromium.org, navigation...@chromium.org
Attention needed from Dominic Farolino and Fr

Message from Blink W3C Test Autoroller

Exportable changes to web-platform-tests were detected in this CL and a pull request in the upstream repo has been made: https://github.com/web-platform-tests/wpt/pull/61137.

When this CL lands, the bot will automatically merge the PR on GitHub if the required GitHub checks pass; otherwise, ecosystem-infra@ team will triage the failures and may contact you.

WPT Export docs:
https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md#Automatic-export-process

Open in Gerrit

Related details

Attention is currently required from:
  • Dominic Farolino
  • Fr
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: I695ad7479d1b90de3d1edb705e71532e4b160957
Gerrit-Change-Number: 8062045
Gerrit-PatchSet: 2
Gerrit-Owner: Dominic Farolino <d...@chromium.org>
Gerrit-Reviewer: Dominic Farolino <d...@chromium.org>
Gerrit-Reviewer: Fr <beaufort...@gmail.com>
Gerrit-Reviewer: Nasko Oskov <na...@chromium.org>
Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Khushal Sagar <khusha...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
Gerrit-Attention: Fr <beaufort...@gmail.com>
Gerrit-Attention: Dominic Farolino <d...@chromium.org>
Gerrit-Comment-Date: Wed, 08 Jul 2026 06:05:01 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
satisfied_requirement
open
diffy

Fr (Gerrit)

unread,
2:54 AM (4 hours ago) 2:54 AM
to Dominic Farolino, Blink W3C Test Autoroller, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, Kentaro Hara, Khushal Sagar, Raphael Kubo da Costa, alexmo...@chromium.org, android-web...@chromium.org, ashleynewson+watch-...@chromium.org, asvitki...@chromium.org, asvitkine...@chromium.org, blink-revie...@chromium.org, blink-revie...@chromium.org, blink-...@chromium.org, creis...@chromium.org, devtools-re...@chromium.org, jmedle...@chromium.org, mfoltz+wa...@chromium.org, navigation...@chromium.org
Attention needed from Dominic Farolino

Fr added 6 comments

File third_party/blink/web_tests/external/wpt/webmcp/declarative/form_removal_submit_crash.https.html
Line 40, Patchset 2 (Latest): await promise_rejects_dom(t, "UnknownError", promise,
Fr . unresolved

Why did you add `await`?

File third_party/blink/web_tests/external/wpt/webmcp/imperative/executeTool-invalid-dictionary.https.html
Line 40, Patchset 2 (Latest): document.modelContext.registerTool({
Fr . unresolved

I believe we should have `await`.

File third_party/blink/web_tests/external/wpt/webmcp/resources/helpers.js
Line 4, Patchset 2 (Latest): let tool = tools.find(t => t.name === name);
Fr . unresolved

Nit: s/let/const/

Line 11, Patchset 2 (Latest): let tool = tools.find(t => t.name === name);
Fr . unresolved

Nit: s/let/const/

File third_party/blink/web_tests/fast/webmcp/list_tools.html
Line 90, Patchset 2 (Parent): } else if (echoTool.inputSchema !== expectedSchema) {
Fr . unresolved

Do we have tests that cover expected input schemas from getTools()?

File tools/metrics/histograms/enums.xml
Line 10719, Patchset 2 (Latest): <int value="-1237255399" label="WebMCP:enabled"/>
Fr . unresolved

Should you also remove "WebMCPTesting" enums?

Open in Gerrit

Related details

Attention is currently required from:
  • Dominic Farolino
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: I695ad7479d1b90de3d1edb705e71532e4b160957
    Gerrit-Change-Number: 8062045
    Gerrit-PatchSet: 2
    Gerrit-Owner: Dominic Farolino <d...@chromium.org>
    Gerrit-Reviewer: Dominic Farolino <d...@chromium.org>
    Gerrit-Reviewer: Fr <beaufort...@gmail.com>
    Gerrit-Reviewer: Nasko Oskov <na...@chromium.org>
    Gerrit-CC: Blink W3C Test Autoroller <blink-w3c-te...@chromium.org>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-CC: Kentaro Hara <har...@chromium.org>
    Gerrit-CC: Khushal Sagar <khusha...@chromium.org>
    Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
    Gerrit-Attention: Dominic Farolino <d...@chromium.org>
    Gerrit-Comment-Date: Wed, 08 Jul 2026 06:54:35 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages