Skip to content

Commit

Permalink
feat(permissions): Add idle-detection permission (#6438)
Browse files Browse the repository at this point in the history
Added `idle-detection` permission needed to test IdleDetector:
* [CL 2417779 idle-detection: Implement requestPermission() method](https://chromium-review.googlesource.com/c/chromium/src/+/2417779)
  • Loading branch information
sadym-chromium committed Sep 22, 2020
1 parent b1c3efa commit 8f3171a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/common/Browser.ts
Expand Up @@ -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'],
]);
Expand Down

0 comments on commit 8f3171a

Please sign in to comment.