rm 'usb' perm
This commit is contained in:
parent
5d4d256ddf
commit
6399bf97fb
|
|
@ -983,7 +983,6 @@ A permission or an array of permissions to grant. Permissions can be one of the
|
|||
* `'notifications'`
|
||||
* `'payment-handler'`
|
||||
* `'storage-access'`
|
||||
* `'usb'`
|
||||
* `'window-management'`
|
||||
|
||||
### option: BrowserContext.grantPermissions.origin
|
||||
|
|
|
|||
|
|
@ -440,7 +440,6 @@ export class CRBrowserContext extends BrowserContext {
|
|||
['local-fonts', 'localFonts'],
|
||||
['midi-sysex', 'midiSysex'],
|
||||
['storage-access', 'storageAccess'],
|
||||
['usb', 'usb'],
|
||||
['window-management', 'windowManagement'],
|
||||
]);
|
||||
const filtered = permissions.map(permission => {
|
||||
|
|
|
|||
1
packages/playwright-core/types/types.d.ts
vendored
1
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -8981,7 +8981,6 @@ export interface BrowserContext {
|
|||
* - `'notifications'`
|
||||
* - `'payment-handler'`
|
||||
* - `'storage-access'`
|
||||
* - `'usb'`
|
||||
* - `'window-management'`
|
||||
* @param options
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue