devtools-protocol 0.0.1195796 → 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
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1195796",
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
@@ -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
  */
@@ -5324,6 +5324,19 @@ export namespace Protocol {
5324
5324
  value: string;
5325
5325
  }
5326
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
+
5327
5340
  export interface SetKeyframeKeyRequest {
5328
5341
  styleSheetId: StyleSheetId;
5329
5342
  range: SourceRange;
@@ -17506,7 +17519,7 @@ export namespace Protocol {
17506
17519
  /**
17507
17520
  * List of FinalStatus reasons for Prerender2.
17508
17521
  */
17509
- 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');
17510
17523
 
17511
17524
  /**
17512
17525
  * Preloading status values, see also PreloadingTriggeringOutcome. This