← back to v161 · translator-api-on-android

conformance · v161

v161 · translator-api-on-android — conformance probe

8 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/translation-api/#translator-api chromestatus: #5106126157905920 generated 2026-11-22T00:00:00Z by weekly-hardening-builder
0
pass
0
fail
0
blocked
8
total
id contract kind verdict detail
translator-exposed The Translator interface is exposed on Window in a secure context (on Chrome for Android from 161). spec ↗ exists …
translator-static-availability-and-create Translator.availability() and Translator.create() are static functions. spec ↗ script …
translator-instance-surface Translator.prototype exposes translate(), translateStreaming(), measureInputUsage(), destroy() and the inputQuota, sourceLanguage and targetLanguage getters. spec ↗ script …
translator-availability-known-token Translator.availability({sourceLanguage:'en', targetLanguage:'es'}) resolves to one of 'available' | 'downloadable' | 'downloading' | 'unavailable', without downloading anything. spec ↗ script …
translator-invalid-tag-rangeerror An invalid BCP 47 language tag is rejected with a RangeError during option validation. spec ↗ script …
translator-required-target-typeerror targetLanguage is a required dictionary member, so omitting it rejects with a TypeError. spec ↗ script …
translator-create-aborted-signal create() with an already-aborted AbortSignal rejects with an AbortError before any download can start. spec ↗ script …
translator-permissions-policy-denied-iframe In an iframe whose allow attribute denies the 'translator' policy-controlled feature, availability() resolves 'unavailable' and create() rejects with NotAllowedError. spec ↗ script …