devtools-protocol 0.0.1220723 → 0.0.1224083

Sign up to get free protection for your applications and to get access to all the features.
@@ -4057,6 +4057,34 @@
4057
4057
  }
4058
4058
  ]
4059
4059
  },
4060
+ {
4061
+ "id": "CSSFontPaletteValuesRule",
4062
+ "description": "CSS font-palette-values rule representation.",
4063
+ "type": "object",
4064
+ "properties": [
4065
+ {
4066
+ "name": "styleSheetId",
4067
+ "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
4068
+ "optional": true,
4069
+ "$ref": "StyleSheetId"
4070
+ },
4071
+ {
4072
+ "name": "origin",
4073
+ "description": "Parent stylesheet's origin.",
4074
+ "$ref": "StyleSheetOrigin"
4075
+ },
4076
+ {
4077
+ "name": "fontPaletteName",
4078
+ "description": "Associated font palette name.",
4079
+ "$ref": "Value"
4080
+ },
4081
+ {
4082
+ "name": "style",
4083
+ "description": "Associated style declaration.",
4084
+ "$ref": "CSSStyle"
4085
+ }
4086
+ ]
4087
+ },
4060
4088
  {
4061
4089
  "id": "CSSPropertyRule",
4062
4090
  "description": "CSS property at-rule representation.",
@@ -4401,6 +4429,12 @@
4401
4429
  "$ref": "CSSPropertyRegistration"
4402
4430
  }
4403
4431
  },
4432
+ {
4433
+ "name": "cssFontPaletteValuesRule",
4434
+ "description": "A font-palette-values rule matching this node.",
4435
+ "optional": true,
4436
+ "$ref": "CSSFontPaletteValuesRule"
4437
+ },
4404
4438
  {
4405
4439
  "name": "parentLayoutNodeId",
4406
4440
  "description": "Id of the first parent element that does not have display: contents.",
@@ -24551,7 +24585,7 @@
24551
24585
  },
24552
24586
  {
24553
24587
  "id": "DialogType",
24554
- "description": "Whether the dialog shown is an account chooser or an auto re-authentication dialog.",
24588
+ "description": "The types of FedCM dialogs.",
24555
24589
  "type": "string",
24556
24590
  "enum": [
24557
24591
  "AccountChooser",
@@ -24559,6 +24593,14 @@
24559
24593
  "ConfirmIdpLogin"
24560
24594
  ]
24561
24595
  },
24596
+ {
24597
+ "id": "DialogButton",
24598
+ "description": "The buttons on the FedCM dialog.",
24599
+ "type": "string",
24600
+ "enum": [
24601
+ "ConfirmIdpLoginContinue"
24602
+ ]
24603
+ },
24562
24604
  {
24563
24605
  "id": "Account",
24564
24606
  "description": "Corresponds to IdentityRequestAccount",
@@ -24671,12 +24713,15 @@
24671
24713
  ]
24672
24714
  },
24673
24715
  {
24674
- "name": "confirmIdpLogin",
24675
- "description": "Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had\nclicked the continue button.",
24716
+ "name": "clickDialogButton",
24676
24717
  "parameters": [
24677
24718
  {
24678
24719
  "name": "dialogId",
24679
24720
  "type": "string"
24721
+ },
24722
+ {
24723
+ "name": "dialogButton",
24724
+ "$ref": "DialogButton"
24680
24725
  }
24681
24726
  ]
24682
24727
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1220723",
3
+ "version": "0.0.1224083",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1926,6 +1926,19 @@ experimental domain CSS
1926
1926
  string syntax
1927
1927
 
1928
1928
 
1929
+ # CSS font-palette-values rule representation.
1930
+ type CSSFontPaletteValuesRule extends object
1931
+ properties
1932
+ # The css style sheet identifier (absent for user agent stylesheet and user-specified
1933
+ # stylesheet rules) this rule came from.
1934
+ optional StyleSheetId styleSheetId
1935
+ # Parent stylesheet's origin.
1936
+ StyleSheetOrigin origin
1937
+ # Associated font palette name.
1938
+ Value fontPaletteName
1939
+ # Associated style declaration.
1940
+ CSSStyle style
1941
+
1929
1942
  # CSS property at-rule representation.
1930
1943
  type CSSPropertyRule extends object
1931
1944
  properties
@@ -2070,6 +2083,8 @@ experimental domain CSS
2070
2083
  optional array of CSSPropertyRule cssPropertyRules
2071
2084
  # A list of CSS property registrations matching this node.
2072
2085
  optional array of CSSPropertyRegistration cssPropertyRegistrations
2086
+ # A font-palette-values rule matching this node.
2087
+ optional CSSFontPaletteValuesRule cssFontPaletteValuesRule
2073
2088
  # Id of the first parent element that does not have display: contents.
2074
2089
  experimental optional DOM.NodeId parentLayoutNodeId
2075
2090
 
@@ -11615,13 +11630,18 @@ experimental domain FedCm
11615
11630
  SignIn
11616
11631
  SignUp
11617
11632
 
11618
- # Whether the dialog shown is an account chooser or an auto re-authentication dialog.
11633
+ # The types of FedCM dialogs.
11619
11634
  type DialogType extends string
11620
11635
  enum
11621
11636
  AccountChooser
11622
11637
  AutoReauthn
11623
11638
  ConfirmIdpLogin
11624
11639
 
11640
+ # The buttons on the FedCM dialog.
11641
+ type DialogButton extends string
11642
+ enum
11643
+ ConfirmIdpLoginContinue
11644
+
11625
11645
  # Corresponds to IdentityRequestAccount
11626
11646
  type Account extends object
11627
11647
  properties
@@ -11661,11 +11681,10 @@ experimental domain FedCm
11661
11681
  string dialogId
11662
11682
  integer accountIndex
11663
11683
 
11664
- # Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
11665
- # clicked the continue button.
11666
- command confirmIdpLogin
11684
+ command clickDialogButton
11667
11685
  parameters
11668
11686
  string dialogId
11687
+ DialogButton dialogButton
11669
11688
 
11670
11689
  command dismissDialog
11671
11690
  parameters
@@ -4826,12 +4826,8 @@ export namespace ProtocolMapping {
4826
4826
  paramsType: [Protocol.FedCm.SelectAccountRequest];
4827
4827
  returnType: void;
4828
4828
  };
4829
- /**
4830
- * Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
4831
- * clicked the continue button.
4832
- */
4833
- 'FedCm.confirmIdpLogin': {
4834
- paramsType: [Protocol.FedCm.ConfirmIdpLoginRequest];
4829
+ 'FedCm.clickDialogButton': {
4830
+ paramsType: [Protocol.FedCm.ClickDialogButtonRequest];
4835
4831
  returnType: void;
4836
4832
  };
4837
4833
  'FedCm.dismissDialog': {
@@ -4111,11 +4111,7 @@ export namespace ProtocolProxyApi {
4111
4111
 
4112
4112
  selectAccount(params: Protocol.FedCm.SelectAccountRequest): Promise<void>;
4113
4113
 
4114
- /**
4115
- * Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
4116
- * clicked the continue button.
4117
- */
4118
- confirmIdpLogin(params: Protocol.FedCm.ConfirmIdpLoginRequest): Promise<void>;
4114
+ clickDialogButton(params: Protocol.FedCm.ClickDialogButtonRequest): Promise<void>;
4119
4115
 
4120
4116
  dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<void>;
4121
4117
 
@@ -5058,6 +5058,29 @@ export namespace Protocol {
5058
5058
  syntax: string;
5059
5059
  }
5060
5060
 
5061
+ /**
5062
+ * CSS font-palette-values rule representation.
5063
+ */
5064
+ export interface CSSFontPaletteValuesRule {
5065
+ /**
5066
+ * The css style sheet identifier (absent for user agent stylesheet and user-specified
5067
+ * stylesheet rules) this rule came from.
5068
+ */
5069
+ styleSheetId?: StyleSheetId;
5070
+ /**
5071
+ * Parent stylesheet's origin.
5072
+ */
5073
+ origin: StyleSheetOrigin;
5074
+ /**
5075
+ * Associated font palette name.
5076
+ */
5077
+ fontPaletteName: Value;
5078
+ /**
5079
+ * Associated style declaration.
5080
+ */
5081
+ style: CSSStyle;
5082
+ }
5083
+
5061
5084
  /**
5062
5085
  * CSS property at-rule representation.
5063
5086
  */
@@ -5278,6 +5301,10 @@ export namespace Protocol {
5278
5301
  * A list of CSS property registrations matching this node.
5279
5302
  */
5280
5303
  cssPropertyRegistrations?: CSSPropertyRegistration[];
5304
+ /**
5305
+ * A font-palette-values rule matching this node.
5306
+ */
5307
+ cssFontPaletteValuesRule?: CSSFontPaletteValuesRule;
5281
5308
  /**
5282
5309
  * Id of the first parent element that does not have display: contents.
5283
5310
  */
@@ -17735,10 +17762,15 @@ export namespace Protocol {
17735
17762
  export type LoginState = ('SignIn' | 'SignUp');
17736
17763
 
17737
17764
  /**
17738
- * Whether the dialog shown is an account chooser or an auto re-authentication dialog.
17765
+ * The types of FedCM dialogs.
17739
17766
  */
17740
17767
  export type DialogType = ('AccountChooser' | 'AutoReauthn' | 'ConfirmIdpLogin');
17741
17768
 
17769
+ /**
17770
+ * The buttons on the FedCM dialog.
17771
+ */
17772
+ export type DialogButton = ('ConfirmIdpLoginContinue');
17773
+
17742
17774
  /**
17743
17775
  * Corresponds to IdentityRequestAccount
17744
17776
  */
@@ -17772,8 +17804,9 @@ export namespace Protocol {
17772
17804
  accountIndex: integer;
17773
17805
  }
17774
17806
 
17775
- export interface ConfirmIdpLoginRequest {
17807
+ export interface ClickDialogButtonRequest {
17776
17808
  dialogId: string;
17809
+ dialogButton: DialogButton;
17777
17810
  }
17778
17811
 
17779
17812
  export interface DismissDialogRequest {