devtools-protocol 0.0.1604597 → 0.0.1608973

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.
@@ -18888,6 +18888,7 @@ export namespace Protocol {
18888
18888
  loaderId: Network.LoaderId;
18889
18889
  action: SpeculationAction;
18890
18890
  url: string;
18891
+ formSubmission?: boolean;
18891
18892
  targetHint?: SpeculationTargetHint;
18892
18893
  }
18893
18894
 
@@ -18918,7 +18919,7 @@ export namespace Protocol {
18918
18919
  /**
18919
18920
  * List of FinalStatus reasons for Prerender2.
18920
18921
  */
18921
- export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused');
18922
+ export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused' | 'FormSubmitWhenPrerendering');
18922
18923
 
18923
18924
  /**
18924
18925
  * Preloading status values, see also PreloadingTriggeringOutcome. This
@@ -19999,267 +20000,6 @@ export namespace Protocol {
19999
20000
  durability: StorageBucketsDurability;
20000
20001
  }
20001
20002
 
20002
- /**
20003
- * @experimental
20004
- */
20005
- export type AttributionReportingSourceType = ('navigation' | 'event');
20006
-
20007
- /**
20008
- * @experimental
20009
- */
20010
- export type UnsignedInt64AsBase10 = string;
20011
-
20012
- /**
20013
- * @experimental
20014
- */
20015
- export type UnsignedInt128AsBase16 = string;
20016
-
20017
- /**
20018
- * @experimental
20019
- */
20020
- export type SignedInt64AsBase10 = string;
20021
-
20022
- /**
20023
- * @experimental
20024
- */
20025
- export interface AttributionReportingFilterDataEntry {
20026
- key: string;
20027
- values: string[];
20028
- }
20029
-
20030
- /**
20031
- * @experimental
20032
- */
20033
- export interface AttributionReportingFilterConfig {
20034
- filterValues: AttributionReportingFilterDataEntry[];
20035
- /**
20036
- * duration in seconds
20037
- */
20038
- lookbackWindow?: integer;
20039
- }
20040
-
20041
- /**
20042
- * @experimental
20043
- */
20044
- export interface AttributionReportingFilterPair {
20045
- filters: AttributionReportingFilterConfig[];
20046
- notFilters: AttributionReportingFilterConfig[];
20047
- }
20048
-
20049
- /**
20050
- * @experimental
20051
- */
20052
- export interface AttributionReportingAggregationKeysEntry {
20053
- key: string;
20054
- value: UnsignedInt128AsBase16;
20055
- }
20056
-
20057
- /**
20058
- * @experimental
20059
- */
20060
- export interface AttributionReportingEventReportWindows {
20061
- /**
20062
- * duration in seconds
20063
- */
20064
- start: integer;
20065
- /**
20066
- * duration in seconds
20067
- */
20068
- ends: integer[];
20069
- }
20070
-
20071
- /**
20072
- * @experimental
20073
- */
20074
- export type AttributionReportingTriggerDataMatching = ('exact' | 'modulus');
20075
-
20076
- /**
20077
- * @experimental
20078
- */
20079
- export interface AttributionReportingAggregatableDebugReportingData {
20080
- keyPiece: UnsignedInt128AsBase16;
20081
- /**
20082
- * number instead of integer because not all uint32 can be represented by
20083
- * int
20084
- */
20085
- value: number;
20086
- types: string[];
20087
- }
20088
-
20089
- /**
20090
- * @experimental
20091
- */
20092
- export interface AttributionReportingAggregatableDebugReportingConfig {
20093
- /**
20094
- * number instead of integer because not all uint32 can be represented by
20095
- * int, only present for source registrations
20096
- */
20097
- budget?: number;
20098
- keyPiece: UnsignedInt128AsBase16;
20099
- debugData: AttributionReportingAggregatableDebugReportingData[];
20100
- aggregationCoordinatorOrigin?: string;
20101
- }
20102
-
20103
- /**
20104
- * @experimental
20105
- */
20106
- export interface AttributionScopesData {
20107
- values: string[];
20108
- /**
20109
- * number instead of integer because not all uint32 can be represented by
20110
- * int
20111
- */
20112
- limit: number;
20113
- maxEventStates: number;
20114
- }
20115
-
20116
- /**
20117
- * @experimental
20118
- */
20119
- export interface AttributionReportingNamedBudgetDef {
20120
- name: string;
20121
- budget: integer;
20122
- }
20123
-
20124
- /**
20125
- * @experimental
20126
- */
20127
- export interface AttributionReportingSourceRegistration {
20128
- time: Network.TimeSinceEpoch;
20129
- /**
20130
- * duration in seconds
20131
- */
20132
- expiry: integer;
20133
- /**
20134
- * number instead of integer because not all uint32 can be represented by
20135
- * int
20136
- */
20137
- triggerData: number[];
20138
- eventReportWindows: AttributionReportingEventReportWindows;
20139
- /**
20140
- * duration in seconds
20141
- */
20142
- aggregatableReportWindow: integer;
20143
- type: AttributionReportingSourceType;
20144
- sourceOrigin: string;
20145
- reportingOrigin: string;
20146
- destinationSites: string[];
20147
- eventId: UnsignedInt64AsBase10;
20148
- priority: SignedInt64AsBase10;
20149
- filterData: AttributionReportingFilterDataEntry[];
20150
- aggregationKeys: AttributionReportingAggregationKeysEntry[];
20151
- debugKey?: UnsignedInt64AsBase10;
20152
- triggerDataMatching: AttributionReportingTriggerDataMatching;
20153
- destinationLimitPriority: SignedInt64AsBase10;
20154
- aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
20155
- scopesData?: AttributionScopesData;
20156
- maxEventLevelReports: integer;
20157
- namedBudgets: AttributionReportingNamedBudgetDef[];
20158
- debugReporting: boolean;
20159
- eventLevelEpsilon: number;
20160
- }
20161
-
20162
- /**
20163
- * @experimental
20164
- */
20165
- export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
20166
-
20167
- /**
20168
- * @experimental
20169
- */
20170
- export type AttributionReportingSourceRegistrationTimeConfig = ('include' | 'exclude');
20171
-
20172
- /**
20173
- * @experimental
20174
- */
20175
- export interface AttributionReportingAggregatableValueDictEntry {
20176
- key: string;
20177
- /**
20178
- * number instead of integer because not all uint32 can be represented by
20179
- * int
20180
- */
20181
- value: number;
20182
- filteringId: UnsignedInt64AsBase10;
20183
- }
20184
-
20185
- /**
20186
- * @experimental
20187
- */
20188
- export interface AttributionReportingAggregatableValueEntry {
20189
- values: AttributionReportingAggregatableValueDictEntry[];
20190
- filters: AttributionReportingFilterPair;
20191
- }
20192
-
20193
- /**
20194
- * @experimental
20195
- */
20196
- export interface AttributionReportingEventTriggerData {
20197
- data: UnsignedInt64AsBase10;
20198
- priority: SignedInt64AsBase10;
20199
- dedupKey?: UnsignedInt64AsBase10;
20200
- filters: AttributionReportingFilterPair;
20201
- }
20202
-
20203
- /**
20204
- * @experimental
20205
- */
20206
- export interface AttributionReportingAggregatableTriggerData {
20207
- keyPiece: UnsignedInt128AsBase16;
20208
- sourceKeys: string[];
20209
- filters: AttributionReportingFilterPair;
20210
- }
20211
-
20212
- /**
20213
- * @experimental
20214
- */
20215
- export interface AttributionReportingAggregatableDedupKey {
20216
- dedupKey?: UnsignedInt64AsBase10;
20217
- filters: AttributionReportingFilterPair;
20218
- }
20219
-
20220
- /**
20221
- * @experimental
20222
- */
20223
- export interface AttributionReportingNamedBudgetCandidate {
20224
- name?: string;
20225
- filters: AttributionReportingFilterPair;
20226
- }
20227
-
20228
- /**
20229
- * @experimental
20230
- */
20231
- export interface AttributionReportingTriggerRegistration {
20232
- filters: AttributionReportingFilterPair;
20233
- debugKey?: UnsignedInt64AsBase10;
20234
- aggregatableDedupKeys: AttributionReportingAggregatableDedupKey[];
20235
- eventTriggerData: AttributionReportingEventTriggerData[];
20236
- aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
20237
- aggregatableValues: AttributionReportingAggregatableValueEntry[];
20238
- aggregatableFilteringIdMaxBytes: integer;
20239
- debugReporting: boolean;
20240
- aggregationCoordinatorOrigin?: string;
20241
- sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
20242
- triggerContextId?: string;
20243
- aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
20244
- scopes: string[];
20245
- namedBudgets: AttributionReportingNamedBudgetCandidate[];
20246
- }
20247
-
20248
- /**
20249
- * @experimental
20250
- */
20251
- export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
20252
-
20253
- /**
20254
- * @experimental
20255
- */
20256
- export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'insufficientNamedBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
20257
-
20258
- /**
20259
- * @experimental
20260
- */
20261
- export type AttributionReportingReportResult = ('sent' | 'prohibited' | 'failedToAssemble' | 'expired');
20262
-
20263
20003
  /**
20264
20004
  * A single Related Website Set object.
20265
20005
  * @experimental
@@ -20543,24 +20283,6 @@ export namespace Protocol {
20543
20283
  deletedSites: string[];
20544
20284
  }
20545
20285
 
20546
- export interface SetAttributionReportingLocalTestingModeRequest {
20547
- /**
20548
- * If enabled, noise is suppressed and reports are sent immediately.
20549
- */
20550
- enabled: boolean;
20551
- }
20552
-
20553
- export interface SetAttributionReportingTrackingRequest {
20554
- enable: boolean;
20555
- }
20556
-
20557
- export interface SendPendingAttributionReportsResponse {
20558
- /**
20559
- * The number of reports that were sent.
20560
- */
20561
- numSent: integer;
20562
- }
20563
-
20564
20286
  export interface GetRelatedWebsiteSetsResponse {
20565
20287
  sets: RelatedWebsiteSet[];
20566
20288
  }
@@ -20814,49 +20536,6 @@ export namespace Protocol {
20814
20536
  export interface StorageBucketDeletedEvent {
20815
20537
  bucketId: string;
20816
20538
  }
20817
-
20818
- /**
20819
- * @experimental
20820
- */
20821
- export interface AttributionReportingSourceRegisteredEvent {
20822
- registration: AttributionReportingSourceRegistration;
20823
- result: AttributionReportingSourceRegistrationResult;
20824
- }
20825
-
20826
- /**
20827
- * @experimental
20828
- */
20829
- export interface AttributionReportingTriggerRegisteredEvent {
20830
- registration: AttributionReportingTriggerRegistration;
20831
- eventLevel: AttributionReportingEventLevelResult;
20832
- aggregatable: AttributionReportingAggregatableResult;
20833
- }
20834
-
20835
- /**
20836
- * @experimental
20837
- */
20838
- export interface AttributionReportingReportSentEvent {
20839
- url: string;
20840
- body: any;
20841
- result: AttributionReportingReportResult;
20842
- /**
20843
- * If result is `sent`, populated with net/HTTP status.
20844
- */
20845
- netError?: integer;
20846
- netErrorName?: string;
20847
- httpStatusCode?: integer;
20848
- }
20849
-
20850
- /**
20851
- * @experimental
20852
- */
20853
- export interface AttributionReportingVerboseDebugReportSentEvent {
20854
- url: string;
20855
- body?: any[];
20856
- netError?: integer;
20857
- netErrorName?: string;
20858
- httpStatusCode?: integer;
20859
- }
20860
20539
  }
20861
20540
 
20862
20541
  /**