mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-12 13:13:45 +01: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',
|
'idle-detection',
|
||||||
'local-fonts',
|
'local-fonts',
|
||||||
'magnetometer',
|
'magnetometer',
|
||||||
'microphone',
|
|
||||||
'midi',
|
'midi',
|
||||||
'otp-credentials',
|
'otp-credentials',
|
||||||
'payment',
|
'payment',
|
||||||
@@ -107,6 +106,7 @@ const httpPermissionsPolicy = {
|
|||||||
allowed: {
|
allowed: {
|
||||||
autoplay: 'self "https://videos.ctfassets.net"',
|
autoplay: 'self "https://videos.ctfassets.net"',
|
||||||
fullscreen: 'self',
|
fullscreen: 'self',
|
||||||
|
'on-device-speech-recognition': 'self',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1711,6 +1711,8 @@
|
|||||||
"sort_by_x": "",
|
"sort_by_x": "",
|
||||||
"sort_projects": "",
|
"sort_projects": "",
|
||||||
"source": "",
|
"source": "",
|
||||||
|
"speak": "",
|
||||||
|
"speech_input_not_available": "",
|
||||||
"spell_check": "",
|
"spell_check": "",
|
||||||
"spellcheck": "",
|
"spellcheck": "",
|
||||||
"spellcheck_language": "",
|
"spellcheck_language": "",
|
||||||
|
|||||||
@@ -2194,6 +2194,8 @@
|
|||||||
"sort_by_x": "Sort by __x__",
|
"sort_by_x": "Sort by __x__",
|
||||||
"sort_projects": "Sort projects",
|
"sort_projects": "Sort projects",
|
||||||
"source": "Source",
|
"source": "Source",
|
||||||
|
"speak": "Speak",
|
||||||
|
"speech_input_not_available": "Speech input is not yet available in this browser",
|
||||||
"spell_check": "Spell check",
|
"spell_check": "Spell check",
|
||||||
"spellcheck": "Spellcheck",
|
"spellcheck": "Spellcheck",
|
||||||
"spellcheck_language": "Spellcheck language",
|
"spellcheck_language": "Spellcheck language",
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ describe('HttpPermissionsPolicy', function () {
|
|||||||
const response = await fetch(BASE_URL)
|
const response = await fetch(BASE_URL)
|
||||||
|
|
||||||
expect(response.headers.get('permissions-policy')).to.equal(
|
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