mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
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:
parent
b1c3efaa34
commit
8f3171a33c
@ -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'],
|
||||
]);
|
||||
|
Loading…
Reference in New Issue
Block a user