devtools-protocol 0.0.1487398 → 0.0.1488040

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.
@@ -5365,6 +5365,17 @@
5365
5365
  }
5366
5366
  ]
5367
5367
  },
5368
+ {
5369
+ "name": "getEnvironmentVariables",
5370
+ "description": "Returns the values of the default UA-defined environment variables used in env()",
5371
+ "experimental": true,
5372
+ "returns": [
5373
+ {
5374
+ "name": "environmentVariables",
5375
+ "type": "object"
5376
+ }
5377
+ ]
5378
+ },
5368
5379
  {
5369
5380
  "name": "getMediaQueries",
5370
5381
  "description": "Returns all media queries parsed by the rendering engine.",
@@ -20400,6 +20411,13 @@
20400
20411
  "description": "User friendly error message, present if and only if navigation has failed.",
20401
20412
  "optional": true,
20402
20413
  "type": "string"
20414
+ },
20415
+ {
20416
+ "name": "isDownload",
20417
+ "description": "Whether the navigation resulted in a download.",
20418
+ "experimental": true,
20419
+ "optional": true,
20420
+ "type": "boolean"
20403
20421
  }
20404
20422
  ]
20405
20423
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1487398",
3
+ "version": "0.0.1488040",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2559,6 +2559,11 @@ experimental domain CSS
2559
2559
  # A list of CSS at-function rules referenced by styles of this node.
2560
2560
  experimental optional array of CSSFunctionRule cssFunctionRules
2561
2561
 
2562
+ # Returns the values of the default UA-defined environment variables used in env()
2563
+ experimental command getEnvironmentVariables
2564
+ returns
2565
+ object environmentVariables
2566
+
2562
2567
  # Returns all media queries parsed by the rendering engine.
2563
2568
  command getMediaQueries
2564
2569
  returns
@@ -9447,6 +9452,8 @@ domain Page
9447
9452
  optional Network.LoaderId loaderId
9448
9453
  # User friendly error message, present if and only if navigation has failed.
9449
9454
  optional string errorText
9455
+ # Whether the navigation resulted in a download.
9456
+ experimental optional boolean isDownload
9450
9457
 
9451
9458
  # Navigates current page to the given history entry.
9452
9459
  command navigateToHistoryEntry
@@ -1975,6 +1975,13 @@ export namespace ProtocolMapping {
1975
1975
  paramsType: [Protocol.CSS.GetMatchedStylesForNodeRequest];
1976
1976
  returnType: Protocol.CSS.GetMatchedStylesForNodeResponse;
1977
1977
  };
1978
+ /**
1979
+ * Returns the values of the default UA-defined environment variables used in env()
1980
+ */
1981
+ 'CSS.getEnvironmentVariables': {
1982
+ paramsType: [];
1983
+ returnType: Protocol.CSS.GetEnvironmentVariablesResponse;
1984
+ };
1978
1985
  /**
1979
1986
  * Returns all media queries parsed by the rendering engine.
1980
1987
  */
@@ -1117,6 +1117,11 @@ export namespace ProtocolProxyApi {
1117
1117
  */
1118
1118
  getMatchedStylesForNode(params: Protocol.CSS.GetMatchedStylesForNodeRequest): Promise<Protocol.CSS.GetMatchedStylesForNodeResponse>;
1119
1119
 
1120
+ /**
1121
+ * Returns the values of the default UA-defined environment variables used in env()
1122
+ */
1123
+ getEnvironmentVariables(): Promise<Protocol.CSS.GetEnvironmentVariablesResponse>;
1124
+
1120
1125
  /**
1121
1126
  * Returns all media queries parsed by the rendering engine.
1122
1127
  */
@@ -1185,6 +1185,11 @@ export namespace ProtocolTestsProxyApi {
1185
1185
  */
1186
1186
  getMatchedStylesForNode(params: Protocol.CSS.GetMatchedStylesForNodeRequest): Promise<{id: number, result: Protocol.CSS.GetMatchedStylesForNodeResponse, sessionId: string}>;
1187
1187
 
1188
+ /**
1189
+ * Returns the values of the default UA-defined environment variables used in env()
1190
+ */
1191
+ getEnvironmentVariables(): Promise<{id: number, result: Protocol.CSS.GetEnvironmentVariablesResponse, sessionId: string}>;
1192
+
1188
1193
  /**
1189
1194
  * Returns all media queries parsed by the rendering engine.
1190
1195
  */
@@ -5868,6 +5868,10 @@ export namespace Protocol {
5868
5868
  cssFunctionRules?: CSSFunctionRule[];
5869
5869
  }
5870
5870
 
5871
+ export interface GetEnvironmentVariablesResponse {
5872
+ environmentVariables: any;
5873
+ }
5874
+
5871
5875
  export interface GetMediaQueriesResponse {
5872
5876
  medias: CSSMedia[];
5873
5877
  }
@@ -15118,6 +15122,10 @@ export namespace Protocol {
15118
15122
  * User friendly error message, present if and only if navigation has failed.
15119
15123
  */
15120
15124
  errorText?: string;
15125
+ /**
15126
+ * Whether the navigation resulted in a download.
15127
+ */
15128
+ isDownload?: boolean;
15121
15129
  }
15122
15130
 
15123
15131
  export interface NavigateToHistoryEntryRequest {