mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
[workbench] Add voice input to the prompt form (#30086)
GitOrigin-RevId: cecb613f8d204a68287e93deb6c62d071a039a8d
This commit is contained in:
@@ -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',
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
@@ -1711,6 +1711,8 @@
|
||||
"sort_by_x": "",
|
||||
"sort_projects": "",
|
||||
"source": "",
|
||||
"speak": "",
|
||||
"speech_input_not_available": "",
|
||||
"spell_check": "",
|
||||
"spellcheck": "",
|
||||
"spellcheck_language": "",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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)'
|
||||
)
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user