fix: added clipboard permission that was not exposed (#10119)

This commit is contained in:
Nikolay Vitkov 2023-06-19 10:53:54 +02:00 committed by GitHub
parent 39847bd231
commit c06e15fb5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,7 @@ export type Permission =
| 'accessibility-events'
| 'clipboard-read'
| 'clipboard-write'
| 'clipboard-sanitized-write'
| 'payment-handler'
| 'persistent-storage'
| 'idle-detection'

View File

@ -84,6 +84,7 @@ export const WEB_PERMISSION_TO_PROTOCOL_PERMISSION = new Map<
['accessibility-events', 'accessibilityEvents'],
['clipboard-read', 'clipboardReadWrite'],
['clipboard-write', 'clipboardReadWrite'],
['clipboard-sanitized-write', 'clipboardSanitizedWrite'],
['payment-handler', 'paymentHandler'],
['persistent-storage', 'durableStorage'],
['idle-detection', 'idleDetection'],
@ -108,6 +109,7 @@ export type Permission =
| 'accessibility-events'
| 'clipboard-read'
| 'clipboard-write'
| 'clipboard-sanitized-write'
| 'payment-handler'
| 'persistent-storage'
| 'idle-detection'