devtools-protocol 0.0.1195207 → 0.0.1196408

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.
@@ -4462,6 +4462,31 @@
4462
4462
  }
4463
4463
  ]
4464
4464
  },
4465
+ {
4466
+ "name": "setPropertyRulePropertyName",
4467
+ "description": "Modifies the property rule property name.",
4468
+ "parameters": [
4469
+ {
4470
+ "name": "styleSheetId",
4471
+ "$ref": "StyleSheetId"
4472
+ },
4473
+ {
4474
+ "name": "range",
4475
+ "$ref": "SourceRange"
4476
+ },
4477
+ {
4478
+ "name": "propertyName",
4479
+ "type": "string"
4480
+ }
4481
+ ],
4482
+ "returns": [
4483
+ {
4484
+ "name": "propertyName",
4485
+ "description": "The resulting key text after modification.",
4486
+ "$ref": "Value"
4487
+ }
4488
+ ]
4489
+ },
4465
4490
  {
4466
4491
  "name": "setKeyframeKey",
4467
4492
  "description": "Modifies the keyframe rule key text.",
@@ -23911,7 +23936,6 @@
23911
23936
  "NavigationBadHttpStatus",
23912
23937
  "ClientCertRequested",
23913
23938
  "NavigationRequestNetworkError",
23914
- "MaxNumOfRunningPrerendersExceeded",
23915
23939
  "CancelAllHostsForTesting",
23916
23940
  "DidFailLoad",
23917
23941
  "Stop",
@@ -23955,7 +23979,10 @@
23955
23979
  "PrerenderingDisabledByDevTools",
23956
23980
  "ResourceLoadBlockedByClient",
23957
23981
  "SpeculationRuleRemoved",
23958
- "ActivatedWithAuxiliaryBrowsingContexts"
23982
+ "ActivatedWithAuxiliaryBrowsingContexts",
23983
+ "MaxNumOfRunningEagerPrerendersExceeded",
23984
+ "MaxNumOfRunningNonEagerPrerendersExceeded",
23985
+ "MaxNumOfRunningEmbedderPrerendersExceeded"
23959
23986
  ]
23960
23987
  },
23961
23988
  {
@@ -2220,7 +2220,8 @@
2220
2220
  "typedarray",
2221
2221
  "arraybuffer",
2222
2222
  "node",
2223
- "window"
2223
+ "window",
2224
+ "generator"
2224
2225
  ]
2225
2226
  },
2226
2227
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1195207",
3
+ "version": "0.0.1196408",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -2095,6 +2095,16 @@ experimental domain CSS
2095
2095
  string propertyName
2096
2096
  string value
2097
2097
 
2098
+ # Modifies the property rule property name.
2099
+ command setPropertyRulePropertyName
2100
+ parameters
2101
+ StyleSheetId styleSheetId
2102
+ SourceRange range
2103
+ string propertyName
2104
+ returns
2105
+ # The resulting key text after modification.
2106
+ Value propertyName
2107
+
2098
2108
  # Modifies the keyframe rule key text.
2099
2109
  command setKeyframeKey
2100
2110
  parameters
@@ -11296,7 +11306,6 @@ experimental domain Preload
11296
11306
  NavigationBadHttpStatus
11297
11307
  ClientCertRequested
11298
11308
  NavigationRequestNetworkError
11299
- MaxNumOfRunningPrerendersExceeded
11300
11309
  CancelAllHostsForTesting
11301
11310
  DidFailLoad
11302
11311
  Stop
@@ -11341,6 +11350,9 @@ experimental domain Preload
11341
11350
  ResourceLoadBlockedByClient
11342
11351
  SpeculationRuleRemoved
11343
11352
  ActivatedWithAuxiliaryBrowsingContexts
11353
+ MaxNumOfRunningEagerPrerendersExceeded
11354
+ MaxNumOfRunningNonEagerPrerendersExceeded
11355
+ MaxNumOfRunningEmbedderPrerendersExceeded
11344
11356
 
11345
11357
  # Fired when a prerender attempt is completed.
11346
11358
  event prerenderAttemptCompleted
@@ -1066,6 +1066,7 @@ domain Runtime
1066
1066
  arraybuffer
1067
1067
  node
1068
1068
  window
1069
+ generator
1069
1070
  optional any value
1070
1071
  optional string objectId
1071
1072
  # Set if value reference met more then once during serialization. In such
@@ -1796,6 +1796,13 @@ export namespace ProtocolMapping {
1796
1796
  paramsType: [Protocol.CSS.SetEffectivePropertyValueForNodeRequest];
1797
1797
  returnType: void;
1798
1798
  };
1799
+ /**
1800
+ * Modifies the property rule property name.
1801
+ */
1802
+ 'CSS.setPropertyRulePropertyName': {
1803
+ paramsType: [Protocol.CSS.SetPropertyRulePropertyNameRequest];
1804
+ returnType: Protocol.CSS.SetPropertyRulePropertyNameResponse;
1805
+ };
1799
1806
  /**
1800
1807
  * Modifies the keyframe rule key text.
1801
1808
  */
@@ -1063,6 +1063,11 @@ export namespace ProtocolProxyApi {
1063
1063
  */
1064
1064
  setEffectivePropertyValueForNode(params: Protocol.CSS.SetEffectivePropertyValueForNodeRequest): Promise<void>;
1065
1065
 
1066
+ /**
1067
+ * Modifies the property rule property name.
1068
+ */
1069
+ setPropertyRulePropertyName(params: Protocol.CSS.SetPropertyRulePropertyNameRequest): Promise<Protocol.CSS.SetPropertyRulePropertyNameResponse>;
1070
+
1066
1071
  /**
1067
1072
  * Modifies the keyframe rule key text.
1068
1073
  */
@@ -1541,6 +1541,7 @@ export namespace Protocol {
1541
1541
  Arraybuffer = 'arraybuffer',
1542
1542
  Node = 'node',
1543
1543
  Window = 'window',
1544
+ Generator = 'generator',
1544
1545
  }
1545
1546
 
1546
1547
  /**
@@ -1550,7 +1551,7 @@ export namespace Protocol {
1550
1551
  /**
1551
1552
  * (DeepSerializedValueType enum)
1552
1553
  */
1553
- type: ('undefined' | 'null' | 'string' | 'number' | 'boolean' | 'bigint' | 'regexp' | 'date' | 'symbol' | 'array' | 'object' | 'function' | 'map' | 'set' | 'weakmap' | 'weakset' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'node' | 'window');
1554
+ type: ('undefined' | 'null' | 'string' | 'number' | 'boolean' | 'bigint' | 'regexp' | 'date' | 'symbol' | 'array' | 'object' | 'function' | 'map' | 'set' | 'weakmap' | 'weakset' | 'error' | 'proxy' | 'promise' | 'typedarray' | 'arraybuffer' | 'node' | 'window' | 'generator');
1554
1555
  value?: any;
1555
1556
  objectId?: string;
1556
1557
  /**
@@ -5323,6 +5324,19 @@ export namespace Protocol {
5323
5324
  value: string;
5324
5325
  }
5325
5326
 
5327
+ export interface SetPropertyRulePropertyNameRequest {
5328
+ styleSheetId: StyleSheetId;
5329
+ range: SourceRange;
5330
+ propertyName: string;
5331
+ }
5332
+
5333
+ export interface SetPropertyRulePropertyNameResponse {
5334
+ /**
5335
+ * The resulting key text after modification.
5336
+ */
5337
+ propertyName: Value;
5338
+ }
5339
+
5326
5340
  export interface SetKeyframeKeyRequest {
5327
5341
  styleSheetId: StyleSheetId;
5328
5342
  range: SourceRange;
@@ -17505,7 +17519,7 @@ export namespace Protocol {
17505
17519
  /**
17506
17520
  * List of FinalStatus reasons for Prerender2.
17507
17521
  */
17508
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'MaxNumOfRunningPrerendersExceeded' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'ResourceLoadBlockedByClient' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts');
17522
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'ResourceLoadBlockedByClient' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded');
17509
17523
 
17510
17524
  /**
17511
17525
  * Preloading status values, see also PreloadingTriggeringOutcome. This