devtools-protocol 0.0.1348440 → 0.0.1349977
Sign up to get free protection for your applications and to get access to all the features.
@@ -5930,6 +5930,12 @@
|
|
5930
5930
|
"name": "assignedSlot",
|
5931
5931
|
"optional": true,
|
5932
5932
|
"$ref": "BackendNode"
|
5933
|
+
},
|
5934
|
+
{
|
5935
|
+
"name": "isScrollable",
|
5936
|
+
"experimental": true,
|
5937
|
+
"optional": true,
|
5938
|
+
"type": "boolean"
|
5933
5939
|
}
|
5934
5940
|
]
|
5935
5941
|
},
|
@@ -7400,6 +7406,23 @@
|
|
7400
7406
|
"description": "Called when top layer elements are changed.",
|
7401
7407
|
"experimental": true
|
7402
7408
|
},
|
7409
|
+
{
|
7410
|
+
"name": "scrollableFlagUpdated",
|
7411
|
+
"description": "Fired when a node's scrollability state changes.",
|
7412
|
+
"experimental": true,
|
7413
|
+
"parameters": [
|
7414
|
+
{
|
7415
|
+
"name": "nodeId",
|
7416
|
+
"description": "The id of the node.",
|
7417
|
+
"$ref": "DOM.NodeId"
|
7418
|
+
},
|
7419
|
+
{
|
7420
|
+
"name": "isScrollable",
|
7421
|
+
"description": "If the node is scrollable.",
|
7422
|
+
"type": "boolean"
|
7423
|
+
}
|
7424
|
+
]
|
7425
|
+
},
|
7403
7426
|
{
|
7404
7427
|
"name": "pseudoElementRemoved",
|
7405
7428
|
"description": "Called when a pseudo element is removed from an element.",
|
@@ -21896,6 +21919,29 @@
|
|
21896
21919
|
}
|
21897
21920
|
]
|
21898
21921
|
},
|
21922
|
+
{
|
21923
|
+
"id": "AttributionScopesData",
|
21924
|
+
"experimental": true,
|
21925
|
+
"type": "object",
|
21926
|
+
"properties": [
|
21927
|
+
{
|
21928
|
+
"name": "values",
|
21929
|
+
"type": "array",
|
21930
|
+
"items": {
|
21931
|
+
"type": "string"
|
21932
|
+
}
|
21933
|
+
},
|
21934
|
+
{
|
21935
|
+
"name": "limit",
|
21936
|
+
"description": "number instead of integer because not all uint32 can be represented by\nint",
|
21937
|
+
"type": "number"
|
21938
|
+
},
|
21939
|
+
{
|
21940
|
+
"name": "maxEventStates",
|
21941
|
+
"type": "number"
|
21942
|
+
}
|
21943
|
+
]
|
21944
|
+
},
|
21899
21945
|
{
|
21900
21946
|
"id": "AttributionReportingSourceRegistration",
|
21901
21947
|
"experimental": true,
|
@@ -21979,6 +22025,11 @@
|
|
21979
22025
|
{
|
21980
22026
|
"name": "aggregatableDebugReportingConfig",
|
21981
22027
|
"$ref": "AttributionReportingAggregatableDebugReportingConfig"
|
22028
|
+
},
|
22029
|
+
{
|
22030
|
+
"name": "scopesData",
|
22031
|
+
"optional": true,
|
22032
|
+
"$ref": "AttributionScopesData"
|
21982
22033
|
}
|
21983
22034
|
]
|
21984
22035
|
},
|
@@ -22181,6 +22232,13 @@
|
|
22181
22232
|
{
|
22182
22233
|
"name": "aggregatableDebugReportingConfig",
|
22183
22234
|
"$ref": "AttributionReportingAggregatableDebugReportingConfig"
|
22235
|
+
},
|
22236
|
+
{
|
22237
|
+
"name": "scopes",
|
22238
|
+
"type": "array",
|
22239
|
+
"items": {
|
22240
|
+
"type": "string"
|
22241
|
+
}
|
22184
22242
|
}
|
22185
22243
|
]
|
22186
22244
|
},
|
@@ -26229,7 +26287,6 @@
|
|
26229
26287
|
"PrefetchFailedMIMENotSupported",
|
26230
26288
|
"PrefetchFailedNetError",
|
26231
26289
|
"PrefetchFailedNon2XX",
|
26232
|
-
"PrefetchFailedPerPageLimitExceeded",
|
26233
26290
|
"PrefetchEvictedAfterCandidateRemoved",
|
26234
26291
|
"PrefetchEvictedForNewerPrefetch",
|
26235
26292
|
"PrefetchHeldback",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -2807,6 +2807,7 @@ domain DOM
|
|
2807
2807
|
optional boolean isSVG
|
2808
2808
|
optional CompatibilityMode compatibilityMode
|
2809
2809
|
optional BackendNode assignedSlot
|
2810
|
+
experimental optional boolean isScrollable
|
2810
2811
|
|
2811
2812
|
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
2812
2813
|
type DetachedElementInfo extends object
|
@@ -3496,6 +3497,14 @@ domain DOM
|
|
3496
3497
|
# Called when top layer elements are changed.
|
3497
3498
|
experimental event topLayerElementsUpdated
|
3498
3499
|
|
3500
|
+
# Fired when a node's scrollability state changes.
|
3501
|
+
experimental event scrollableFlagUpdated
|
3502
|
+
parameters
|
3503
|
+
# The id of the node.
|
3504
|
+
DOM.NodeId nodeId
|
3505
|
+
# If the node is scrollable.
|
3506
|
+
boolean isScrollable
|
3507
|
+
|
3499
3508
|
# Called when a pseudo element is removed from an element.
|
3500
3509
|
experimental event pseudoElementRemoved
|
3501
3510
|
parameters
|
@@ -10668,6 +10677,14 @@ experimental domain Storage
|
|
10668
10677
|
array of AttributionReportingAggregatableDebugReportingData debugData
|
10669
10678
|
optional string aggregationCoordinatorOrigin
|
10670
10679
|
|
10680
|
+
experimental type AttributionScopesData extends object
|
10681
|
+
properties
|
10682
|
+
array of string values
|
10683
|
+
# number instead of integer because not all uint32 can be represented by
|
10684
|
+
# int
|
10685
|
+
number limit
|
10686
|
+
number maxEventStates
|
10687
|
+
|
10671
10688
|
experimental type AttributionReportingSourceRegistration extends object
|
10672
10689
|
properties
|
10673
10690
|
Network.TimeSinceEpoch time
|
@@ -10688,6 +10705,7 @@ experimental domain Storage
|
|
10688
10705
|
AttributionReportingTriggerDataMatching triggerDataMatching
|
10689
10706
|
SignedInt64AsBase10 destinationLimitPriority
|
10690
10707
|
AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
|
10708
|
+
optional AttributionScopesData scopesData
|
10691
10709
|
|
10692
10710
|
experimental type AttributionReportingSourceRegistrationResult extends string
|
10693
10711
|
enum
|
@@ -10764,6 +10782,7 @@ experimental domain Storage
|
|
10764
10782
|
AttributionReportingSourceRegistrationTimeConfig sourceRegistrationTimeConfig
|
10765
10783
|
optional string triggerContextId
|
10766
10784
|
AttributionReportingAggregatableDebugReportingConfig aggregatableDebugReportingConfig
|
10785
|
+
array of string scopes
|
10767
10786
|
|
10768
10787
|
experimental type AttributionReportingEventLevelResult extends string
|
10769
10788
|
enum
|
@@ -12415,7 +12434,6 @@ experimental domain Preload
|
|
12415
12434
|
PrefetchFailedMIMENotSupported
|
12416
12435
|
PrefetchFailedNetError
|
12417
12436
|
PrefetchFailedNon2XX
|
12418
|
-
PrefetchFailedPerPageLimitExceeded
|
12419
12437
|
PrefetchEvictedAfterCandidateRemoved
|
12420
12438
|
PrefetchEvictedForNewerPrefetch
|
12421
12439
|
PrefetchHeldback
|
@@ -215,6 +215,10 @@ export namespace ProtocolMapping {
|
|
215
215
|
* Called when top layer elements are changed.
|
216
216
|
*/
|
217
217
|
'DOM.topLayerElementsUpdated': [];
|
218
|
+
/**
|
219
|
+
* Fired when a node's scrollability state changes.
|
220
|
+
*/
|
221
|
+
'DOM.scrollableFlagUpdated': [Protocol.DOM.ScrollableFlagUpdatedEvent];
|
218
222
|
/**
|
219
223
|
* Called when a pseudo element is removed from an element.
|
220
224
|
*/
|
@@ -1632,6 +1632,11 @@ export namespace ProtocolProxyApi {
|
|
1632
1632
|
*/
|
1633
1633
|
on(event: 'topLayerElementsUpdated', listener: () => void): void;
|
1634
1634
|
|
1635
|
+
/**
|
1636
|
+
* Fired when a node's scrollability state changes.
|
1637
|
+
*/
|
1638
|
+
on(event: 'scrollableFlagUpdated', listener: (params: Protocol.DOM.ScrollableFlagUpdatedEvent) => void): void;
|
1639
|
+
|
1635
1640
|
/**
|
1636
1641
|
* Called when a pseudo element is removed from an element.
|
1637
1642
|
*/
|
@@ -1736,6 +1736,13 @@ export namespace ProtocolTestsProxyApi {
|
|
1736
1736
|
offTopLayerElementsUpdated(listener: (event: ) => void): void;
|
1737
1737
|
onceTopLayerElementsUpdated(eventMatcher?: (event: ) => boolean): Promise<>;
|
1738
1738
|
|
1739
|
+
/**
|
1740
|
+
* Fired when a node's scrollability state changes.
|
1741
|
+
*/
|
1742
|
+
onScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
|
1743
|
+
offScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
|
1744
|
+
onceScrollableFlagUpdated(eventMatcher?: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.ScrollableFlagUpdatedEvent }>;
|
1745
|
+
|
1739
1746
|
/**
|
1740
1747
|
* Called when a pseudo element is removed from an element.
|
1741
1748
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -6172,6 +6172,7 @@ export namespace Protocol {
|
|
6172
6172
|
isSVG?: boolean;
|
6173
6173
|
compatibilityMode?: CompatibilityMode;
|
6174
6174
|
assignedSlot?: BackendNode;
|
6175
|
+
isScrollable?: boolean;
|
6175
6176
|
}
|
6176
6177
|
|
6177
6178
|
/**
|
@@ -7174,6 +7175,20 @@ export namespace Protocol {
|
|
7174
7175
|
pseudoElement: Node;
|
7175
7176
|
}
|
7176
7177
|
|
7178
|
+
/**
|
7179
|
+
* Fired when a node's scrollability state changes.
|
7180
|
+
*/
|
7181
|
+
export interface ScrollableFlagUpdatedEvent {
|
7182
|
+
/**
|
7183
|
+
* The id of the node.
|
7184
|
+
*/
|
7185
|
+
nodeId: DOM.NodeId;
|
7186
|
+
/**
|
7187
|
+
* If the node is scrollable.
|
7188
|
+
*/
|
7189
|
+
isScrollable: boolean;
|
7190
|
+
}
|
7191
|
+
|
7177
7192
|
/**
|
7178
7193
|
* Called when a pseudo element is removed from an element.
|
7179
7194
|
*/
|
@@ -16067,6 +16082,16 @@ export namespace Protocol {
|
|
16067
16082
|
aggregationCoordinatorOrigin?: string;
|
16068
16083
|
}
|
16069
16084
|
|
16085
|
+
export interface AttributionScopesData {
|
16086
|
+
values: string[];
|
16087
|
+
/**
|
16088
|
+
* number instead of integer because not all uint32 can be represented by
|
16089
|
+
* int
|
16090
|
+
*/
|
16091
|
+
limit: number;
|
16092
|
+
maxEventStates: number;
|
16093
|
+
}
|
16094
|
+
|
16070
16095
|
export interface AttributionReportingSourceRegistration {
|
16071
16096
|
time: Network.TimeSinceEpoch;
|
16072
16097
|
/**
|
@@ -16090,6 +16115,7 @@ export namespace Protocol {
|
|
16090
16115
|
triggerDataMatching: AttributionReportingTriggerDataMatching;
|
16091
16116
|
destinationLimitPriority: SignedInt64AsBase10;
|
16092
16117
|
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
16118
|
+
scopesData?: AttributionScopesData;
|
16093
16119
|
}
|
16094
16120
|
|
16095
16121
|
export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity' | 'exceedsMaxScopesChannelCapacity' | 'exceedsMaxTriggerStateCardinality' | 'exceedsMaxEventStatesLimit' | 'destinationPerDayReportingLimitReached');
|
@@ -16142,6 +16168,7 @@ export namespace Protocol {
|
|
16142
16168
|
sourceRegistrationTimeConfig: AttributionReportingSourceRegistrationTimeConfig;
|
16143
16169
|
triggerContextId?: string;
|
16144
16170
|
aggregatableDebugReportingConfig: AttributionReportingAggregatableDebugReportingConfig;
|
16171
|
+
scopes: string[];
|
16145
16172
|
}
|
16146
16173
|
|
16147
16174
|
export type AttributionReportingEventLevelResult = ('success' | 'successDroppedLowerPriority' | 'internalError' | 'noCapacityForAttributionDestination' | 'noMatchingSources' | 'deduplicated' | 'excessiveAttributions' | 'priorityTooLow' | 'neverAttributedSource' | 'excessiveReportingOrigins' | 'noMatchingSourceFilterData' | 'prohibitedByBrowserPolicy' | 'noMatchingConfigurations' | 'excessiveReports' | 'falselyAttributedSource' | 'reportWindowPassed' | 'notRegistered' | 'reportWindowNotStarted' | 'noMatchingTriggerData');
|
@@ -18583,7 +18610,7 @@ export namespace Protocol {
|
|
18583
18610
|
* TODO(https://crbug.com/1384419): revisit the list of PrefetchStatus and
|
18584
18611
|
* filter out the ones that aren't necessary to the developers.
|
18585
18612
|
*/
|
18586
|
-
export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | '
|
18613
|
+
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');
|
18587
18614
|
|
18588
18615
|
/**
|
18589
18616
|
* Information of headers to be displayed when the header mismatch occurred.
|