← back to v139 · prompt-api

conformance · v139

v139 · prompt-api — conformance probe

7 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.

browser: spec: https://webmachinelearning.github.io/prompt-api/ chromestatus: #5134603979063296 generated 2026-06-01T08:13:31Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
7
total
id contract kind verdict detail
language-model-on-self LanguageModel is exposed on the global; this is the entry point object for the Prompt API. spec ↗ exists
language-model-availability-method LanguageModel.availability() exists as a static; authors call it to probe whether the on-device model is ready/downloadable. spec ↗ typeof
language-model-create-method LanguageModel.create() exists as a static factory returning a Promise of a session. typeof
language-model-params-method LanguageModel.params() exists to surface model-level metadata (defaultTopK, maxTopK, etc.). script
language-model-prompt-on-prototype LanguageModel.prototype exposes prompt() — the per-session method that submits a prompt and returns a Promise<string>. spec ↗ script
language-model-prompt-streaming LanguageModel.prototype.promptStreaming exists; the streaming counterpart returns a ReadableStream of partial outputs. script
readable-stream-available ReadableStream is exposed; promptStreaming returns one. exists