WebMCP: bridge streamed args and abort reasons across worlds [chromium/src : main]

0 views
Skip to first unread message

Alex Nahas (Gerrit)

unread,
Mar 10, 2026, 11:59:24 PM (2 days ago) Mar 10
to Raphael Kubo da Costa, Khushal Sagar, chromium...@chromium.org, Kentaro Hara, kinuko...@chromium.org, blink-revie...@chromium.org, mfoltz+wa...@chromium.org, jmedle...@chromium.org, aleventh...@chromium.org, blink-re...@chromium.org, mfoltz+wa...@chromium.org, blink-...@chromium.org, ipc-securi...@chromium.org

Alex Nahas has uploaded the change for review

Commit message

WebMCP: bridge streamed args and abort reasons across worlds

This CL threads the caller ScriptState through streamed testing execution and bridges cross-world args and pre-abort reasons into the tool callback world.

It keeps the same-world fast path and leaves cross-world streamed chunk relay behavior to a follow-up CL.
Change-Id: I15cb12e8ac4d3afc25cb41c4aa507999b8082dd7

Change diff


Change information

Files:
  • M third_party/blink/renderer/core/script_tools/model_context.cc
  • M third_party/blink/renderer/core/script_tools/model_context.h
  • M third_party/blink/web_tests/fast/webmcp/streaming_tools-expected.txt
  • M third_party/blink/web_tests/fast/webmcp/streaming_tools.html
Change size: L
Delta: 4 files changed, 441 insertions(+), 33 deletions(-)
Open in Gerrit

Related details

Attention set is empty
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: newchange
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I15cb12e8ac4d3afc25cb41c4aa507999b8082dd7
Gerrit-Change-Number: 7655436
Gerrit-PatchSet: 1
Gerrit-Owner: Alex Nahas <alexm...@gmail.com>
Gerrit-CC: Kentaro Hara <har...@chromium.org>
Gerrit-CC: Khushal Sagar <khusha...@chromium.org>
Gerrit-CC: Raphael Kubo da Costa <ku...@igalia.com>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages