devtools-protocol 0.0.1603894 → 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.
@@ -6846,6 +6846,29 @@ export namespace Protocol {
6846
6846
  }
6847
6847
  }
6848
6848
 
6849
+ /**
6850
+ * This domain exposes the current state of the CrashReportContext API.
6851
+ * @experimental
6852
+ */
6853
+ export namespace CrashReportContext {
6854
+
6855
+ /**
6856
+ * Key-value pair in CrashReportContext.
6857
+ */
6858
+ export interface CrashReportContextEntry {
6859
+ key: string;
6860
+ value: string;
6861
+ /**
6862
+ * The ID of the frame where the key-value pair was set.
6863
+ */
6864
+ frameId: Page.FrameId;
6865
+ }
6866
+
6867
+ export interface GetEntriesResponse {
6868
+ entries: CrashReportContextEntry[];
6869
+ }
6870
+ }
6871
+
6849
6872
  /**
6850
6873
  * This domain exposes DOM read/write operations. Each DOM Node is represented with its mirror object
6851
6874
  * that has an `id`. This `id` can be used to get additional information on the Node, resolve it into
@@ -18865,6 +18888,7 @@ export namespace Protocol {
18865
18888
  loaderId: Network.LoaderId;
18866
18889
  action: SpeculationAction;
18867
18890
  url: string;
18891
+ formSubmission?: boolean;
18868
18892
  targetHint?: SpeculationTargetHint;
18869
18893
  }
18870
18894
 
@@ -18895,7 +18919,7 @@ export namespace Protocol {
18895
18919
  /**
18896
18920
  * List of FinalStatus reasons for Prerender2.
18897
18921
  */
18898
- 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');
18899
18923
 
18900
18924
  /**
18901
18925
  * Preloading status values, see also PreloadingTriggeringOutcome. This
@@ -19976,267 +20000,6 @@ export namespace Protocol {
19976
20000
  durability: StorageBucketsDurability;
19977
20001
  }
19978
20002
 
19979
- /**
19980
- * @experimental
19981
- */
19982
- export type AttributionReportingSourceType = ('navigation' | 'event');
19983
-
19984
- /**
19985
- * @experimental
19986
- */
19987
- export type UnsignedInt64AsBase10 = string;
19988
-
19989
- /**
19990
- * @experimental
19991
- */
19992
- export type UnsignedInt128AsBase16 = string;
19993
-
19994
- /**
19995
- * @experimental
19996
- */
19997
- export type SignedInt64AsBase10 = string;
19998
-
19999
- /**
20000
- * @experimental
20001
- */
20002
- export interface AttributionReportingFilterDataEntry {
20003
- key: string;
20004
- values: string[];
20005
- }
20006
-
20007
- /**
20008
- * @experimental
20009
- */
20010
- export interface AttributionReportingFilterConfig {
20011
- filterValues: AttributionReportingFilterDataEntry[];
20012
- /**
20013
- * duration in seconds
20014
- */
20015
- lookbackWindow?: integer;
20016
- }
20017
-
20018
- /**
20019
- * @experimental
20020
- */
20021
- export interface AttributionReportingFilterPair {
20022
- filters: AttributionReportingFilterConfig[];
20023
- notFilters: AttributionReportingFilterConfig[];
20024
- }
20025
-
20026
- /**
20027
- * @experimental
20028
- */
20029
- export interface AttributionReportingAggregationKeysEntry {
20030
- key: string;
20031
- value: UnsignedInt128AsBase16;
20032
- }
20033
-
20034
- /**
20035
- * @experimental
20036
- */
20037
- export interface AttributionReportingEventReportWindows {
20038
- /**
20039
- * duration in seconds
20040
- */
20041
- start: integer;
20042
- /**
20043
- * duration in seconds
20044
- */
20045
- ends: integer[];
20046
- }
20047
-
20048
- /**
20049
- * @experimental
20050
- */
20051
- export type AttributionReportingTriggerDataMatching = ('exact' | 'modulus');
20052
-
20053
- /**
20054
- * @experimental
20055
- */
20056
- export interface AttributionReportingAggregatableDebugReportingData {
20057
- keyPiece: UnsignedInt128AsBase16;
20058
- /**
20059
- * number instead of integer because not all uint32 can be represented by
20060
- * int
20061
- */
20062
- value: number;
20063
- types: string[];
20064
- }
20065
-
20066
- /**
20067
- * @experimental
20068
- */
20069
- export interface AttributionReportingAggregatableDebugReportingConfig {
20070
- /**
20071
- * number instead of integer because not all uint32 can be represented by
20072
- * int, only present for source registrations
20073
- */
20074
- budget?: number;
20075
- keyPiece: UnsignedInt128AsBase16;
20076
- debugData: AttributionReportingAggregatableDebugReportingData[];
20077
- aggregationCoordinatorOrigin?: string;
20078
- }
20079
-
20080
- /**
20081
- * @experimental
20082
- */
20083
- export interface AttributionScopesData {
20084
- values: string[];
20085
- /**
20086
- * number instead of integer because not all uint32 can be represented by
20087
- * int
20088
- */
20089
- limit: number;
20090
- maxEventStates: number;
20091
- }
20092
-
20093
- /**
20094
- * @experimental
20095
- */
20096
- export interface AttributionReportingNamedBudgetDef {
20097
- name: string;
20098
- budget: integer;
20099
- }
20100
-
20101
- /**
20102
- * @experimental
20103
- */
20104
- export interface AttributionReportingSourceRegistration {
20105
- time: Network.TimeSinceEpoch;
20106
- /**
20107
- * duration in seconds
20108
- */
20109
- expiry: integer;
20110
- /**
20111
- * number instead of integer because not all uint32 can be represented by
20112
- * int
20113
- */
20114
- triggerData: number[];
20115
- eventReportWindows: AttributionReportingEventReportWindows;
20116
- /**
20117
- * duration in seconds
20118
- */
20119
- aggregatableReportWindow: integer;
20120
- type: AttributionReportingSourceType;
20121
- sourceOrigin: string;
20122
- reportingOrigin: string;
20123
- destinationSites: string[];
20124
- eventId: UnsignedInt64AsBase10;
20125
- priority: SignedInt64AsBase10;
20126
- filterData: AttributionReportingFilterDataEntry[];
20127
- aggregationKeys: AttributionReportingAggregationKeysEntry[];
20128
- debugKey?: UnsignedInt64AsBase10;
20129
- triggerDataMatching: AttributionReportingTriggerDataMatching;
20130
- destinationLimitPriority: SignedInt64AsBase10;
20131
- aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
20132
- scopesData?: AttributionScopesData;
20133
- maxEventLevelReports: integer;
20134
- namedBudgets: AttributionReportingNamedBudgetDef[];
20135
- debugReporting: boolean;
20136
- eventLevelEpsilon: number;
20137
- }
20138
-
20139
- /**
20140
- * @experimental
20141
- */
20142
- export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
20143
-
20144
- /**
20145
- * @experimental
20146
- */
20147
- export type AttributionReportingSourceRegistrationTimeConfig = ('include' | 'exclude');
20148
-
20149
- /**
20150
- * @experimental
20151
- */
20152
- export interface AttributionReportingAggregatableValueDictEntry {
20153
- key: string;
20154
- /**
20155
- * number instead of integer because not all uint32 can be represented by
20156
- * int
20157
- */
20158
- value: number;
20159
- filteringId: UnsignedInt64AsBase10;
20160
- }
20161
-
20162
- /**
20163
- * @experimental
20164
- */
20165
- export interface AttributionReportingAggregatableValueEntry {
20166
- values: AttributionReportingAggregatableValueDictEntry[];
20167
- filters: AttributionReportingFilterPair;
20168
- }
20169
-
20170
- /**
20171
- * @experimental
20172
- */
20173
- export interface AttributionReportingEventTriggerData {
20174
- data: UnsignedInt64AsBase10;
20175
- priority: SignedInt64AsBase10;
20176
- dedupKey?: UnsignedInt64AsBase10;
20177
- filters: AttributionReportingFilterPair;
20178
- }
20179
-
20180
- /**
20181
- * @experimental
20182
- */
20183
- export interface AttributionReportingAggregatableTriggerData {
20184
- keyPiece: UnsignedInt128AsBase16;
20185
- sourceKeys: string[];
20186
- filters: AttributionReportingFilterPair;
20187
- }
20188
-
20189
- /**
20190
- * @experimental
20191
- */
20192
- export interface AttributionReportingAggregatableDedupKey {
20193
- dedupKey?: UnsignedInt64AsBase10;
20194
- filters: AttributionReportingFilterPair;
20195
- }
20196
-
20197
- /**
20198
- * @experimental
20199
- */
20200
- export interface AttributionReportingNamedBudgetCandidate {
20201
- name?: string;
20202
- filters: AttributionReportingFilterPair;
20203
- }
20204
-
20205
- /**
20206
- * @experimental
20207
- */
20208
- export interface AttributionReportingTriggerRegistration {
20209
- filters: AttributionReportingFilterPair;
20210
- debugKey?: UnsignedInt64AsBase10;
20211
- aggregatableDedupKeys: AttributionReportingAggregatableDedupKey[];
20212
- eventTriggerData: AttributionReportingEventTriggerData[];
20213
- aggregatableTriggerData: AttributionReportingAggregatableTriggerData[];
20214
- aggregatableValues: AttributionReportingAggregatableValueEntry[];
20215
- aggregatableFilteringIdMaxBytes: integer;
20216
- debugReporting: boolean;
20217
- aggregationCoordinatorOrigin?: string;
20218
- sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
20219
- triggerContextId?: string;
20220
- aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
20221
- scopes: string[];
20222
- namedBudgets: AttributionReportingNamedBudgetCandidate[];
20223
- }
20224
-
20225
- /**
20226
- * @experimental
20227
- */
20228
- export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
20229
-
20230
- /**
20231
- * @experimental
20232
- */
20233
- export type AttributionReportingAggregatableResult = ('success' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'excessiveAttributions' | 'excessiveReportingOrigins' | 'noHistograms' | 'insufficientBudget' | 'insufficientNamedBudget' | 'noMatchingSourceFilterData' | 'notRegistered' | 'prohibitedByBrowserPolicy' | 'deduplicated' | 'reportWindowPassed' | 'excessiveReports');
20234
-
20235
- /**
20236
- * @experimental
20237
- */
20238
- export type AttributionReportingReportResult = ('sent' | 'prohibited' | 'failedToAssemble' | 'expired');
20239
-
20240
20003
  /**
20241
20004
  * A single Related Website Set object.
20242
20005
  * @experimental
@@ -20520,24 +20283,6 @@ export namespace Protocol {
20520
20283
  deletedSites: string[];
20521
20284
  }
20522
20285
 
20523
- export interface SetAttributionReportingLocalTestingModeRequest {
20524
- /**
20525
- * If enabled, noise is suppressed and reports are sent immediately.
20526
- */
20527
- enabled: boolean;
20528
- }
20529
-
20530
- export interface SetAttributionReportingTrackingRequest {
20531
- enable: boolean;
20532
- }
20533
-
20534
- export interface SendPendingAttributionReportsResponse {
20535
- /**
20536
- * The number of reports that were sent.
20537
- */
20538
- numSent: integer;
20539
- }
20540
-
20541
20286
  export interface GetRelatedWebsiteSetsResponse {
20542
20287
  sets: RelatedWebsiteSet[];
20543
20288
  }
@@ -20791,49 +20536,6 @@ export namespace Protocol {
20791
20536
  export interface StorageBucketDeletedEvent {
20792
20537
  bucketId: string;
20793
20538
  }
20794
-
20795
- /**
20796
- * @experimental
20797
- */
20798
- export interface AttributionReportingSourceRegisteredEvent {
20799
- registration: AttributionReportingSourceRegistration;
20800
- result: AttributionReportingSourceRegistrationResult;
20801
- }
20802
-
20803
- /**
20804
- * @experimental
20805
- */
20806
- export interface AttributionReportingTriggerRegisteredEvent {
20807
- registration: AttributionReportingTriggerRegistration;
20808
- eventLevel: AttributionReportingEventLevelResult;
20809
- aggregatable: AttributionReportingAggregatableResult;
20810
- }
20811
-
20812
- /**
20813
- * @experimental
20814
- */
20815
- export interface AttributionReportingReportSentEvent {
20816
- url: string;
20817
- body: any;
20818
- result: AttributionReportingReportResult;
20819
- /**
20820
- * If result is `sent`, populated with net/HTTP status.
20821
- */
20822
- netError?: integer;
20823
- netErrorName?: string;
20824
- httpStatusCode?: integer;
20825
- }
20826
-
20827
- /**
20828
- * @experimental
20829
- */
20830
- export interface AttributionReportingVerboseDebugReportSentEvent {
20831
- url: string;
20832
- body?: any[];
20833
- netError?: integer;
20834
- netErrorName?: string;
20835
- httpStatusCode?: integer;
20836
- }
20837
20539
  }
20838
20540
 
20839
20541
  /**