devtools-protocol 0.0.1219864 → 0.0.1222075

Sign up to get free protection for your applications and to get access to all the features.
@@ -20467,6 +20467,25 @@
20467
20467
  }
20468
20468
  ]
20469
20469
  },
20470
+ {
20471
+ "id": "AttributionReportingTriggerSpec",
20472
+ "experimental": true,
20473
+ "type": "object",
20474
+ "properties": [
20475
+ {
20476
+ "name": "triggerData",
20477
+ "description": "number instead of integer because not all uint32 can be represented by\nint",
20478
+ "type": "array",
20479
+ "items": {
20480
+ "type": "number"
20481
+ }
20482
+ },
20483
+ {
20484
+ "name": "eventReportWindows",
20485
+ "$ref": "AttributionReportingEventReportWindows"
20486
+ }
20487
+ ]
20488
+ },
20470
20489
  {
20471
20490
  "id": "AttributionReportingTriggerDataMatching",
20472
20491
  "experimental": true,
@@ -20491,8 +20510,11 @@
20491
20510
  "type": "integer"
20492
20511
  },
20493
20512
  {
20494
- "name": "eventReportWindows",
20495
- "$ref": "AttributionReportingEventReportWindows"
20513
+ "name": "triggerSpecs",
20514
+ "type": "array",
20515
+ "items": {
20516
+ "$ref": "AttributionReportingTriggerSpec"
20517
+ }
20496
20518
  },
20497
20519
  {
20498
20520
  "name": "aggregatableReportWindow",
@@ -24529,7 +24551,7 @@
24529
24551
  },
24530
24552
  {
24531
24553
  "id": "DialogType",
24532
- "description": "Whether the dialog shown is an account chooser or an auto re-authentication dialog.",
24554
+ "description": "The types of FedCM dialogs.",
24533
24555
  "type": "string",
24534
24556
  "enum": [
24535
24557
  "AccountChooser",
@@ -24537,6 +24559,14 @@
24537
24559
  "ConfirmIdpLogin"
24538
24560
  ]
24539
24561
  },
24562
+ {
24563
+ "id": "DialogButton",
24564
+ "description": "The buttons on the FedCM dialog.",
24565
+ "type": "string",
24566
+ "enum": [
24567
+ "ConfirmIdpLoginContinue"
24568
+ ]
24569
+ },
24540
24570
  {
24541
24571
  "id": "Account",
24542
24572
  "description": "Corresponds to IdentityRequestAccount",
@@ -24649,12 +24679,15 @@
24649
24679
  ]
24650
24680
  },
24651
24681
  {
24652
- "name": "confirmIdpLogin",
24653
- "description": "Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had\nclicked the continue button.",
24682
+ "name": "clickDialogButton",
24654
24683
  "parameters": [
24655
24684
  {
24656
24685
  "name": "dialogId",
24657
24686
  "type": "string"
24687
+ },
24688
+ {
24689
+ "name": "dialogButton",
24690
+ "$ref": "DialogButton"
24658
24691
  }
24659
24692
  ]
24660
24693
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1219864",
3
+ "version": "0.0.1222075",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -9931,6 +9931,13 @@ experimental domain Storage
9931
9931
  # duration in seconds
9932
9932
  array of integer ends
9933
9933
 
9934
+ experimental type AttributionReportingTriggerSpec extends object
9935
+ properties
9936
+ # number instead of integer because not all uint32 can be represented by
9937
+ # int
9938
+ array of number triggerData
9939
+ AttributionReportingEventReportWindows eventReportWindows
9940
+
9934
9941
  experimental type AttributionReportingTriggerDataMatching extends string
9935
9942
  enum
9936
9943
  exact
@@ -9941,7 +9948,7 @@ experimental domain Storage
9941
9948
  Network.TimeSinceEpoch time
9942
9949
  # duration in seconds
9943
9950
  integer expiry
9944
- AttributionReportingEventReportWindows eventReportWindows
9951
+ array of AttributionReportingTriggerSpec triggerSpecs
9945
9952
  # duration in seconds
9946
9953
  integer aggregatableReportWindow
9947
9954
  AttributionReportingSourceType type
@@ -11608,13 +11615,18 @@ experimental domain FedCm
11608
11615
  SignIn
11609
11616
  SignUp
11610
11617
 
11611
- # Whether the dialog shown is an account chooser or an auto re-authentication dialog.
11618
+ # The types of FedCM dialogs.
11612
11619
  type DialogType extends string
11613
11620
  enum
11614
11621
  AccountChooser
11615
11622
  AutoReauthn
11616
11623
  ConfirmIdpLogin
11617
11624
 
11625
+ # The buttons on the FedCM dialog.
11626
+ type DialogButton extends string
11627
+ enum
11628
+ ConfirmIdpLoginContinue
11629
+
11618
11630
  # Corresponds to IdentityRequestAccount
11619
11631
  type Account extends object
11620
11632
  properties
@@ -11654,11 +11666,10 @@ experimental domain FedCm
11654
11666
  string dialogId
11655
11667
  integer accountIndex
11656
11668
 
11657
- # Only valid if the dialog type is ConfirmIdpLogin. Acts as if the user had
11658
- # clicked the continue button.
11659
- command confirmIdpLogin
11669
+ command clickDialogButton
11660
11670
  parameters
11661
11671
  string dialogId
11672
+ DialogButton dialogButton
11662
11673
 
11663
11674
  command dismissDialog
11664
11675
  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
 
@@ -15305,6 +15305,15 @@ export namespace Protocol {
15305
15305
  ends: integer[];
15306
15306
  }
15307
15307
 
15308
+ export interface AttributionReportingTriggerSpec {
15309
+ /**
15310
+ * number instead of integer because not all uint32 can be represented by
15311
+ * int
15312
+ */
15313
+ triggerData: number[];
15314
+ eventReportWindows: AttributionReportingEventReportWindows;
15315
+ }
15316
+
15308
15317
  export type AttributionReportingTriggerDataMatching = ('exact' | 'modulus');
15309
15318
 
15310
15319
  export interface AttributionReportingSourceRegistration {
@@ -15313,7 +15322,7 @@ export namespace Protocol {
15313
15322
  * duration in seconds
15314
15323
  */
15315
15324
  expiry: integer;
15316
- eventReportWindows: AttributionReportingEventReportWindows;
15325
+ triggerSpecs: AttributionReportingTriggerSpec[];
15317
15326
  /**
15318
15327
  * duration in seconds
15319
15328
  */
@@ -17726,10 +17735,15 @@ export namespace Protocol {
17726
17735
  export type LoginState = ('SignIn' | 'SignUp');
17727
17736
 
17728
17737
  /**
17729
- * Whether the dialog shown is an account chooser or an auto re-authentication dialog.
17738
+ * The types of FedCM dialogs.
17730
17739
  */
17731
17740
  export type DialogType = ('AccountChooser' | 'AutoReauthn' | 'ConfirmIdpLogin');
17732
17741
 
17742
+ /**
17743
+ * The buttons on the FedCM dialog.
17744
+ */
17745
+ export type DialogButton = ('ConfirmIdpLoginContinue');
17746
+
17733
17747
  /**
17734
17748
  * Corresponds to IdentityRequestAccount
17735
17749
  */
@@ -17763,8 +17777,9 @@ export namespace Protocol {
17763
17777
  accountIndex: integer;
17764
17778
  }
17765
17779
 
17766
- export interface ConfirmIdpLoginRequest {
17780
+ export interface ClickDialogButtonRequest {
17767
17781
  dialogId: string;
17782
+ dialogButton: DialogButton;
17768
17783
  }
17769
17784
 
17770
17785
  export interface DismissDialogRequest {