[wpt-sync] Sync PR 63123 - Rename "callID" to "callId" in Prompt API tool use
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox160 fixed)
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63123 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63123
Details from upstream follow.
Jingyun Liu <jingyun@google.com> wrote:
Rename "callID" to "callId" in Prompt API tool use
- goal is to be consistent with everwhere else in spec
- Spec comment:
https://github.com/webmachinelearning/prompt-api/pull/162/changes#r4138766567Change-Id: I668e7c90b402d730b50268d63ba7fda51e12d5b9
Reviewed-on: https://chromium-review.googlesource.com/8490332
WPT-Export-Revision: 25d085cd421aa231f975de98c51ff9136faa6562
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=99644
| Assignee | ||
Comment 2•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 45 subtests
Status Summary
Firefox
OK : 1
FAIL : 45
Chrome
TIMEOUT: 2
NOTRUN : 44
Safari
OK : 1
FAIL : 45
Links
Details
New Tests That Don't Pass
- /ai/language-model/language-model-tool-use.tentative.https.window.html [wpt.fyi]
- createLanguageModel should reject when tool has null inputSchema.:
FAIL(Chrome:TIMEOUT, Safari:FAIL) - createLanguageModel should reject when tool inputSchema is empty object without type property.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema is not an object.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema has no type property.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema type is not object.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema properties is not an object.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool inputSchema required is not an array.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate exception when inputSchema getter throws.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate exception when inputSchema type getter throws.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has empty name.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has empty description.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tools array contains duplicate tool names.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has no inputSchema.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tool has circular reference in inputSchema:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when all tools have circular references:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate V8 exception from custom toJSON():
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should propagate V8 exception from custom getter during serialization:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should fail-fast when one tool among many is invalid:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel with schema containing invalid-JSON-like text (trailing commas, comments) as string content succeeds because JSON.stringify escapes properly:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed with empty tools array.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed with no tools property.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tools provided but expectedOutputs is missing.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should reject when tools provided but expectedOutputs does not include tool-call.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed when tools provided with tool-call in expectedOutputs.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - createLanguageModel should succeed with tool-call in expectedOutputs but no tools.:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Caller-supplied tool calls preserve structured initial history and normalize empty arguments:
FAIL(Chrome:NOTRUN, Safari:FAIL) - append() and recreated sessions preserve caller-supplied tool-call history:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Caller-supplied tool-call input rejects invalid arguments and unsupported sessions:
FAIL(Chrome:NOTRUN, Safari:FAIL) - prompt() should return structured tool call messages in open-loop pattern:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Open-loop pattern - send tool response via follow-up prompt:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with DOM object (ImageBitmap) labeled as type object should reject:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Multimodal tool response with ImageBitmap throws NotSupportedError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Multimodal tool response with AudioBuffer throws NotSupportedError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - promptStreaming() should stream tool call messages:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool with no arguments should have empty arguments object:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Multiple tools can be declared and called:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response can include error field:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with circular reference should reject with DataError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with function value should reject with DataError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with BigInt value should reject with DataError:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Tool response with valid serializable values should succeed:
FAIL(Chrome:NOTRUN, Safari:FAIL) - Cloned model should preserve tools:
FAIL(Chrome:NOTRUN, Safari:FAIL) - prompt() returns both text and tool call in correct order when model outputs mixed response:
FAIL(Chrome:NOTRUN, Safari:FAIL) - prompt() should handle multiple batches of tool calls from model:
FAIL(Chrome:NOTRUN, Safari:FAIL) - promptStreaming() should handle multiple batches of tool calls from model:
FAIL(Chrome:NOTRUN, Safari:FAIL)
- createLanguageModel should reject when tool has null inputSchema.:
Description
•