devtools-protocol 0.0.1347815 → 0.0.1349043

Sign up to get free protection for your applications and to get access to all the features.
@@ -19974,6 +19974,18 @@
19974
19974
  }
19975
19975
  ]
19976
19976
  },
19977
+ {
19978
+ "name": "frameSubtreeWillBeDetached",
19979
+ "description": "Fired before frame subtree is detached. Emitted before any frame of the\nsubtree is actually detached.",
19980
+ "experimental": true,
19981
+ "parameters": [
19982
+ {
19983
+ "name": "frameId",
19984
+ "description": "Id of the frame that is the root of the subtree that will be detached.",
19985
+ "$ref": "FrameId"
19986
+ }
19987
+ ]
19988
+ },
19977
19989
  {
19978
19990
  "name": "frameNavigated",
19979
19991
  "description": "Fired once navigation of the frame has completed. Frame is now associated with the new loader.",
@@ -21884,6 +21896,29 @@
21884
21896
  }
21885
21897
  ]
21886
21898
  },
21899
+ {
21900
+ "id": "AttributionScopesData",
21901
+ "experimental": true,
21902
+ "type": "object",
21903
+ "properties": [
21904
+ {
21905
+ "name": "values",
21906
+ "type": "array",
21907
+ "items": {
21908
+ "type": "string"
21909
+ }
21910
+ },
21911
+ {
21912
+ "name": "limit",
21913
+ "description": "number instead of integer because not all uint32 can be represented by\nint",
21914
+ "type": "number"
21915
+ },
21916
+ {
21917
+ "name": "maxEventStates",
21918
+ "type": "number"
21919
+ }
21920
+ ]
21921
+ },
21887
21922
  {
21888
21923
  "id": "AttributionReportingSourceRegistration",
21889
21924
  "experimental": true,
@@ -21967,6 +22002,11 @@
21967
22002
  {
21968
22003
  "name": "aggregatableDebugReportingConfig",
21969
22004
  "$ref": "AttributionReportingAggregatableDebugReportingConfig"
22005
+ },
22006
+ {
22007
+ "name": "scopesData",
22008
+ "optional": true,
22009
+ "$ref": "AttributionScopesData"
21970
22010
  }
21971
22011
  ]
21972
22012
  },
@@ -22169,6 +22209,13 @@
22169
22209
  {
22170
22210
  "name": "aggregatableDebugReportingConfig",
22171
22211
  "$ref": "AttributionReportingAggregatableDebugReportingConfig"
22212
+ },
22213
+ {
22214
+ "name": "scopes",
22215
+ "type": "array",
22216
+ "items": {
22217
+ "type": "string"
22218
+ }
22172
22219
  }
22173
22220
  ]
22174
22221
  },
@@ -26217,7 +26264,6 @@
26217
26264
  "PrefetchFailedMIMENotSupported",
26218
26265
  "PrefetchFailedNetError",
26219
26266
  "PrefetchFailedNon2XX",
26220
- "PrefetchFailedPerPageLimitExceeded",
26221
26267
  "PrefetchEvictedAfterCandidateRemoved",
26222
26268
  "PrefetchEvictedForNewerPrefetch",
26223
26269
  "PrefetchHeldback",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1347815",
3
+ "version": "0.0.1349043",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -9220,6 +9220,13 @@ domain Page
9220
9220
  # A new frame target will be created (see Target.attachedToTarget).
9221
9221
  swap
9222
9222
 
9223
+ # Fired before frame subtree is detached. Emitted before any frame of the
9224
+ # subtree is actually detached.
9225
+ experimental event frameSubtreeWillBeDetached
9226
+ parameters
9227
+ # Id of the frame that is the root of the subtree that will be detached.
9228
+ FrameId frameId
9229
+
9223
9230
  # The type of a frameNavigated event.
9224
9231
  experimental type NavigationType extends string
9225
9232
  enum
@@ -10661,6 +10668,14 @@ experimental domain Storage
10661
10668
  array of AttributionReportingAggregatableDebugReportingData debugData
10662
10669
  optional string aggregationCoordinatorOrigin
10663
10670
 
10671
+ experimental type AttributionScopesData extends object
10672
+ properties
10673
+ array of string values
10674
+ # number instead of integer because not all uint32 can be represented by
10675
+ # int
10676
+ number limit
10677
+ number maxEventStates
10678
+
10664
10679
  experimental type AttributionReportingSourceRegistration extends object
10665
10680
  properties
10666
10681
  Network.TimeSinceEpoch time
@@ -10681,6 +10696,7 @@ experimental domain Storage
10681
10696
  AttributionReportingTriggerDataMatching triggerDataMatching
10682
10697
  SignedInt64AsBase10 destinationLimitPriority
10683
10698
  AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
10699
+ optional AttributionScopesData scopesData
10684
10700
 
10685
10701
  experimental type AttributionReportingSourceRegistrationResult extends string
10686
10702
  enum
@@ -10757,6 +10773,7 @@ experimental domain Storage
10757
10773
  AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
10758
10774
  optional string triggerContextId
10759
10775
  AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
10776
+ array of string scopes
10760
10777
 
10761
10778
  experimental type AttributionReportingEventLevelResult extends string
10762
10779
  enum
@@ -12408,7 +12425,6 @@ experimental domain Preload
12408
12425
  PrefetchFailedMIMENotSupported
12409
12426
  PrefetchFailedNetError
12410
12427
  PrefetchFailedNon2XX
12411
- PrefetchFailedPerPageLimitExceeded
12412
12428
  PrefetchEvictedAfterCandidateRemoved
12413
12429
  PrefetchEvictedForNewerPrefetch
12414
12430
  PrefetchHeldback
@@ -435,6 +435,11 @@ export namespace ProtocolMapping {
435
435
  * Fired when frame has been detached from its parent.
436
436
  */
437
437
  'Page.frameDetached': [Protocol.Page.FrameDetachedEvent];
438
+ /**
439
+ * Fired before frame subtree is detached. Emitted before any frame of the
440
+ * subtree is actually detached.
441
+ */
442
+ 'Page.frameSubtreeWillBeDetached': [Protocol.Page.FrameSubtreeWillBeDetachedEvent];
438
443
  /**
439
444
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
440
445
  */
@@ -3215,6 +3215,12 @@ export namespace ProtocolProxyApi {
3215
3215
  */
3216
3216
  on(event: 'frameDetached', listener: (params: Protocol.Page.FrameDetachedEvent) => void): void;
3217
3217
 
3218
+ /**
3219
+ * Fired before frame subtree is detached. Emitted before any frame of the
3220
+ * subtree is actually detached.
3221
+ */
3222
+ on(event: 'frameSubtreeWillBeDetached', listener: (params: Protocol.Page.FrameSubtreeWillBeDetachedEvent) => void): void;
3223
+
3218
3224
  /**
3219
3225
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
3220
3226
  */
@@ -3435,6 +3435,14 @@ export namespace ProtocolTestsProxyApi {
3435
3435
  offFrameDetached(listener: (event: { params: Protocol.Page.FrameDetachedEvent }) => void): void;
3436
3436
  onceFrameDetached(eventMatcher?: (event: { params: Protocol.Page.FrameDetachedEvent }) => boolean): Promise<{ params: Protocol.Page.FrameDetachedEvent }>;
3437
3437
 
3438
+ /**
3439
+ * Fired before frame subtree is detached. Emitted before any frame of the
3440
+ * subtree is actually detached.
3441
+ */
3442
+ onFrameSubtreeWillBeDetached(listener: (event: { params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }) => void): void;
3443
+ offFrameSubtreeWillBeDetached(listener: (event: { params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }) => void): void;
3444
+ onceFrameSubtreeWillBeDetached(eventMatcher?: (event: { params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }) => boolean): Promise<{ params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }>;
3445
+
3438
3446
  /**
3439
3447
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
3440
3448
  */
@@ -14917,6 +14917,17 @@ export namespace Protocol {
14917
14917
  reason: ('remove' | 'swap');
14918
14918
  }
14919
14919
 
14920
+ /**
14921
+ * Fired before frame subtree is detached. Emitted before any frame of the
14922
+ * subtree is actually detached.
14923
+ */
14924
+ export interface FrameSubtreeWillBeDetachedEvent {
14925
+ /**
14926
+ * Id of the frame that is the root of the subtree that will be detached.
14927
+ */
14928
+ frameId: FrameId;
14929
+ }
14930
+
14920
14931
  /**
14921
14932
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
14922
14933
  */
@@ -16056,6 +16067,16 @@ export namespace Protocol {
16056
16067
  aggregationCoordinatorOrigin?: string;
16057
16068
  }
16058
16069
 
16070
+ export interface AttributionScopesData {
16071
+ values: string[];
16072
+ /**
16073
+ * number instead of integer because not all uint32 can be represented by
16074
+ * int
16075
+ */
16076
+ limit: number;
16077
+ maxEventStates: number;
16078
+ }
16079
+
16059
16080
  export interface AttributionReportingSourceRegistration {
16060
16081
  time: Network.TimeSinceEpoch;
16061
16082
  /**
@@ -16079,6 +16100,7 @@ export namespace Protocol {
16079
16100
  triggerDataMatching: AttributionReportingTriggerDataMatching;
16080
16101
  destinationLimitPriority: SignedInt64AsBase10;
16081
16102
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
16103
+ scopesData?: AttributionScopesData;
16082
16104
  }
16083
16105
 
16084
16106
  export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
@@ -16131,6 +16153,7 @@ export namespace Protocol {
16131
16153
  sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
16132
16154
  triggerContextId?: string;
16133
16155
  aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
16156
+ scopes: string[];
16134
16157
  }
16135
16158
 
16136
16159
  export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
@@ -18572,7 +18595,7 @@ export namespace Protocol {
18572
18595
  * TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
18573
18596
  * filter out the ones that aren't necessary to the developers.
18574
18597
  */
18575
- export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchFailedPerPageLimitExceeded' | 'PrefetchEvictedAfterCandidateRemoved' | 'PrefetchEvictedForNewerPrefetch' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
18598
+ export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchEvictedAfterCandidateRemoved' | 'PrefetchEvictedForNewerPrefetch' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
18576
18599
 
18577
18600
  /**
18578
18601
  * Information of headers to be displayed when the header mismatch occurred.