devtools-protocol 0.0.1116775 → 0.0.1119769

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.
@@ -2894,6 +2894,16 @@
2894
2894
  "description": "Rule selector data.",
2895
2895
  "$ref": "SelectorList"
2896
2896
  },
2897
+ {
2898
+ "name": "nestingSelectors",
2899
+ "description": "Array of selectors from ancestor style rules, sorted by distance from the current rule.",
2900
+ "experimental": true,
2901
+ "optional": true,
2902
+ "type": "array",
2903
+ "items": {
2904
+ "type": "string"
2905
+ }
2906
+ },
2897
2907
  {
2898
2908
  "name": "origin",
2899
2909
  "description": "Parent stylesheet's origin.",
@@ -22903,11 +22913,10 @@
22903
22913
  "InactivePageRestriction",
22904
22914
  "StartFailed",
22905
22915
  "TimeoutBackgrounded",
22906
- "CrossSiteRedirect",
22907
- "CrossSiteNavigation",
22908
- "SameSiteCrossOriginRedirect",
22909
- "SameSiteCrossOriginRedirectNotOptIn",
22910
- "SameSiteCrossOriginNavigationNotOptIn",
22916
+ "CrossSiteRedirectInInitialNavigation",
22917
+ "CrossSiteNavigationInInitialNavigation",
22918
+ "SameSiteCrossOriginRedirectNotOptInInInitialNavigation",
22919
+ "SameSiteCrossOriginNavigationNotOptInInInitialNavigation",
22911
22920
  "ActivationNavigationParameterMismatch",
22912
22921
  "ActivatedInBackground",
22913
22922
  "EmbedderHostDisallowed",
@@ -22920,7 +22929,11 @@
22920
22929
  "PreloadingDisabled",
22921
22930
  "BatterySaverEnabled",
22922
22931
  "ActivatedDuringMainFrameNavigation",
22923
- "PreloadingUnsupportedByWebContents"
22932
+ "PreloadingUnsupportedByWebContents",
22933
+ "CrossSiteRedirectInMainFrameNavigation",
22934
+ "CrossSiteNavigationInMainFrameNavigation",
22935
+ "SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation",
22936
+ "SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation"
22924
22937
  ]
22925
22938
  },
22926
22939
  {
@@ -23128,7 +23141,15 @@
23128
23141
  ],
23129
23142
  "commands": [
23130
23143
  {
23131
- "name": "enable"
23144
+ "name": "enable",
23145
+ "parameters": [
23146
+ {
23147
+ "name": "disableRejectionDelay",
23148
+ "description": "Allows callers to disable the promise rejection delay that would\nnormally happen, if this is unimportant to what's being tested.\n(step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)",
23149
+ "optional": true,
23150
+ "type": "boolean"
23151
+ }
23152
+ ]
23132
23153
  },
23133
23154
  {
23134
23155
  "name": "disable"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1116775",
3
+ "version": "0.0.1119769",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1409,6 +1409,8 @@ experimental domain CSS
1409
1409
  optional StyleSheetId styleSheetId
1410
1410
  # Rule selector data.
1411
1411
  SelectorList selectorList
1412
+ # Array of selectors from ancestor style rules, sorted by distance from the current rule.
1413
+ experimental optional array of string nestingSelectors
1412
1414
  # Parent stylesheet's origin.
1413
1415
  StyleSheetOrigin origin
1414
1416
  # Associated style declaration.
@@ -10840,11 +10842,10 @@ experimental domain Preload
10840
10842
  InactivePageRestriction
10841
10843
  StartFailed
10842
10844
  TimeoutBackgrounded
10843
- CrossSiteRedirect
10844
- CrossSiteNavigation
10845
- SameSiteCrossOriginRedirect
10846
- SameSiteCrossOriginRedirectNotOptIn
10847
- SameSiteCrossOriginNavigationNotOptIn
10845
+ CrossSiteRedirectInInitialNavigation
10846
+ CrossSiteNavigationInInitialNavigation
10847
+ SameSiteCrossOriginRedirectNotOptInInInitialNavigation
10848
+ SameSiteCrossOriginNavigationNotOptInInInitialNavigation
10848
10849
  ActivationNavigationParameterMismatch
10849
10850
  ActivatedInBackground
10850
10851
  EmbedderHostDisallowed
@@ -10858,6 +10859,10 @@ experimental domain Preload
10858
10859
  BatterySaverEnabled
10859
10860
  ActivatedDuringMainFrameNavigation
10860
10861
  PreloadingUnsupportedByWebContents
10862
+ CrossSiteRedirectInMainFrameNavigation
10863
+ CrossSiteNavigationInMainFrameNavigation
10864
+ SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation
10865
+ SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation
10861
10866
 
10862
10867
  # Fired when a prerender attempt is completed.
10863
10868
  event prerenderAttemptCompleted
@@ -10933,6 +10938,12 @@ experimental domain FedCm
10933
10938
  array of Account accounts
10934
10939
 
10935
10940
  command enable
10941
+ parameters
10942
+ # Allows callers to disable the promise rejection delay that would
10943
+ # normally happen, if this is unimportant to what's being tested.
10944
+ # (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
10945
+ optional boolean disableRejectionDelay
10946
+
10936
10947
  command disable
10937
10948
 
10938
10949
  command selectAccount
@@ -4651,7 +4651,7 @@ export namespace ProtocolMapping {
4651
4651
  returnType: void;
4652
4652
  };
4653
4653
  'FedCm.enable': {
4654
- paramsType: [];
4654
+ paramsType: [Protocol.FedCm.EnableRequest?];
4655
4655
  returnType: void;
4656
4656
  };
4657
4657
  'FedCm.disable': {
@@ -3970,7 +3970,7 @@ export namespace ProtocolProxyApi {
3970
3970
  }
3971
3971
 
3972
3972
  export interface FedCmApi {
3973
- enable(): Promise<void>;
3973
+ enable(params: Protocol.FedCm.EnableRequest): Promise<void>;
3974
3974
 
3975
3975
  disable(): Promise<void>;
3976
3976
 
@@ -4254,6 +4254,10 @@ export namespace Protocol {
4254
4254
  * Rule selector data.
4255
4255
  */
4256
4256
  selectorList: SelectorList;
4257
+ /**
4258
+ * Array of selectors from ancestor style rules, sorted by distance from the current rule.
4259
+ */
4260
+ nestingSelectors?: string[];
4257
4261
  /**
4258
4262
  * Parent stylesheet's origin.
4259
4263
  */
@@ -16928,7 +16932,7 @@ export namespace Protocol {
16928
16932
  /**
16929
16933
  * List of FinalStatus reasons for Prerender2.
16930
16934
  */
16931
- 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' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | 'DataSaverEnabled' | 'HasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirect' | 'CrossSiteNavigation' | 'SameSiteCrossOriginRedirect' | 'SameSiteCrossOriginRedirectNotOptIn' | 'SameSiteCrossOriginNavigationNotOptIn' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents');
16935
+ 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' | 'EmbedderTriggeredAndCrossOriginRedirected' | 'MemoryLimitExceeded' | 'FailToGetMemoryUsage' | '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');
16932
16936
 
16933
16937
  /**
16934
16938
  * Preloading status values, see also PreloadingTriggeringOutcome. This
@@ -17026,6 +17030,15 @@ export namespace Protocol {
17026
17030
  privacyPolicyUrl?: string;
17027
17031
  }
17028
17032
 
17033
+ export interface EnableRequest {
17034
+ /**
17035
+ * Allows callers to disable the promise rejection delay that would
17036
+ * normally happen, if this is unimportant to what's being tested.
17037
+ * (step 4 of https://fedidcg.github.io/FedCM/#browser-api-rp-sign-in)
17038
+ */
17039
+ disableRejectionDelay?: boolean;
17040
+ }
17041
+
17029
17042
  export interface SelectAccountRequest {
17030
17043
  dialogId: string;
17031
17044
  accountIndex: integer;