playwright-core 1.56.0 → 1.56.1-beta-1760662108000
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -379,7 +379,8 @@ class CRBrowserContext extends import_browserContext.BrowserContext {
|
|
|
379
379
|
// chrome-specific permissions we have.
|
|
380
380
|
["midi-sysex", "midiSysex"],
|
|
381
381
|
["storage-access", "storageAccess"],
|
|
382
|
-
["local-fonts", "localFonts"]
|
|
382
|
+
["local-fonts", "localFonts"],
|
|
383
|
+
["local-network-access", "localNetworkAccess"]
|
|
383
384
|
]);
|
|
384
385
|
const filtered = permissions.map((permission) => {
|
|
385
386
|
const protocolPermission = webPermissionToProtocol.get(permission);
|
package/package.json
CHANGED
package/types/types.d.ts
CHANGED
|
@@ -8991,6 +8991,8 @@ export interface BrowserContext {
|
|
|
8991
8991
|
* - `'clipboard-write'`
|
|
8992
8992
|
* - `'geolocation'`
|
|
8993
8993
|
* - `'gyroscope'`
|
|
8994
|
+
* - `'local-fonts'`
|
|
8995
|
+
* - `'local-network-access'`
|
|
8994
8996
|
* - `'magnetometer'`
|
|
8995
8997
|
* - `'microphone'`
|
|
8996
8998
|
* - `'midi-sysex'` (system-exclusive midi)
|
|
@@ -8998,7 +9000,6 @@ export interface BrowserContext {
|
|
|
8998
9000
|
* - `'notifications'`
|
|
8999
9001
|
* - `'payment-handler'`
|
|
9000
9002
|
* - `'storage-access'`
|
|
9001
|
-
* - `'local-fonts'`
|
|
9002
9003
|
* @param options
|
|
9003
9004
|
*/
|
|
9004
9005
|
grantPermissions(permissions: ReadonlyArray<string>, options?: {
|