devtools-protocol 0.0.1218079 → 0.0.1220723

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.
@@ -1647,6 +1647,8 @@
1647
1647
  "IdTokenHttpNotFound",
1648
1648
  "IdTokenNoResponse",
1649
1649
  "IdTokenInvalidResponse",
1650
+ "IdTokenIdpErrorResponse",
1651
+ "IdTokenCrossSiteIdpErrorResponse",
1650
1652
  "IdTokenInvalidRequest",
1651
1653
  "IdTokenInvalidContentType",
1652
1654
  "ErrorIdToken",
@@ -2517,7 +2519,7 @@
2517
2519
  },
2518
2520
  {
2519
2521
  "id": "PermissionDescriptor",
2520
- "description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dictdef-permissiondescriptor.",
2522
+ "description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dom-permissiondescriptor.",
2521
2523
  "experimental": true,
2522
2524
  "type": "object",
2523
2525
  "properties": [
@@ -16263,6 +16265,7 @@
16263
16265
  "unload",
16264
16266
  "usb",
16265
16267
  "vertical-scroll",
16268
+ "web-printing",
16266
16269
  "web-share",
16267
16270
  "window-management",
16268
16271
  "window-placement",
@@ -20464,6 +20467,25 @@
20464
20467
  }
20465
20468
  ]
20466
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
+ },
20467
20489
  {
20468
20490
  "id": "AttributionReportingTriggerDataMatching",
20469
20491
  "experimental": true,
@@ -20488,8 +20510,11 @@
20488
20510
  "type": "integer"
20489
20511
  },
20490
20512
  {
20491
- "name": "eventReportWindows",
20492
- "$ref": "AttributionReportingEventReportWindows"
20513
+ "name": "triggerSpecs",
20514
+ "type": "array",
20515
+ "items": {
20516
+ "$ref": "AttributionReportingTriggerSpec"
20517
+ }
20493
20518
  },
20494
20519
  {
20495
20520
  "name": "aggregatableReportWindow",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1218079",
3
+ "version": "0.0.1220723",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -827,6 +827,8 @@ experimental domain Audits
827
827
  IdTokenHttpNotFound
828
828
  IdTokenNoResponse
829
829
  IdTokenInvalidResponse
830
+ IdTokenIdpErrorResponse
831
+ IdTokenCrossSiteIdpErrorResponse
830
832
  IdTokenInvalidRequest
831
833
  IdTokenInvalidContentType
832
834
  ErrorIdToken
@@ -1249,7 +1251,7 @@ domain Browser
1249
1251
  prompt
1250
1252
 
1251
1253
  # Definition of PermissionDescriptor defined in the Permissions API:
1252
- # https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
1254
+ # https://w3c.github.io/permissions/#dom-permissiondescriptor.
1253
1255
  experimental type PermissionDescriptor extends object
1254
1256
  properties
1255
1257
  # Name of permission.
@@ -7627,6 +7629,7 @@ domain Page
7627
7629
  unload
7628
7630
  usb
7629
7631
  vertical-scroll
7632
+ web-printing
7630
7633
  web-share
7631
7634
  # Alias for 'window-placement' (crbug.com/1328581).
7632
7635
  window-management
@@ -9928,6 +9931,13 @@ experimental domain Storage
9928
9931
  # duration in seconds
9929
9932
  array of integer ends
9930
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
+
9931
9941
  experimental type AttributionReportingTriggerDataMatching extends string
9932
9942
  enum
9933
9943
  exact
@@ -9938,7 +9948,7 @@ experimental domain Storage
9938
9948
  Network.TimeSinceEpoch time
9939
9949
  # duration in seconds
9940
9950
  integer expiry
9941
- AttributionReportingEventReportWindows eventReportWindows
9951
+ array of AttributionReportingTriggerSpec triggerSpecs
9942
9952
  # duration in seconds
9943
9953
  integer aggregatableReportWindow
9944
9954
  AttributionReportingSourceType type
@@ -3519,7 +3519,7 @@ export namespace Protocol {
3519
3519
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
3520
3520
  * all cases except for success.
3521
3521
  */
3522
- export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp');
3522
+ export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp');
3523
3523
 
3524
3524
  export interface FederatedAuthUserInfoRequestIssueDetails {
3525
3525
  federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
@@ -3975,7 +3975,7 @@ export namespace Protocol {
3975
3975
 
3976
3976
  /**
3977
3977
  * Definition of PermissionDescriptor defined in the Permissions API:
3978
- * https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
3978
+ * https://w3c.github.io/permissions/#dom-permissiondescriptor.
3979
3979
  */
3980
3980
  export interface PermissionDescriptor {
3981
3981
  /**
@@ -12860,7 +12860,7 @@ export namespace Protocol {
12860
12860
  * All Permissions Policy features. This enum should match the one defined
12861
12861
  * in third_party/blink/renderer/core/permissions_policy/permissions_policy_features.json5.
12862
12862
  */
12863
- export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12863
+ export type PermissionsPolicyFeature = ('accelerometer' | 'ambient-light-sensor' | 'attribution-reporting' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factor' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'cross-origin-isolated' | 'direct-sockets' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'join-ad-interest-group' | 'keyboard-map' | 'local-fonts' | 'magnetometer' | 'microphone' | 'midi' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-aggregation' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-get' | 'run-ad-auction' | 'screen-wake-lock' | 'serial' | 'shared-autofill' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'storage-access' | 'sync-xhr' | 'unload' | 'usb' | 'vertical-scroll' | 'web-printing' | 'web-share' | 'window-management' | 'window-placement' | 'xr-spatial-tracking');
12864
12864
 
12865
12865
  /**
12866
12866
  * Reason for a permissions policy feature to be disabled.
@@ -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
  */