devtools-protocol 0.0.1523998 → 0.0.1525085

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.
@@ -3567,8 +3567,9 @@
3567
3567
  },
3568
3568
  {
3569
3569
  "name": "grantPermissions",
3570
- "description": "Grant specific permissions to the given origin and reject all others.",
3570
+ "description": "Grant specific permissions to the given origin and reject all others. Deprecated. Use\nsetPermission instead.",
3571
3571
  "experimental": true,
3572
+ "deprecated": true,
3572
3573
  "parameters": [
3573
3574
  {
3574
3575
  "name": "permissions",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1523998",
3
+ "version": "0.0.1525085",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -119,8 +119,9 @@ domain Browser
119
119
  # Context to override. When omitted, default browser context is used.
120
120
  optional BrowserContextID browserContextId
121
121
 
122
- # Grant specific permissions to the given origin and reject all others.
123
- experimental command grantPermissions
122
+ # Grant specific permissions to the given origin and reject all others. Deprecated. Use
123
+ # setPermission instead.
124
+ experimental deprecated command grantPermissions
124
125
  parameters
125
126
  array of PermissionType permissions
126
127
  # Origin the permission applies to, all origins if not specified.
@@ -1936,7 +1936,9 @@ export namespace ProtocolMapping {
1936
1936
  returnType: void;
1937
1937
  };
1938
1938
  /**
1939
- * Grant specific permissions to the given origin and reject all others.
1939
+ * Grant specific permissions to the given origin and reject all others. Deprecated. Use
1940
+ * setPermission instead.
1941
+ * @deprecated
1940
1942
  * @experimental
1941
1943
  */
1942
1944
  'Browser.grantPermissions': {
@@ -1041,7 +1041,9 @@ export namespace ProtocolProxyApi {
1041
1041
  setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<void>;
1042
1042
 
1043
1043
  /**
1044
- * Grant specific permissions to the given origin and reject all others.
1044
+ * Grant specific permissions to the given origin and reject all others. Deprecated. Use
1045
+ * setPermission instead.
1046
+ * @deprecated
1045
1047
  * @experimental
1046
1048
  */
1047
1049
  grantPermissions(params: Protocol.Browser.GrantPermissionsRequest): Promise<void>;
@@ -1111,7 +1111,9 @@ export namespace ProtocolTestsProxyApi {
1111
1111
  setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<{id: number, result: void, sessionId: string}>;
1112
1112
 
1113
1113
  /**
1114
- * Grant specific permissions to the given origin and reject all others.
1114
+ * Grant specific permissions to the given origin and reject all others. Deprecated. Use
1115
+ * setPermission instead.
1116
+ * @deprecated
1115
1117
  * @experimental
1116
1118
  */
1117
1119
  grantPermissions(params: Protocol.Browser.GrantPermissionsRequest): Promise<{id: number, result: void, sessionId: string}>;
@@ -13816,7 +13816,7 @@ export namespace Protocol {
13816
13816
  export interface SetBlockedURLsRequest {
13817
13817
  /**
13818
13818
  * URL patterns to block. Patterns use the URLPattern constructor string syntax
13819
- * (https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.
13819
+ * (https://urlpattern.spec.whatwg.org/). Example: `*://*:*\/*.css`.
13820
13820
  */
13821
13821
  urlPatterns?: string[];
13822
13822
  /**