mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
fix: added clipboard permission that was not exposed (#10119)
This commit is contained in:
parent
39847bd231
commit
c06e15fb5b
@ -21,6 +21,7 @@ export type Permission =
|
||||
| 'accessibility-events'
|
||||
| 'clipboard-read'
|
||||
| 'clipboard-write'
|
||||
| 'clipboard-sanitized-write'
|
||||
| 'payment-handler'
|
||||
| 'persistent-storage'
|
||||
| 'idle-detection'
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user