feat(permissions): Add idle-detection permission (#6438)

Added `idle-detection` permission needed to test IdleDetector:
* [CL 2417779 idle-detection: Implement requestPermission() method](https://chromium-review.googlesource.com/c/chromium/src/+/2417779)
This commit is contained in:
Maksim Sadym 2020-09-22 10:55:31 +02:00 committed by GitHub
parent b1c3efaa34
commit 8f3171a33c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -672,6 +672,7 @@ export class BrowserContext extends EventEmitter {
['clipboard-read', 'clipboardReadWrite'],
['clipboard-write', 'clipboardReadWrite'],
['payment-handler', 'paymentHandler'],
['idle-detection', 'idleDetection'],
// chrome-specific permissions we have.
['midi-sysex', 'midiSysex'],
]);