[wpt-sync] Sync PR 62767 - [WebMCP] Add debugging member in ToolAnnotations
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox158 fixed)
| Tracking | Status | |
|---|---|---|
| firefox158 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62767 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62767
Details from upstream follow.
François Beaufort <beaufort.francois@gmail.com> wrote:
[WebMCP] Add debugging member in ToolAnnotations
When a tool is registered with
debugging: true, this annotation
indicates that the tool is intended for debugging and developer
tooling rather than end-user interactions.Spec PR: https://github.com/webmachinelearning/webmcp/pull/253
Bug: 489045948
Change-Id: Ie80de3eccd61e9b8420a32e2deb4ab3e89301dee
Reviewed-on: https://chromium-review.googlesource.com/8398587
WPT-Export-Revision: d8f1e1255d869509644aafd831f2957276a9d9a4
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=94092
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 15 tests
Status Summary
Firefox
OK : 12
PASS : 1
FAIL : 31
TIMEOUT: 4
Chrome
OK : 11
PASS : 13
FAIL : 16
TIMEOUT: 4
ERROR : 2
NOTRUN : 2
Safari
OK : 12
PASS : 1
FAIL : 31
TIMEOUT: 4
Links
Details
New Tests That Don't Pass
- /webmcp/imperative/executeTool-caller-navigate-abort.https.html [wpt.fyi]
- executeTool() aborts target signal when the invoker document (same-origin) navigates away:
FAIL(Chrome:FAIL, Safari:FAIL) - executeTool() aborts target signal when the invoker document (cross-origin) navigates away:
FAIL(Chrome:FAIL, Safari:FAIL)
- executeTool() aborts target signal when the invoker document (same-origin) navigates away:
- /webmcp/imperative/executeTool-events.https.html [wpt.fyi]
- toolactivated and toolcancel events are dispatched on window during tool execution and cancellation:
FAIL(Chrome:TIMEOUT, Safari:FAIL)
- toolactivated and toolcancel events are dispatched on window during tool execution and cancellation:
- /webmcp/imperative/executeTool-signal-cross-origin.https.html [wpt.fyi]
- caller abort in parent document propagates to options.signal in cross-origin iframe tool:
FAIL(Chrome:TIMEOUT, Safari:FAIL) - caller abort in cross-origin iframe propagates to options.signal in parent document tool:
FAIL(Chrome:NOTRUN, Safari:FAIL)
- caller abort in parent document propagates to options.signal in cross-origin iframe tool:
- /webmcp/imperative/executeTool-target-navigation.https.html [wpt.fyi]
- executeTool() rejects when target document navigates away:
FAIL(Chrome:FAIL, Safari:FAIL)
- executeTool() rejects when target document navigates away:
- /webmcp/imperative/executeTool-unauthorized-origin.https.html [wpt.fyi]
- executeTool() rejects when parent frame attempts unauthorized execution of cross-origin iframe tool:
FAIL(Chrome:FAIL, Safari:FAIL)
- executeTool() rejects when parent frame attempts unauthorized execution of cross-origin iframe tool:
- /webmcp/imperative/exposedTo-cross-origin-child.https.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Parent exposes tool to cross-origin child:
FAIL(Chrome:FAIL, Safari:FAIL) - Cross-origin child exposes tool to parent:
FAIL(Chrome:FAIL, Safari:FAIL) - Parent exposes tool to origin that is neither its own nor its iframe's:
FAIL(Chrome:FAIL, Safari:FAIL) - Iframe exposes tool to origin that is neither its own nor its parent's:
FAIL(Chrome:FAIL, Safari:FAIL) - Cross-origin iframe without permissions policy does not receive toolchange event even if exposed to it:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Parent exposes tool to cross-origin child:
- /webmcp/imperative/exposedTo-defaults-cross-origin.https.html [wpt.fyi]
- Parent tool with no exposedTo array is not visible to cross-origin iframe:
FAIL(Chrome:PASS, Safari:FAIL) - Parent tool with empty exposedTo array is not visible to cross-origin iframe:
FAIL(Chrome:PASS, Safari:FAIL) - Cross-origin iframe tool with default exposure is not visible to parent:
FAIL(Chrome:PASS, Safari:FAIL) - Cross-origin iframe tool with empty exposedTo array is not visible to parent:
FAIL(Chrome:PASS, Safari:FAIL)
- Parent tool with no exposedTo array is not visible to cross-origin iframe:
- /webmcp/imperative/exposedTo-defaults-same-origin.https.html [wpt.fyi]
- Parent tool with missing
exposedToarray is visible to same-origin iframe:FAIL(Chrome:FAIL, Safari:FAIL) - Parent tool with empty
exposedToarray is visible to same-origin iframe:FAIL(Chrome:FAIL, Safari:FAIL) - Same-origin iframe tool with default exposure is visible to parent:
FAIL(Chrome:FAIL, Safari:FAIL) - Same-origin iframe tool with empty exposedTo array is visible to parent:
FAIL(Chrome:FAIL, Safari:FAIL)
- Parent tool with missing
- /webmcp/imperative/exposedTo-multiple-children.https.html [wpt.fyi]:
TIMEOUT(Chrome:OK, Safari:TIMEOUT)- Multi-origin setup with mixed exposure lists:
TIMEOUT(Chrome:FAIL, Safari:TIMEOUT)
- Multi-origin setup with mixed exposure lists:
- /webmcp/imperative/exposedTo-window-open.https.html [wpt.fyi]
- Tools are scoped to a frame tree, and are not exposed across opener boundaries.:
FAIL(Chrome:PASS, Safari:FAIL)
- Tools are scoped to a frame tree, and are not exposed across opener boundaries.:
- /webmcp/imperative/getTools-filtering.https.html [wpt.fyi]
- getTools() correctly filters returned tools by fromOrigins origins while preserving same-origin tools:
FAIL(Chrome:PASS, Safari:FAIL) - getTools() rejects with SecurityError if an insecure origin is supplied in fromOrigins:
FAIL(Chrome:PASS, Safari:FAIL)
- getTools() correctly filters returned tools by fromOrigins origins while preserving same-origin tools:
- /webmcp/imperative/getTools-imperative-annotations.https.html [wpt.fyi]
- Test that getTools() returns explicit annotations for an imperative tool:
FAIL(Chrome:FAIL, Safari:FAIL) - Test that getTools() populates default values for omitted annotation properties:
FAIL(Chrome:FAIL, Safari:FAIL) - Test that getTools() returns default values when annotations object is empty:
FAIL(Chrome:FAIL, Safari:FAIL) - Test that getTools() returns undefined annotations when omitted at registration:
FAIL(Chrome:PASS, Safari:FAIL)
- Test that getTools() returns explicit annotations for an imperative tool:
- /webmcp/imperative/register-tool-title.https.html [wpt.fyi]
- Tool title is preserved when provided:
FAIL(Chrome:PASS, Safari:FAIL) - Missing tool title in registration is exposed as empty string:
FAIL(Chrome:PASS, Safari:FAIL) - Tool title with unpaired surrogate is fixed up by USVString:
FAIL(Chrome:PASS, Safari:FAIL)
- Tool title is preserved when provided:
- /webmcp/imperative/unregister-during-executeTool.https.html [wpt.fyi]
- Pending executeTool() Promise resolves successfully when the target cross-origin tool is unregistered mid-execution:
FAIL(Chrome:TIMEOUT, Safari:FAIL) - Pending executeTool() Promise resolves successfully when target same-document tool is unregistered mid-execution:
FAIL(Chrome:NOTRUN, Safari:FAIL)
- Pending executeTool() Promise resolves successfully when the target cross-origin tool is unregistered mid-execution:
Comment 4•2 months ago
|
||
| bugherder | ||
Description
•