devtools-protocol 0.0.1525085 → 0.0.1526016

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.
@@ -3532,7 +3532,7 @@
3532
3532
  "commands": [
3533
3533
  {
3534
3534
  "name": "setPermission",
3535
- "description": "Set permission settings for given requesting and embedding origins.",
3535
+ "description": "Set permission settings for given embedding and embedded origins.",
3536
3536
  "experimental": true,
3537
3537
  "parameters": [
3538
3538
  {
@@ -3547,13 +3547,13 @@
3547
3547
  },
3548
3548
  {
3549
3549
  "name": "origin",
3550
- "description": "Requesting origin the permission applies to, all origins if not specified.",
3550
+ "description": "Embedding origin the permission applies to, all origins if not specified.",
3551
3551
  "optional": true,
3552
3552
  "type": "string"
3553
3553
  },
3554
3554
  {
3555
- "name": "embeddingOrigin",
3556
- "description": "Embedding origin the permission applies to. It is ignored unless the requesting origin is\npresent and valid. If the requesting origin is provided but the embedding origin isn't, the\nrequesting origin is used as the embedding origin.",
3555
+ "name": "embeddedOrigin",
3556
+ "description": "Embedded origin the permission applies to. It is ignored unless the embedding origin is\npresent and valid. If the embedding origin is provided but the embedded origin isn't, the\nembedding origin is used as the embedded origin.",
3557
3557
  "optional": true,
3558
3558
  "type": "string"
3559
3559
  },
@@ -16552,7 +16552,7 @@
16552
16552
  "properties": [
16553
16553
  {
16554
16554
  "name": "urlPattern",
16555
- "description": "Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string\nsyntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p\nconnections).",
16555
+ "description": "Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string\nsyntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are\nmatched (including p2p connections).",
16556
16556
  "type": "string"
16557
16557
  },
16558
16558
  {
@@ -17574,7 +17574,7 @@
17574
17574
  "parameters": [
17575
17575
  {
17576
17576
  "name": "urlPatterns",
17577
- "description": "URL patterns to block. Patterns use the URLPattern constructor string syntax\n(https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.",
17577
+ "description": "URL patterns to block. Patterns use the URLPattern constructor string syntax\n(https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*/*.css`.",
17578
17578
  "optional": true,
17579
17579
  "type": "array",
17580
17580
  "items": {
@@ -24237,7 +24237,8 @@
24237
24237
  "type": "string",
24238
24238
  "enum": [
24239
24239
  "Prefetch",
24240
- "Prerender"
24240
+ "Prerender",
24241
+ "PrerenderUntilScript"
24241
24242
  ]
24242
24243
  },
24243
24244
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1525085",
3
+ "version": "0.0.1526016",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -103,19 +103,19 @@ domain Browser
103
103
  closeTabSearch
104
104
  openGlic
105
105
 
106
- # Set permission settings for given requesting and embedding origins.
106
+ # Set permission settings for given embedding and embedded origins.
107
107
  experimental command setPermission
108
108
  parameters
109
109
  # Descriptor of permission to override.
110
110
  PermissionDescriptor permission
111
111
  # Setting of the permission.
112
112
  PermissionSetting setting
113
- # Requesting origin the permission applies to, all origins if not specified.
113
+ # Embedding origin the permission applies to, all origins if not specified.
114
114
  optional string origin
115
- # Embedding origin the permission applies to. It is ignored unless the requesting origin is
116
- # present and valid. If the requesting origin is provided but the embedding origin isn't, the
117
- # requesting origin is used as the embedding origin.
118
- optional string embeddingOrigin
115
+ # Embedded origin the permission applies to. It is ignored unless the embedding origin is
116
+ # present and valid. If the embedding origin is provided but the embedded origin isn't, the
117
+ # embedding origin is used as the embedded origin.
118
+ optional string embeddedOrigin
119
119
  # Context to override. When omitted, default browser context is used.
120
120
  optional BrowserContextID browserContextId
121
121
 
@@ -1090,8 +1090,8 @@ domain Network
1090
1090
  experimental type NetworkConditions extends object
1091
1091
  properties
1092
1092
  # Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
1093
- # syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p
1094
- # connections).
1093
+ # syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
1094
+ # matched (including p2p connections).
1095
1095
  string urlPattern
1096
1096
  # Minimum latency from request sent to response headers received (ms).
1097
1097
  number latency
@@ -1269,7 +1269,7 @@ domain Network
1269
1269
  experimental command setBlockedURLs
1270
1270
  parameters
1271
1271
  # URL patterns to block. Patterns use the URLPattern constructor string syntax
1272
- # (https://urlpattern.spec.whatwg.org/). Example: `*://*:*/*.css`.
1272
+ # (https://urlpattern.spec.whatwg.org/) and must be absolute. Example: `*://*:*/*.css`.
1273
1273
  optional array of string urlPatterns
1274
1274
  # URL patterns to block. Wildcards ('*') are allowed.
1275
1275
  deprecated optional array of string urls
@@ -57,6 +57,7 @@ experimental domain Preload
57
57
  enum
58
58
  Prefetch
59
59
  Prerender
60
+ PrerenderUntilScript
60
61
 
61
62
  # Corresponds to mojom::SpeculationTargetHint.
62
63
  # See https://github.com/WICG/nav-speculation/blob/main/triggers.md#window-name-targeting-hints
@@ -1928,7 +1928,7 @@ export namespace ProtocolMapping {
1928
1928
  returnType: void;
1929
1929
  };
1930
1930
  /**
1931
- * Set permission settings for given requesting and embedding origins.
1931
+ * Set permission settings for given embedding and embedded origins.
1932
1932
  * @experimental
1933
1933
  */
1934
1934
  'Browser.setPermission': {
@@ -1035,7 +1035,7 @@ export namespace ProtocolProxyApi {
1035
1035
 
1036
1036
  export interface BrowserApi {
1037
1037
  /**
1038
- * Set permission settings for given requesting and embedding origins.
1038
+ * Set permission settings for given embedding and embedded origins.
1039
1039
  * @experimental
1040
1040
  */
1041
1041
  setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<void>;
@@ -1105,7 +1105,7 @@ export namespace ProtocolTestsProxyApi {
1105
1105
 
1106
1106
  export interface BrowserApi {
1107
1107
  /**
1108
- * Set permission settings for given requesting and embedding origins.
1108
+ * Set permission settings for given embedding and embedded origins.
1109
1109
  * @experimental
1110
1110
  */
1111
1111
  setPermission(params: Protocol.Browser.SetPermissionRequest): Promise<{id: number, result: void, sessionId: string}>;
@@ -4624,15 +4624,15 @@ export namespace Protocol {
4624
4624
  */
4625
4625
  setting: PermissionSetting;
4626
4626
  /**
4627
- * Requesting origin the permission applies to, all origins if not specified.
4627
+ * Embedding origin the permission applies to, all origins if not specified.
4628
4628
  */
4629
4629
  origin?: string;
4630
4630
  /**
4631
- * Embedding origin the permission applies to. It is ignored unless the requesting origin is
4632
- * present and valid. If the requesting origin is provided but the embedding origin isn't, the
4633
- * requesting origin is used as the embedding origin.
4631
+ * Embedded origin the permission applies to. It is ignored unless the embedding origin is
4632
+ * present and valid. If the embedding origin is provided but the embedded origin isn't, the
4633
+ * embedding origin is used as the embedded origin.
4634
4634
  */
4635
- embeddingOrigin?: string;
4635
+ embeddedOrigin?: string;
4636
4636
  /**
4637
4637
  * Context to override. When omitted, default browser context is used.
4638
4638
  */
@@ -13193,8 +13193,8 @@ export namespace Protocol {
13193
13193
  export interface NetworkConditions {
13194
13194
  /**
13195
13195
  * Only matching requests will be affected by these conditions. Patterns use the URLPattern constructor string
13196
- * syntax (https://urlpattern.spec.whatwg.org/). If the pattern is empty, all requests are matched (including p2p
13197
- * connections).
13196
+ * syntax (https://urlpattern.spec.whatwg.org/) and must be absolute. If the pattern is empty, all requests are
13197
+ * matched (including p2p connections).
13198
13198
  */
13199
13199
  urlPattern: string;
13200
13200
  /**
@@ -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/) and must be absolute. Example: `*://*:*\/*.css`.
13820
13820
  */
13821
13821
  urlPatterns?: string[];
13822
13822
  /**
@@ -18149,7 +18149,7 @@ export namespace Protocol {
18149
18149
  * mojom::SpeculationAction (although PrefetchWithSubresources is omitted as it
18150
18150
  * isn't being used by clients).
18151
18151
  */
18152
- export type SpeculationAction = ('Prefetch' | 'Prerender');
18152
+ export type SpeculationAction = ('Prefetch' | 'Prerender' | 'PrerenderUntilScript');
18153
18153
 
18154
18154
  /**
18155
18155
  * Corresponds to mojom::SpeculationTargetHint.