Closed Bug 2073348 Opened 2 months ago Closed 2 months ago

[wpt-sync] Sync PR 62767 - [WebMCP] Add debugging member in ToolAnnotations

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox158 fixed)

RESOLVED FIXED
158 Branch
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

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

GitHub PR Head
GitHub PR Base

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)
  • /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)
  • /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)
  • /webmcp/imperative/executeTool-target-navigation.https.html [wpt.fyi]
    • executeTool() rejects when target document navigates away: FAIL (Chrome: FAIL, Safari: FAIL)
  • /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)
  • /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)
  • /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)
  • /webmcp/imperative/exposedTo-defaults-same-origin.https.html [wpt.fyi]
    • Parent tool with missing exposedTo array is visible to same-origin iframe: FAIL (Chrome: FAIL, Safari: FAIL)
    • Parent tool with empty exposedTo array 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)
  • /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)
  • /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)
  • /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)
  • /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)
  • /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)
  • /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)
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 158 Branch
You need to log in before you can comment on or make changes to this bug.