devtools-protocol 0.0.1181874 → 0.0.1188167

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.
@@ -2084,6 +2084,14 @@
2084
2084
  }
2085
2085
  }
2086
2086
  ]
2087
+ },
2088
+ {
2089
+ "name": "disable",
2090
+ "description": "Disables autofill domain notifications."
2091
+ },
2092
+ {
2093
+ "name": "enable",
2094
+ "description": "Enables autofill domain notifications."
2087
2095
  }
2088
2096
  ]
2089
2097
  },
@@ -3867,6 +3875,58 @@
3867
3875
  }
3868
3876
  ]
3869
3877
  },
3878
+ {
3879
+ "id": "CSSPropertyRegistration",
3880
+ "description": "Representation of a custom property registration through CSS.registerProperty",
3881
+ "type": "object",
3882
+ "properties": [
3883
+ {
3884
+ "name": "propertyName",
3885
+ "type": "string"
3886
+ },
3887
+ {
3888
+ "name": "initialValue",
3889
+ "optional": true,
3890
+ "$ref": "Value"
3891
+ },
3892
+ {
3893
+ "name": "inherits",
3894
+ "type": "boolean"
3895
+ },
3896
+ {
3897
+ "name": "syntax",
3898
+ "type": "string"
3899
+ }
3900
+ ]
3901
+ },
3902
+ {
3903
+ "id": "CSSPropertyRule",
3904
+ "description": "CSS property at-rule representation.",
3905
+ "type": "object",
3906
+ "properties": [
3907
+ {
3908
+ "name": "styleSheetId",
3909
+ "description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
3910
+ "optional": true,
3911
+ "$ref": "StyleSheetId"
3912
+ },
3913
+ {
3914
+ "name": "origin",
3915
+ "description": "Parent stylesheet's origin.",
3916
+ "$ref": "StyleSheetOrigin"
3917
+ },
3918
+ {
3919
+ "name": "propertyName",
3920
+ "description": "Associated property name.",
3921
+ "$ref": "Value"
3922
+ },
3923
+ {
3924
+ "name": "style",
3925
+ "description": "Associated style declaration.",
3926
+ "$ref": "CSSStyle"
3927
+ }
3928
+ ]
3929
+ },
3870
3930
  {
3871
3931
  "id": "CSSKeyframeRule",
3872
3932
  "description": "CSS keyframe rule representation.",
@@ -4165,6 +4225,24 @@
4165
4225
  "$ref": "CSSPositionFallbackRule"
4166
4226
  }
4167
4227
  },
4228
+ {
4229
+ "name": "cssPropertyRules",
4230
+ "description": "A list of CSS at-property rules matching this node.",
4231
+ "optional": true,
4232
+ "type": "array",
4233
+ "items": {
4234
+ "$ref": "CSSPropertyRule"
4235
+ }
4236
+ },
4237
+ {
4238
+ "name": "cssPropertyRegistrations",
4239
+ "description": "A list of CSS property registrations matching this node.",
4240
+ "optional": true,
4241
+ "type": "array",
4242
+ "items": {
4243
+ "$ref": "CSSPropertyRegistration"
4244
+ }
4245
+ },
4168
4246
  {
4169
4247
  "name": "parentLayoutNodeId",
4170
4248
  "description": "Id of the first parent element that does not have display: contents.",
@@ -23989,7 +24067,8 @@
23989
24067
  "type": "string",
23990
24068
  "enum": [
23991
24069
  "AccountChooser",
23992
- "AutoReauthn"
24070
+ "AutoReauthn",
24071
+ "ConfirmIdpSignin"
23993
24072
  ]
23994
24073
  },
23995
24074
  {
@@ -24103,6 +24182,16 @@
24103
24182
  }
24104
24183
  ]
24105
24184
  },
24185
+ {
24186
+ "name": "confirmIdpSignin",
24187
+ "description": "Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had\nclicked the continue button.",
24188
+ "parameters": [
24189
+ {
24190
+ "name": "dialogId",
24191
+ "type": "string"
24192
+ }
24193
+ ]
24194
+ },
24106
24195
  {
24107
24196
  "name": "dismissDialog",
24108
24197
  "parameters": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1181874",
3
+ "version": "0.0.1188167",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1027,6 +1027,11 @@ experimental domain Autofill
1027
1027
  parameters
1028
1028
  array of Address addresses
1029
1029
 
1030
+ # Disables autofill domain notifications.
1031
+ command disable
1032
+
1033
+ # Enables autofill domain notifications.
1034
+ command enable
1030
1035
 
1031
1036
  # Defines events for background web platform features.
1032
1037
  experimental domain BackgroundService
@@ -1830,6 +1835,28 @@ experimental domain CSS
1830
1835
  # List of keyframes.
1831
1836
  array of CSSKeyframeRule keyframes
1832
1837
 
1838
+ # Representation of a custom property registration through CSS.registerProperty
1839
+ type CSSPropertyRegistration extends object
1840
+ properties
1841
+ string propertyName
1842
+ optional Value initialValue
1843
+ boolean inherits
1844
+ string syntax
1845
+
1846
+
1847
+ # CSS property at-rule representation.
1848
+ type CSSPropertyRule extends object
1849
+ properties
1850
+ # The css style sheet identifier (absent for user agent stylesheet and user-specified
1851
+ # stylesheet rules) this rule came from.
1852
+ optional StyleSheetId styleSheetId
1853
+ # Parent stylesheet's origin.
1854
+ StyleSheetOrigin origin
1855
+ # Associated property name.
1856
+ Value propertyName
1857
+ # Associated style declaration.
1858
+ CSSStyle style
1859
+
1833
1860
  # CSS keyframe rule representation.
1834
1861
  type CSSKeyframeRule extends object
1835
1862
  properties
@@ -1957,6 +1984,10 @@ experimental domain CSS
1957
1984
  optional array of CSSKeyframesRule cssKeyframesRules
1958
1985
  # A list of CSS position fallbacks matching this node.
1959
1986
  optional array of CSSPositionFallbackRule cssPositionFallbackRules
1987
+ # A list of CSS at-property rules matching this node.
1988
+ optional array of CSSPropertyRule cssPropertyRules
1989
+ # A list of CSS property registrations matching this node.
1990
+ optional array of CSSPropertyRegistration cssPropertyRegistrations
1960
1991
  # Id of the first parent element that does not have display: contents.
1961
1992
  experimental optional DOM.NodeId parentLayoutNodeId
1962
1993
 
@@ -11372,6 +11403,7 @@ experimental domain FedCm
11372
11403
  enum
11373
11404
  AccountChooser
11374
11405
  AutoReauthn
11406
+ ConfirmIdpSignin
11375
11407
 
11376
11408
  # Corresponds to IdentityRequestAccount
11377
11409
  type Account extends object
@@ -11412,6 +11444,12 @@ experimental domain FedCm
11412
11444
  string dialogId
11413
11445
  integer accountIndex
11414
11446
 
11447
+ # Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had
11448
+ # clicked the continue button.
11449
+ command confirmIdpSignin
11450
+ parameters
11451
+ string dialogId
11452
+
11415
11453
  command dismissDialog
11416
11454
  parameters
11417
11455
  string dialogId
@@ -1492,6 +1492,20 @@ export namespace ProtocolMapping {
1492
1492
  paramsType: [Protocol.Autofill.SetAddressesRequest];
1493
1493
  returnType: void;
1494
1494
  };
1495
+ /**
1496
+ * Disables autofill domain notifications.
1497
+ */
1498
+ 'Autofill.disable': {
1499
+ paramsType: [];
1500
+ returnType: void;
1501
+ };
1502
+ /**
1503
+ * Enables autofill domain notifications.
1504
+ */
1505
+ 'Autofill.enable': {
1506
+ paramsType: [];
1507
+ returnType: void;
1508
+ };
1495
1509
  /**
1496
1510
  * Enables event updates for the service.
1497
1511
  */
@@ -4768,6 +4782,14 @@ export namespace ProtocolMapping {
4768
4782
  paramsType: [Protocol.FedCm.SelectAccountRequest];
4769
4783
  returnType: void;
4770
4784
  };
4785
+ /**
4786
+ * Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had
4787
+ * clicked the continue button.
4788
+ */
4789
+ 'FedCm.confirmIdpSignin': {
4790
+ paramsType: [Protocol.FedCm.ConfirmIdpSigninRequest];
4791
+ returnType: void;
4792
+ };
4771
4793
  'FedCm.dismissDialog': {
4772
4794
  paramsType: [Protocol.FedCm.DismissDialogRequest];
4773
4795
  returnType: void;
@@ -810,6 +810,16 @@ export namespace ProtocolProxyApi {
810
810
  */
811
811
  setAddresses(params: Protocol.Autofill.SetAddressesRequest): Promise<void>;
812
812
 
813
+ /**
814
+ * Disables autofill domain notifications.
815
+ */
816
+ disable(): Promise<void>;
817
+
818
+ /**
819
+ * Enables autofill domain notifications.
820
+ */
821
+ enable(): Promise<void>;
822
+
813
823
  }
814
824
 
815
825
  export interface BackgroundServiceApi {
@@ -4069,6 +4079,12 @@ export namespace ProtocolProxyApi {
4069
4079
 
4070
4080
  selectAccount(params: Protocol.FedCm.SelectAccountRequest): Promise<void>;
4071
4081
 
4082
+ /**
4083
+ * Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had
4084
+ * clicked the continue button.
4085
+ */
4086
+ confirmIdpSignin(params: Protocol.FedCm.ConfirmIdpSigninRequest): Promise<void>;
4087
+
4072
4088
  dismissDialog(params: Protocol.FedCm.DismissDialogRequest): Promise<void>;
4073
4089
 
4074
4090
  /**
@@ -4963,6 +4963,39 @@ export namespace Protocol {
4963
4963
  keyframes: CSSKeyframeRule[];
4964
4964
  }
4965
4965
 
4966
+ /**
4967
+ * Representation of a custom property registration through CSS.registerProperty
4968
+ */
4969
+ export interface CSSPropertyRegistration {
4970
+ propertyName: string;
4971
+ initialValue?: Value;
4972
+ inherits: boolean;
4973
+ syntax: string;
4974
+ }
4975
+
4976
+ /**
4977
+ * CSS property at-rule representation.
4978
+ */
4979
+ export interface CSSPropertyRule {
4980
+ /**
4981
+ * The css style sheet identifier (absent for user agent stylesheet and user-specified
4982
+ * stylesheet rules) this rule came from.
4983
+ */
4984
+ styleSheetId?: StyleSheetId;
4985
+ /**
4986
+ * Parent stylesheet's origin.
4987
+ */
4988
+ origin: StyleSheetOrigin;
4989
+ /**
4990
+ * Associated property name.
4991
+ */
4992
+ propertyName: Value;
4993
+ /**
4994
+ * Associated style declaration.
4995
+ */
4996
+ style: CSSStyle;
4997
+ }
4998
+
4966
4999
  /**
4967
5000
  * CSS keyframe rule representation.
4968
5001
  */
@@ -5152,6 +5185,14 @@ export namespace Protocol {
5152
5185
  * A list of CSS position fallbacks matching this node.
5153
5186
  */
5154
5187
  cssPositionFallbackRules?: CSSPositionFallbackRule[];
5188
+ /**
5189
+ * A list of CSS at-property rules matching this node.
5190
+ */
5191
+ cssPropertyRules?: CSSPropertyRule[];
5192
+ /**
5193
+ * A list of CSS property registrations matching this node.
5194
+ */
5195
+ cssPropertyRegistrations?: CSSPropertyRegistration[];
5155
5196
  /**
5156
5197
  * Id of the first parent element that does not have display: contents.
5157
5198
  */
@@ -17487,7 +17528,7 @@ export namespace Protocol {
17487
17528
  /**
17488
17529
  * Whether the dialog shown is an account chooser or an auto re-authentication dialog.
17489
17530
  */
17490
- export type DialogType = ('AccountChooser' | 'AutoReauthn');
17531
+ export type DialogType = ('AccountChooser' | 'AutoReauthn' | 'ConfirmIdpSignin');
17491
17532
 
17492
17533
  /**
17493
17534
  * Corresponds to IdentityRequestAccount
@@ -17522,6 +17563,10 @@ export namespace Protocol {
17522
17563
  accountIndex: integer;
17523
17564
  }
17524
17565
 
17566
+ export interface ConfirmIdpSigninRequest {
17567
+ dialogId: string;
17568
+ }
17569
+
17525
17570
  export interface DismissDialogRequest {
17526
17571
  dialogId: string;
17527
17572
  triggerCooldown?: boolean;