devtools-protocol 0.0.1402036 → 0.0.1402790

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.
@@ -4837,6 +4837,29 @@
4837
4837
  }
4838
4838
  ]
4839
4839
  },
4840
+ {
4841
+ "name": "getLonghandProperties",
4842
+ "experimental": true,
4843
+ "parameters": [
4844
+ {
4845
+ "name": "shorthandName",
4846
+ "type": "string"
4847
+ },
4848
+ {
4849
+ "name": "value",
4850
+ "type": "string"
4851
+ }
4852
+ ],
4853
+ "returns": [
4854
+ {
4855
+ "name": "longhandProperties",
4856
+ "type": "array",
4857
+ "items": {
4858
+ "$ref": "CSSProperty"
4859
+ }
4860
+ }
4861
+ ]
4862
+ },
4840
4863
  {
4841
4864
  "name": "getInlineStylesForNode",
4842
4865
  "description": "Returns the styles defined inline (explicitly in the \"style\" attribute and implicitly, using DOM\nattributes) for a DOM node identified by `nodeId`.",
@@ -16052,7 +16075,8 @@
16052
16075
  "BadResponse",
16053
16076
  "InternalError",
16054
16077
  "UnknownError",
16055
- "FulfilledLocally"
16078
+ "FulfilledLocally",
16079
+ "SiteIssuerLimit"
16056
16080
  ]
16057
16081
  },
16058
16082
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1402036",
3
+ "version": "0.0.1402790",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2327,6 +2327,13 @@ experimental domain CSS
2327
2327
  returns
2328
2328
  array of string results
2329
2329
 
2330
+ experimental command getLonghandProperties
2331
+ parameters
2332
+ string shorthandName
2333
+ string value
2334
+ returns
2335
+ array of CSSProperty longhandProperties
2336
+
2330
2337
  # Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
2331
2338
  # attributes) for a DOM node identified by `nodeId`.
2332
2339
  command getInlineStylesForNode
@@ -7429,6 +7436,7 @@ domain Network
7429
7436
  InternalError
7430
7437
  UnknownError
7431
7438
  FulfilledLocally
7439
+ SiteIssuerLimit
7432
7440
  TrustTokenOperationType type
7433
7441
  RequestId requestId
7434
7442
  # Top level origin. The context in which the operation was attempted.
@@ -1835,6 +1835,10 @@ export namespace ProtocolMapping {
1835
1835
  paramsType: [Protocol.CSS.ResolveValuesRequest];
1836
1836
  returnType: Protocol.CSS.ResolveValuesResponse;
1837
1837
  };
1838
+ 'CSS.getLonghandProperties': {
1839
+ paramsType: [Protocol.CSS.GetLonghandPropertiesRequest];
1840
+ returnType: Protocol.CSS.GetLonghandPropertiesResponse;
1841
+ };
1838
1842
  /**
1839
1843
  * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
1840
1844
  * attributes) for a DOM node identified by `nodeId`.
@@ -1074,6 +1074,8 @@ export namespace ProtocolProxyApi {
1074
1074
  */
1075
1075
  resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;
1076
1076
 
1077
+ getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<Protocol.CSS.GetLonghandPropertiesResponse>;
1078
+
1077
1079
  /**
1078
1080
  * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
1079
1081
  * attributes) for a DOM node identified by `nodeId`.
@@ -1142,6 +1142,8 @@ export namespace ProtocolTestsProxyApi {
1142
1142
  */
1143
1143
  resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<{id: number, result: Protocol.CSS.ResolveValuesResponse, sessionId: string}>;
1144
1144
 
1145
+ getLonghandProperties(params: Protocol.CSS.GetLonghandPropertiesRequest): Promise<{id: number, result: Protocol.CSS.GetLonghandPropertiesResponse, sessionId: string}>;
1146
+
1145
1147
  /**
1146
1148
  * Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
1147
1149
  * attributes) for a DOM node identified by `nodeId`.
@@ -5564,6 +5564,15 @@ export namespace Protocol {
5564
5564
  results: string[];
5565
5565
  }
5566
5566
 
5567
+ export interface GetLonghandPropertiesRequest {
5568
+ shorthandName: string;
5569
+ value: string;
5570
+ }
5571
+
5572
+ export interface GetLonghandPropertiesResponse {
5573
+ longhandProperties: CSSProperty[];
5574
+ }
5575
+
5567
5576
  export interface GetInlineStylesForNodeRequest {
5568
5577
  nodeId: DOM.NodeId;
5569
5578
  }
@@ -12703,6 +12712,7 @@ export namespace Protocol {
12703
12712
  InternalError = 'InternalError',
12704
12713
  UnknownError = 'UnknownError',
12705
12714
  FulfilledLocally = 'FulfilledLocally',
12715
+ SiteIssuerLimit = 'SiteIssuerLimit',
12706
12716
  }
12707
12717
 
12708
12718
  /**
@@ -12718,7 +12728,7 @@ export namespace Protocol {
12718
12728
  * of the operation already exists und thus, the operation was abort
12719
12729
  * preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)
12720
12730
  */
12721
- status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally');
12731
+ status: ('Ok' | 'InvalidArgument' | 'MissingIssuerKeys' | 'FailedPrecondition' | 'ResourceExhausted' | 'AlreadyExists' | 'ResourceLimited' | 'Unauthorized' | 'BadResponse' | 'InternalError' | 'UnknownError' | 'FulfilledLocally' | 'SiteIssuerLimit');
12722
12732
  type: TrustTokenOperationType;
12723
12733
  requestId: RequestId;
12724
12734
  /**