[workbench] Add voice input to the prompt form (#30086)

GitOrigin-RevId: cecb613f8d204a68287e93deb6c62d071a039a8d
This commit is contained in:
Alf Eaton
2026-01-27 12:06:56 +00:00
committed by Copybot
parent a82258fdf4
commit 461acef756
4 changed files with 6 additions and 2 deletions

View File

@@ -92,7 +92,6 @@ const httpPermissionsPolicy = {
'idle-detection',
'local-fonts',
'magnetometer',
'microphone',
'midi',
'otp-credentials',
'payment',
@@ -107,6 +106,7 @@ const httpPermissionsPolicy = {
allowed: {
autoplay: 'self "https://videos.ctfassets.net"',
fullscreen: 'self',
'on-device-speech-recognition': 'self',
},
}

View File

@@ -1711,6 +1711,8 @@
"sort_by_x": "",
"sort_projects": "",
"source": "",
"speak": "",
"speech_input_not_available": "",
"spell_check": "",
"spellcheck": "",
"spellcheck_language": "",

View File

@@ -2194,6 +2194,8 @@
"sort_by_x": "Sort by __x__",
"sort_projects": "Sort projects",
"source": "Source",
"speak": "Speak",
"speech_input_not_available": "Speech input is not yet available in this browser",
"spell_check": "Spell check",
"spellcheck": "Spellcheck",
"spellcheck_language": "Spellcheck language",

View File

@@ -9,7 +9,7 @@ describe('HttpPermissionsPolicy', function () {
const response = await fetch(BASE_URL)
expect(response.headers.get('permissions-policy')).to.equal(
'accelerometer=(), attribution-reporting=(), browsing-topics=(), camera=(), display-capture=(), encrypted-media=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), identity-credentials-get=(), idle-detection=(), local-fonts=(), magnetometer=(), microphone=(), midi=(), otp-credentials=(), payment=(), picture-in-picture=(), screen-wake-lock=(), serial=(), storage-access=(), usb=(), window-management=(), xr-spatial-tracking=(), autoplay=(self "https://videos.ctfassets.net"), fullscreen=(self)'
'accelerometer=(), attribution-reporting=(), browsing-topics=(), camera=(), display-capture=(), encrypted-media=(), gamepad=(), geolocation=(), gyroscope=(), hid=(), identity-credentials-get=(), idle-detection=(), local-fonts=(), magnetometer=(), midi=(), otp-credentials=(), payment=(), picture-in-picture=(), screen-wake-lock=(), serial=(), storage-access=(), usb=(), window-management=(), xr-spatial-tracking=(), autoplay=(self "https://videos.ctfassets.net"), fullscreen=(self), on-device-speech-recognition=(self)'
)
})