fix: update clipboard read write permissions after upstream change (#5721)

Upstream change: https://chromium-review.googlesource.com/c/chromium/src/+/1895749

Fixes #5720.
This commit is contained in:
Vikram 2020-04-23 02:41:09 -07:00 committed by GitHub
parent 0731049f86
commit 3050196d81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -344,8 +344,8 @@ class BrowserContext extends EventEmitter {
['gyroscope', 'sensors'], ['gyroscope', 'sensors'],
['magnetometer', 'sensors'], ['magnetometer', 'sensors'],
['accessibility-events', 'accessibilityEvents'], ['accessibility-events', 'accessibilityEvents'],
['clipboard-read', 'clipboardRead'], ['clipboard-read', 'clipboardReadWrite'],
['clipboard-write', 'clipboardWrite'], ['clipboard-write', 'clipboardReadWrite'],
['payment-handler', 'paymentHandler'], ['payment-handler', 'paymentHandler'],
// chrome-specific permissions we have. // chrome-specific permissions we have.
['midi-sysex', 'midiSysex'], ['midi-sysex', 'midiSysex'],