[wpt-sync] Sync PR 62800 - Web Speech API: Require sticky activation for relaxed model downloads
Categories
(Core :: Web Speech, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox159 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 62800 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/62800
Details from upstream follow.
Evan Liu <evliu@google.com> wrote:
Web Speech API: Require sticky activation for relaxed model downloads
SpeechRecognition.install() currently requires no user activation when
the browser reports that a language pack is downloadable without a
gesture (e.g. origin has microphone permission and language is in
Accept-Language). Require sticky activation in that case, gated by the
kOnDeviceWebSpeechRequiresStickyActivation kill switch, while still
requiring and consuming transient activation for unrelaxed downloads.
Also replace Accessibility.WebSpeech.DownloadRelaxed with
DownloadActivationOutcome to record the observed activation state.Fixed: 559063678
OBSOLETE_HISTOGRAM[Accessibility.WebSpeech.DownloadRelaxed]=Replaced by Accessibility.WebSpeech.DownloadActivationOutcome, which distinguishes requests rejected for lack of a user gesture from requests rejected for lack of sticky activation.
Change-Id: I698d06b9c470b6066993b9432112179ab47a3a9dReviewed-on: https://chromium-review.googlesource.com/8407893
WPT-Export-Revision: 0567ebf28e94e33b955615b98607a77fef27c6d2
| Assignee | ||
Updated•2 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=96049
| Assignee | ||
Comment 2•2 months ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 5 subtests
Status Summary
Firefox
OK : 1
PASS: 5
Chrome
OK : 1
PASS: 4
FAIL: 1
Safari
OK : 1
FAIL: 5
Links
Comment 4•1 month ago
|
||
| bugherder | ||
Comment 5•1 month ago
|
||
| bugherder | ||
Description
•