[wpt-sync] Sync PR 61915 - WebMCP: Thread execution AbortSignal to tool implementation
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox156 fixed)
| Tracking | Status | |
|---|---|---|
| firefox156 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 61915 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/61915
Details from upstream follow.
Dominic Farolino <dom@chromium.org> wrote:
WebMCP: Thread execution AbortSignal to tool implementation
This CL implements abortable WebMCP tools, by introducing a
ToolExecuteCallbackOptionsdictionary that is always passed to the
tool execution callback, and always has anAbortSignalthat the tool
can use to learn when its tool execution was cancelled.Backing the
AbortSignalthat's exposed to the tool's implementation,
is an internalAbortController, and a few IPCs. The flow of aborting
a tool looks like so:
- The caller passes an
AbortSignaltoexecuteTool().
- This creates an invocation ID in the caller's renderer, and hands
it to the browser for storage in the pending executions map.
(This all happens before this CL.)- The tool owner's
ModelContextdocument creates a new
AbortControllerassociated with the pending execution ID, and
passes its signal into the tool execution callback.- Mid-execution, the caller aborts the execution signal.
- This sends the
CancelRemoteScriptTool()IPC, which requests
cancellation fromModelContextUserData.- This, and the page user data, send the
CancelScriptTool()IPC to
the owner of the tool.- This enters a refactored
ModelContext::CancelTool()which handles
imperative and declarative tool execution, as well as lifetime edge
pertaining to tool resolution and unregistration. For declarative
tools, this just involves invoking thedone_callback_with the
ScriptToolErrorCode::kToolCancelledcode. This flow automatically
cleans up the pending execution data, leaving nothing else to do.- Finally, the tool owner's
ModelContextobject looks up the
AbortControllerassociated with the soon-cancelled execution, and
aborts it. For imperative tools, this signals to JavaScript that the
tool has been aborted.Browser-side changes: The browser-side changes handle routing
cancellation IPCs, tracking target document lifetime, and managing
renderer races:
- Target document tracking:
PendingScriptToolExecutionnow tracks a
WeakDocumentPtr target_documentalongside document tokens, allowing
the browser to sendCancelScriptTool()IPCs to the target tool
owner's renderer. This is to avoid having to look up the
target document from its token.- Handles renderer races where, when the browser receives a
cancellation request, the execution has already completed, or the
tool was already unregistered, or the target document was destroyed.- Cancellation on document teardown
(CancelPendingScriptToolExecutionsForDocument()):
- When a document that is the caller of a tool is destroyed, the
browser forwards aCancelScriptTool()IPC to the tool owner.- If the destructing document owns the tool itself, we can't send
this IPC, since the RFHI'sModelContextUserDatahas already
been cleared. This is fine regardless, since the document is
being destroyed anyways.Before this CL, there was a quirk that unregistration of a tool would
cancel pending in-flight executions of that tool, thus rejecting the
caller's Promise. The tool would keep running however, because there was
no AbortSignal to let the tool know to stop running.After this CL, we have the AbortSignal, but we do NOT abort it in this
case. This is because a follow-up CL will fix this quirk altogether, and
NOT cancel pending executions of tools that get unregistered. This will
resolve https://github.com/webmachinelearning/webmcp/issues/218.Bug: 481899636
Change-Id: I4971bb726e0dcf29e378d5d0bdae5f0e559aee94
Reviewed-on: https://chromium-review.googlesource.com/8025300
WPT-Export-Revision: 7e2fac27353d5bc5f5ccb9b4fe723040a5e63a43
| Assignee | ||
Comment 1•3 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=839bbb9e1a8c3c8c3178d3adfde0f53f90abf4e1
| Assignee | ||
Comment 2•3 months ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 57 tests and 2 subtests
Status Summary
Firefox
OK : 13[GitHub] 50[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS : 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt, GitHub] 4[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL : 33[GitHub] 101[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
TIMEOUT: 6
ERROR : 2
NOTRUN : 1
Chrome
OK : 12
PASS : 28
FAIL : 4
TIMEOUT: 6
ERROR : 2
NOTRUN : 3
Safari
OK : 13
PASS : 2
FAIL : 33
TIMEOUT: 6
NOTRUN : 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /webmcp/imperative/exposedTo-cross-origin-child.https.html [wpt.fyi]:
SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[GitHub] (Chrome:OK, Safari:TIMEOUT)- Parent exposes tool to cross-origin child:
FAIL(Chrome:PASS, Safari:FAIL) - Cross-origin child exposes tool to parent:
FAIL(Chrome:PASS, Safari:FAIL) - Parent exposes tool to origin that is neither its own nor its iframe's:
FAIL(Chrome:PASS, Safari:FAIL) - Iframe exposes tool to origin that is neither its own nor its parent's:
FAIL(Chrome:PASS, 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-multiple-children.https.html [wpt.fyi]:
SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[GitHub] (Chrome:OK, Safari:TIMEOUT)- Multi-origin setup with mixed exposure lists:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT)
- Multi-origin setup with mixed exposure lists:
- /webmcp/imperative/permissions-policy.https.html [wpt.fyi]:
SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[GitHub] (Chrome:OK, Safari:TIMEOUT)- registerTool() rejects in iframe, after navigation to an origin not covered by permissions policy:
FAIL(Chrome:PASS, Safari:FAIL) - getTools() throws NotAllowedError in iframe when permissions policy is disabled:
TIMEOUT(Chrome:PASS, Safari:TIMEOUT) - executeTool() throws NotAllowedError in iframe when permissions policy is disabled:
NOTRUN(Chrome:PASS, Safari:NOTRUN)
- registerTool() rejects in iframe, after navigation to an origin not covered by permissions policy:
- /webmcp/declarative/document-domain-enabled-declarative.https.html [wpt.fyi]
- Declarative tool registration is blocked when document.domain is enabled:
FAIL
- Declarative tool registration is blocked when document.domain is enabled:
- /webmcp/declarative/duplicate-tool-name.https.html [wpt.fyi]:
ERROR- Test that duplicate declarative tools with different descriptions do not crash and only the first is registered:
FAIL - Test that duplicate declarative tools with identical descriptions do not crash and only the first is registered:
NOTRUN
- Test that duplicate declarative tools with different descriptions do not crash and only the first is registered:
- /webmcp/declarative/executeTool-abort.https.html [wpt.fyi]
- executeTool signal successfully resets tool pseudo-classes:
FAIL(Chrome:TIMEOUT, Safari:FAIL)
- executeTool signal successfully resets tool pseudo-classes:
- /webmcp/declarative/execute_tool_change_event.https.html [wpt.fyi]
- executeTool triggers input and change events:
FAIL
- executeTool triggers input and change events:
- /webmcp/declarative/execute_tool_submit_from_js.https.html [wpt.fyi]
- executeTool resolves successfully when submit handler calls form.submit():
FAIL
- executeTool resolves successfully when submit handler calls form.submit():
- /webmcp/declarative/form_removal_submit_crash.https.html [wpt.fyi]
- Form removal on submit with respondWith does not crash the renderer:
FAIL
- Form removal on submit with respondWith does not crash the renderer:
- /webmcp/declarative/getTools-declarative-schema.https.html [wpt.fyi]
- WebMCP: getTools() retrieves declarative schema at registration time:
FAIL
- WebMCP: getTools() retrieves declarative schema at registration time:
- /webmcp/declarative/no-frame-documents.https.html [wpt.fyi]
- Declarative tool in document without active frame is not registered:
FAIL - Declarative tool in DOMParser document is not registered:
FAIL - Declarative tool with name only in document without active frame is not registered:
FAIL - Declarative tool in iframe removed after registration does not crash on attribute modification:
FAIL
- Declarative tool in document without active frame is not registered:
- /webmcp/declarative/opaque-origin-tools.https.html [wpt.fyi]
- An opaque origin document can register but not execute its own declarative tools:
FAIL - executeTool() rejects synchronously for opaque origins:
FAIL
- An opaque origin document can register but not execute its own declarative tools:
- /webmcp/declarative/select-multiple-events.https.html [wpt.fyi]
- executeTool() on a <select multiple> dispatches input and change events:
FAIL
- executeTool() on a <select multiple> dispatches input and change events:
- /webmcp/declarative/toolchange-on-attribute-mutation.https.html [wpt.fyi]
- Test that mutating or removing form attributes (toolname, tooldescription, tooltitle, toolautosubmit) fires toolchange and updates getTools() correctly:
FAIL
- Test that mutating or removing form attributes (toolname, tooldescription, tooltitle, toolautosubmit) fires toolchange and updates getTools() correctly:
- /webmcp/declarative/toolchange-on-control-add-remove.https.html [wpt.fyi]
- Test that toolchange event fires when controls are added or removed:
FAIL
- Test that toolchange event fires when controls are added or removed:
- /webmcp/declarative/toolchange-on-name-change.https.html [wpt.fyi]
- Test that toolchange event fires on various mutations of form controls:
FAIL
- Test that toolchange event fires on various mutations of form controls:
- /webmcp/declarative/unregister-during-executeTool.https.html [wpt.fyi]
- Pending executeTool() Promise is rejected when target declarative tool is unregistered via DOM removal:
FAIL - Pending executeTool() Promise is rejected when target declarative tool is unregistered via attribute removal:
FAIL
- Pending executeTool() Promise is rejected when target declarative tool is unregistered via DOM removal:
- /webmcp/imperative/detached-frame-executeTool.https.html [wpt.fyi]:
ERROR- executeTool() throws
InvalidStateErrorin detached frame:FAIL
- executeTool() throws
- /webmcp/imperative/detached-frame-getTools.https.html [wpt.fyi]
- getTools() throws
InvalidStateErrorin detached frame:FAIL
- getTools() throws
- /webmcp/imperative/detached-frame-registerTool.https.html [wpt.fyi]
- registerTool() rejects
InvalidStateErrorin detached frame:FAIL
- registerTool() rejects
- /webmcp/imperative/document-domain-enabled.https.html [wpt.fyi]
- modelContext.registerTool rejects with SecurityError when document.domain is enabled:
FAIL - modelContext.getTools rejects with SecurityError when document.domain is enabled:
FAIL - modelContext.executeTool rejects with SecurityError when document.domain is enabled:
FAIL
- modelContext.registerTool rejects with SecurityError when document.domain is enabled:
- /webmcp/imperative/duplicate_tool_registration.https.html [wpt.fyi]
- duplicate tool registration is invalid.:
FAIL
- duplicate tool registration is invalid.:
- /webmcp/imperative/executeTool-abort.https.html [wpt.fyi]
- executeTool() provides a non-aborted default AbortSignal when called without options:
FAIL(Chrome:FAIL, Safari:FAIL) - caller abort propagates to tool callback options.signal:
FAIL(Chrome:TIMEOUT, Safari:FAIL) - executeTool() with already-aborted tool synchronously rejects:
FAIL(Chrome:NOTRUN, Safari:FAIL) - executeTool() promise remains rejected even if tool callback resolves after abort:
FAIL(Chrome:NOTRUN, Safari:FAIL) - concurrent executions of the same tool have independent AbortSignals:
FAIL(Chrome:NOTRUN, Safari:FAIL)
- executeTool() provides a non-aborted default AbortSignal when called without options:
- /webmcp/imperative/executeTool-across-trees.https.html [wpt.fyi]
- executeTool() rejects when the tool is hosted in another frame tree:
FAIL
- executeTool() rejects when the tool is hosted in another frame tree:
- /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-error-window-onerror.https.html [wpt.fyi]
- Failed tool execution does not trigger window.onerror:
FAIL
- Failed tool execution does not trigger window.onerror:
- /webmcp/imperative/executeTool-invalid-dictionary.https.html [wpt.fyi]
- executeTool() rejects with TypeError when the required 'origin' dictionary member is omitted:
FAIL - executeTool() rejects with UnknownError for invalid JSON arguments:
FAIL - executeTool() rejects with UnknownError when a non-existent tool object is supplied:
FAIL
- executeTool() rejects with TypeError when the required 'origin' dictionary member is omitted:
- /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:FAIL, Safari:FAIL) - caller abort in cross-origin iframe propagates to options.signal in parent document tool:
FAIL(Chrome:TIMEOUT, Safari:FAIL)
- caller abort in parent document propagates to options.signal in cross-origin iframe tool:
- /webmcp/imperative/executeTool-target-detachment.https.html [wpt.fyi]
- executeTool() rejects when target frame is detached before execution:
FAIL(Chrome:PASS, Safari:FAIL) - executeTool() rejects when target frame is detached mid-execution:
FAIL(Chrome:PASS, Safari:FAIL)
- executeTool() rejects when target frame is detached before execution:
- /webmcp/imperative/executeTool-target-navigation.https.html [wpt.fyi]
- executeTool() rejects when target document navigates away:
FAIL(Chrome:PASS, 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:PASS, Safari:FAIL)
- executeTool() rejects when parent frame attempts unauthorized execution of cross-origin iframe tool:
- /webmcp/imperative/executeTool-unregister-resolution-race.https.html [wpt.fyi]
- executeTool rejects when tool is unregistered synchronously after its promise resolves:
FAIL(Chrome:PASS, Safari:FAIL)
- executeTool rejects when tool is unregistered synchronously after its promise resolves:
- /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:PASS, Safari:FAIL) - Parent tool with empty
exposedToarray is visible to same-origin iframe:FAIL(Chrome:PASS, Safari:FAIL) - Same-origin iframe tool with default exposure is visible to parent:
FAIL(Chrome:PASS, Safari:FAIL) - Same-origin iframe tool with empty exposedTo array is visible to parent:
FAIL(Chrome:PASS, Safari:FAIL)
- Parent tool with missing
- /webmcp/imperative/exposedTo-invalid-origins.https.html [wpt.fyi]
- registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like / in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like * in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like https://example:bogus in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like https://U+d800.com in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like http://example.com in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like ftp://example.com in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like about:blank in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like about:srcdoc in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like https://example.com in exposedTo:
FAIL - registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like http://localhost:3000 in exposedTo:
FAIL - registerTool() with abort signal reason because signal is processed before
exposedTo:FAIL
- registerTool() throws SecurityError for invalid or non-potentially-trustworthy origins like / in exposedTo:
- /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 - Test that getTools() populates default values for omitted annotation properties:
FAIL - Test that getTools() returns default values when annotations object is empty:
FAIL - Test that getTools() returns undefined annotations when omitted at registration:
FAIL
- Test that getTools() returns explicit annotations for an imperative tool:
- /webmcp/imperative/getTools-imperative-schema.https.html [wpt.fyi]
- Test that getTools() returns the correct inputSchema for an imperative tool:
FAIL
- Test that getTools() returns the correct inputSchema for an imperative tool:
- /webmcp/imperative/getTools.https.html [wpt.fyi]
- getTools should return all tools sorted in lexicographical order:
FAIL
- getTools should return all tools sorted in lexicographical order:
- /webmcp/imperative/initial-about-blank-shared-tool.https.html [wpt.fyi]
- tools registered with the initial about:blank Document do not survive navigation:
FAIL
- tools registered with the initial about:blank Document do not survive navigation:
- /webmcp/imperative/model_context.https.html [wpt.fyi]
- document.modelContext instanceof ModelContext:
FAIL
- document.modelContext instanceof ModelContext:
- /webmcp/imperative/object-arguments.https.html [wpt.fyi]
- tool execution requires a JSON Object input argument; and Arrays are Objects:
FAIL
- tool execution requires a JSON Object input argument; and Arrays are Objects:
- /webmcp/imperative/opaque-origin-tools.https.html [wpt.fyi]
- An opaque origin document can register but not execute its own tools:
FAIL - executeTool() rejects synchronously for origin "null" that fails to parse as a URL:
FAIL - executeTool() rejects synchronously for invalid origin: https://test.example:invalidport:
FAIL - executeTool() rejects synchronously for invalid origin: data:text/html,foo:
FAIL
- An opaque origin document can register but not execute its own tools:
- /webmcp/imperative/register-tool-title.https.html [wpt.fyi]
- Tool title is preserved when provided:
FAIL - Missing tool title in registration is exposed as empty string:
FAIL - Tool title with unpaired surrogate is fixed up by USVString:
FAIL
- Tool title is preserved when provided:
- /webmcp/imperative/register_tool_invalid_json_schema.https.html [wpt.fyi]
- WebMCP registerTool throws on invalid schema:
FAIL - WebMCP registerTool throws on invalid schema 1:
FAIL - WebMCP registerTool throws on invalid schema 2:
FAIL - registerTool rejects on invalid schema even if an aborted signal was provided:
FAIL
- WebMCP registerTool throws on invalid schema:
- /webmcp/imperative/register_tool_name_validation.https.html [wpt.fyi]
- Valid tool names are accepted.:
FAIL - Invalid tool names throw InvalidStateError.:
FAIL
- Valid tool names are accepted.:
- /webmcp/imperative/register_tool_no_schema.https.html [wpt.fyi]
- register tool with only required params:
FAIL
- register tool with only required params:
- /webmcp/imperative/register_tool_signal.https.html [wpt.fyi]
- register tool promise rejects with AbortError when signal gets aborted:
FAIL - register tool promise rejects with error when signal gets aborted:
FAIL - register tool promise rejects when signal is already aborted:
FAIL - aborting signal unregister tool:
FAIL
- register tool promise rejects with AbortError when signal gets aborted:
- /webmcp/imperative/register_tool_toolchange.https.html [wpt.fyi]
- registerTool triggers toolchange before promise resolves:
FAIL
- registerTool triggers toolchange before promise resolves:
- /webmcp/imperative/register_tool_with_empty_annotation.https.html [wpt.fyi]
- register tool with empty annotations:
FAIL
- register tool with empty annotations:
- /webmcp/imperative/register_tool_with_schema.https.html [wpt.fyi]
- register and unregister script tool:
FAIL - registerTool succeeds when inputSchema.toJSON() returns 'undefined':
FAIL
- register and unregister script tool:
- /webmcp/imperative/same-origin-iframe-registerTool-regression.https.html [wpt.fyi]
- registerTool() does not reject in connected same-origin iframe navigated away of about:blank:
FAIL
- registerTool() does not reject in connected same-origin iframe navigated away of about:blank:
- /webmcp/imperative/unregister-during-executeTool.https.html [wpt.fyi]
- Pending executeTool() Promise is rejected without aborting options.signal when the target cross-origin tool is unregistered:
FAIL(Chrome:PASS, Safari:FAIL) - Pending executeTool() Promise is rejected without aborting options.signal when target same-document tool is unregistered:
FAIL(Chrome:TIMEOUT, Safari:FAIL)
- Pending executeTool() Promise is rejected without aborting options.signal when the target cross-origin tool is unregistered:
Tests Disabled in Gecko Infrastructure
- /webmcp/imperative/exposedTo-cross-origin-child.https.html [wpt.fyi]:
SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[GitHub] (Chrome:OK, Safari:TIMEOUT) - /webmcp/imperative/exposedTo-multiple-children.https.html [wpt.fyi]:
SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[GitHub] (Chrome:OK, Safari:TIMEOUT) - /webmcp/imperative/permissions-policy.https.html [wpt.fyi]:
SKIP[Gecko-android-em-14-x86_64-debug-geckoview,Gecko-android-em-14-x86_64-lite-opt-geckoview,Gecko-android-em-14-x86_64-opt-geckoview,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],TIMEOUT[GitHub] (Chrome:OK, Safari:TIMEOUT)
Comment 4•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/cfcae8311208
https://hg.mozilla.org/mozilla-central/rev/12684f39edfb
Description
•