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'`
|
* `'notifications'`
|
||||||
* `'payment-handler'`
|
* `'payment-handler'`
|
||||||
* `'storage-access'`
|
* `'storage-access'`
|
||||||
* `'usb'`
|
|
||||||
* `'window-management'`
|
* `'window-management'`
|
||||||
|
|
||||||
### option: BrowserContext.grantPermissions.origin
|
### option: BrowserContext.grantPermissions.origin
|
||||||
|
|
|
||||||
|
|
@ -440,7 +440,6 @@ export class CRBrowserContext extends BrowserContext {
|
||||||
['local-fonts', 'localFonts'],
|
['local-fonts', 'localFonts'],
|
||||||
['midi-sysex', 'midiSysex'],
|
['midi-sysex', 'midiSysex'],
|
||||||
['storage-access', 'storageAccess'],
|
['storage-access', 'storageAccess'],
|
||||||
['usb', 'usb'],
|
|
||||||
['window-management', 'windowManagement'],
|
['window-management', 'windowManagement'],
|
||||||
]);
|
]);
|
||||||
const filtered = permissions.map(permission => {
|
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'`
|
* - `'notifications'`
|
||||||
* - `'payment-handler'`
|
* - `'payment-handler'`
|
||||||
* - `'storage-access'`
|
* - `'storage-access'`
|
||||||
* - `'usb'`
|
|
||||||
* - `'window-management'`
|
* - `'window-management'`
|
||||||
* @param options
|
* @param options
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue