From 3050196d81e220ad7a72eaba7b6b71e9fcae3e45 Mon Sep 17 00:00:00 2001 From: Vikram Date: Thu, 23 Apr 2020 02:41:09 -0700 Subject: [PATCH] fix: update clipboard read write permissions after upstream change (#5721) Upstream change: https://chromium-review.googlesource.com/c/chromium/src/+/1895749 Fixes #5720. --- src/Browser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Browser.js b/src/Browser.js index e6bef4ec87e..3aae1963d66 100644 --- a/src/Browser.js +++ b/src/Browser.js @@ -344,8 +344,8 @@ class BrowserContext extends EventEmitter { ['gyroscope', 'sensors'], ['magnetometer', 'sensors'], ['accessibility-events', 'accessibilityEvents'], - ['clipboard-read', 'clipboardRead'], - ['clipboard-write', 'clipboardWrite'], + ['clipboard-read', 'clipboardReadWrite'], + ['clipboard-write', 'clipboardReadWrite'], ['payment-handler', 'paymentHandler'], // chrome-specific permissions we have. ['midi-sysex', 'midiSysex'],