devtools-protocol 0.0.1587613 → 0.0.1588380
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.
- package/json/browser_protocol.json +66 -0
- package/package.json +1 -1
- package/pdl/domains/DOM.pdl +9 -0
- package/pdl/domains/Network.pdl +20 -0
- package/types/protocol-mapping.d.ts +5 -0
- package/types/protocol-proxy-api.d.ts +6 -0
- package/types/protocol-tests-proxy-api.d.ts +8 -0
- package/types/protocol.d.ts +54 -0
|
@@ -7222,6 +7222,12 @@
|
|
|
7222
7222
|
"items": {
|
|
7223
7223
|
"$ref": "StyleSheetId"
|
|
7224
7224
|
}
|
|
7225
|
+
},
|
|
7226
|
+
{
|
|
7227
|
+
"name": "isAdRelated",
|
|
7228
|
+
"experimental": true,
|
|
7229
|
+
"optional": true,
|
|
7230
|
+
"type": "boolean"
|
|
7225
7231
|
}
|
|
7226
7232
|
]
|
|
7227
7233
|
},
|
|
@@ -8776,6 +8782,23 @@
|
|
|
8776
8782
|
}
|
|
8777
8783
|
]
|
|
8778
8784
|
},
|
|
8785
|
+
{
|
|
8786
|
+
"name": "adRelatedStateUpdated",
|
|
8787
|
+
"description": "Fired when a node's ad related state changes.",
|
|
8788
|
+
"experimental": true,
|
|
8789
|
+
"parameters": [
|
|
8790
|
+
{
|
|
8791
|
+
"name": "nodeId",
|
|
8792
|
+
"description": "The id of the node.",
|
|
8793
|
+
"$ref": "DOM.NodeId"
|
|
8794
|
+
},
|
|
8795
|
+
{
|
|
8796
|
+
"name": "isAdRelated",
|
|
8797
|
+
"description": "If the node is ad related.",
|
|
8798
|
+
"type": "boolean"
|
|
8799
|
+
}
|
|
8800
|
+
]
|
|
8801
|
+
},
|
|
8779
8802
|
{
|
|
8780
8803
|
"name": "affectedByStartingStylesFlagUpdated",
|
|
8781
8804
|
"description": "Fired when a node's starting styles changes.",
|
|
@@ -17476,6 +17499,37 @@
|
|
|
17476
17499
|
"SessionDeletedDuringRefresh"
|
|
17477
17500
|
]
|
|
17478
17501
|
},
|
|
17502
|
+
{
|
|
17503
|
+
"id": "DeviceBoundSessionFailedRequest",
|
|
17504
|
+
"description": "Details about a failed device bound session network request.",
|
|
17505
|
+
"experimental": true,
|
|
17506
|
+
"type": "object",
|
|
17507
|
+
"properties": [
|
|
17508
|
+
{
|
|
17509
|
+
"name": "requestUrl",
|
|
17510
|
+
"description": "The failed request URL.",
|
|
17511
|
+
"type": "string"
|
|
17512
|
+
},
|
|
17513
|
+
{
|
|
17514
|
+
"name": "netError",
|
|
17515
|
+
"description": "The net error of the response if it was not OK.",
|
|
17516
|
+
"optional": true,
|
|
17517
|
+
"type": "string"
|
|
17518
|
+
},
|
|
17519
|
+
{
|
|
17520
|
+
"name": "responseError",
|
|
17521
|
+
"description": "The response code if the net error was OK and the response code was not\n200.",
|
|
17522
|
+
"optional": true,
|
|
17523
|
+
"type": "integer"
|
|
17524
|
+
},
|
|
17525
|
+
{
|
|
17526
|
+
"name": "responseErrorBody",
|
|
17527
|
+
"description": "The body of the response if the net error was OK, the response code was\nnot 200, and the response body was not empty.",
|
|
17528
|
+
"optional": true,
|
|
17529
|
+
"type": "string"
|
|
17530
|
+
}
|
|
17531
|
+
]
|
|
17532
|
+
},
|
|
17479
17533
|
{
|
|
17480
17534
|
"id": "CreationEventDetails",
|
|
17481
17535
|
"description": "Session event details specific to creation.",
|
|
@@ -17492,6 +17546,12 @@
|
|
|
17492
17546
|
"description": "The session if there was a newly created session. This is populated for\nall successful creation events.",
|
|
17493
17547
|
"optional": true,
|
|
17494
17548
|
"$ref": "DeviceBoundSession"
|
|
17549
|
+
},
|
|
17550
|
+
{
|
|
17551
|
+
"name": "failedRequest",
|
|
17552
|
+
"description": "Details about a failed device bound session network request if there was\none.",
|
|
17553
|
+
"optional": true,
|
|
17554
|
+
"$ref": "DeviceBoundSessionFailedRequest"
|
|
17495
17555
|
}
|
|
17496
17556
|
]
|
|
17497
17557
|
},
|
|
@@ -17531,6 +17591,12 @@
|
|
|
17531
17591
|
"name": "wasFullyProactiveRefresh",
|
|
17532
17592
|
"description": "See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.",
|
|
17533
17593
|
"type": "boolean"
|
|
17594
|
+
},
|
|
17595
|
+
{
|
|
17596
|
+
"name": "failedRequest",
|
|
17597
|
+
"description": "Details about a failed device bound session network request if there was\none.",
|
|
17598
|
+
"optional": true,
|
|
17599
|
+
"$ref": "DeviceBoundSessionFailedRequest"
|
|
17534
17600
|
}
|
|
17535
17601
|
]
|
|
17536
17602
|
},
|
package/package.json
CHANGED
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -183,6 +183,7 @@ domain DOM
|
|
|
183
183
|
experimental optional boolean isScrollable
|
|
184
184
|
experimental optional boolean affectedByStartingStyles
|
|
185
185
|
experimental optional array of StyleSheetId adoptedStyleSheets
|
|
186
|
+
experimental optional boolean isAdRelated
|
|
186
187
|
|
|
187
188
|
# A structure to hold the top-level node of a detached tree and an array of its retained descendants.
|
|
188
189
|
type DetachedElementInfo extends object
|
|
@@ -912,6 +913,14 @@ domain DOM
|
|
|
912
913
|
# If the node is scrollable.
|
|
913
914
|
boolean isScrollable
|
|
914
915
|
|
|
916
|
+
# Fired when a node's ad related state changes.
|
|
917
|
+
experimental event adRelatedStateUpdated
|
|
918
|
+
parameters
|
|
919
|
+
# The id of the node.
|
|
920
|
+
DOM.NodeId nodeId
|
|
921
|
+
# If the node is ad related.
|
|
922
|
+
boolean isAdRelated
|
|
923
|
+
|
|
915
924
|
# Fired when a node's starting styles changes.
|
|
916
925
|
experimental event affectedByStartingStylesFlagUpdated
|
|
917
926
|
parameters
|
package/pdl/domains/Network.pdl
CHANGED
|
@@ -2184,6 +2184,20 @@ domain Network
|
|
|
2184
2184
|
FailedToUnwrapKey
|
|
2185
2185
|
SessionDeletedDuringRefresh
|
|
2186
2186
|
|
|
2187
|
+
# Details about a failed device bound session network request.
|
|
2188
|
+
experimental type DeviceBoundSessionFailedRequest extends object
|
|
2189
|
+
properties
|
|
2190
|
+
# The failed request URL.
|
|
2191
|
+
string requestUrl
|
|
2192
|
+
# The net error of the response if it was not OK.
|
|
2193
|
+
optional string netError
|
|
2194
|
+
# The response code if the net error was OK and the response code was not
|
|
2195
|
+
# 200.
|
|
2196
|
+
optional integer responseError
|
|
2197
|
+
# The body of the response if the net error was OK, the response code was
|
|
2198
|
+
# not 200, and the response body was not empty.
|
|
2199
|
+
optional string responseErrorBody
|
|
2200
|
+
|
|
2187
2201
|
# Session event details specific to creation.
|
|
2188
2202
|
experimental type CreationEventDetails extends object
|
|
2189
2203
|
properties
|
|
@@ -2192,6 +2206,9 @@ domain Network
|
|
|
2192
2206
|
# The session if there was a newly created session. This is populated for
|
|
2193
2207
|
# all successful creation events.
|
|
2194
2208
|
optional DeviceBoundSession newSession
|
|
2209
|
+
# Details about a failed device bound session network request if there was
|
|
2210
|
+
# one.
|
|
2211
|
+
optional DeviceBoundSessionFailedRequest failedRequest
|
|
2195
2212
|
|
|
2196
2213
|
# Session event details specific to refresh.
|
|
2197
2214
|
experimental type RefreshEventDetails extends object
|
|
@@ -2212,6 +2229,9 @@ domain Network
|
|
|
2212
2229
|
optional DeviceBoundSession newSession
|
|
2213
2230
|
# See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
|
|
2214
2231
|
boolean wasFullyProactiveRefresh
|
|
2232
|
+
# Details about a failed device bound session network request if there was
|
|
2233
|
+
# one.
|
|
2234
|
+
optional DeviceBoundSessionFailedRequest failedRequest
|
|
2215
2235
|
|
|
2216
2236
|
# Session event details specific to termination.
|
|
2217
2237
|
experimental type TerminationEventDetails extends object
|
|
@@ -262,6 +262,11 @@ export namespace ProtocolMapping {
|
|
|
262
262
|
* @experimental
|
|
263
263
|
*/
|
|
264
264
|
'DOM.scrollableFlagUpdated': [Protocol.DOM.ScrollableFlagUpdatedEvent];
|
|
265
|
+
/**
|
|
266
|
+
* Fired when a node's ad related state changes.
|
|
267
|
+
* @experimental
|
|
268
|
+
*/
|
|
269
|
+
'DOM.adRelatedStateUpdated': [Protocol.DOM.AdRelatedStateUpdatedEvent];
|
|
265
270
|
/**
|
|
266
271
|
* Fired when a node's starting styles changes.
|
|
267
272
|
* @experimental
|
|
@@ -1903,6 +1903,12 @@ export namespace ProtocolProxyApi {
|
|
|
1903
1903
|
*/
|
|
1904
1904
|
on(event: 'scrollableFlagUpdated', listener: (params: Protocol.DOM.ScrollableFlagUpdatedEvent) => void): void;
|
|
1905
1905
|
|
|
1906
|
+
/**
|
|
1907
|
+
* Fired when a node's ad related state changes.
|
|
1908
|
+
* @experimental
|
|
1909
|
+
*/
|
|
1910
|
+
on(event: 'adRelatedStateUpdated', listener: (params: Protocol.DOM.AdRelatedStateUpdatedEvent) => void): void;
|
|
1911
|
+
|
|
1906
1912
|
/**
|
|
1907
1913
|
* Fired when a node's starting styles changes.
|
|
1908
1914
|
* @experimental
|
|
@@ -2019,6 +2019,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
2019
2019
|
offScrollableFlagUpdated(listener: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => void): void;
|
|
2020
2020
|
onceScrollableFlagUpdated(eventMatcher?: (event: { params: Protocol.DOM.ScrollableFlagUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.ScrollableFlagUpdatedEvent }>;
|
|
2021
2021
|
|
|
2022
|
+
/**
|
|
2023
|
+
* Fired when a node's ad related state changes.
|
|
2024
|
+
* @experimental
|
|
2025
|
+
*/
|
|
2026
|
+
onAdRelatedStateUpdated(listener: (event: { params: Protocol.DOM.AdRelatedStateUpdatedEvent }) => void): void;
|
|
2027
|
+
offAdRelatedStateUpdated(listener: (event: { params: Protocol.DOM.AdRelatedStateUpdatedEvent }) => void): void;
|
|
2028
|
+
onceAdRelatedStateUpdated(eventMatcher?: (event: { params: Protocol.DOM.AdRelatedStateUpdatedEvent }) => boolean): Promise<{ params: Protocol.DOM.AdRelatedStateUpdatedEvent }>;
|
|
2029
|
+
|
|
2022
2030
|
/**
|
|
2023
2031
|
* Fired when a node's starting styles changes.
|
|
2024
2032
|
* @experimental
|
package/types/protocol.d.ts
CHANGED
|
@@ -7005,6 +7005,10 @@ export namespace Protocol {
|
|
|
7005
7005
|
* @experimental
|
|
7006
7006
|
*/
|
|
7007
7007
|
adoptedStyleSheets?: StyleSheetId[];
|
|
7008
|
+
/**
|
|
7009
|
+
* @experimental
|
|
7010
|
+
*/
|
|
7011
|
+
isAdRelated?: boolean;
|
|
7008
7012
|
}
|
|
7009
7013
|
|
|
7010
7014
|
/**
|
|
@@ -8070,6 +8074,21 @@ export namespace Protocol {
|
|
|
8070
8074
|
isScrollable: boolean;
|
|
8071
8075
|
}
|
|
8072
8076
|
|
|
8077
|
+
/**
|
|
8078
|
+
* Fired when a node's ad related state changes.
|
|
8079
|
+
* @experimental
|
|
8080
|
+
*/
|
|
8081
|
+
export interface AdRelatedStateUpdatedEvent {
|
|
8082
|
+
/**
|
|
8083
|
+
* The id of the node.
|
|
8084
|
+
*/
|
|
8085
|
+
nodeId: DOM.NodeId;
|
|
8086
|
+
/**
|
|
8087
|
+
* If the node is ad related.
|
|
8088
|
+
*/
|
|
8089
|
+
isAdRelated: boolean;
|
|
8090
|
+
}
|
|
8091
|
+
|
|
8073
8092
|
/**
|
|
8074
8093
|
* Fired when a node's starting styles changes.
|
|
8075
8094
|
* @experimental
|
|
@@ -13725,6 +13744,31 @@ export namespace Protocol {
|
|
|
13725
13744
|
*/
|
|
13726
13745
|
export type DeviceBoundSessionFetchResult = ('Success' | 'KeyError' | 'SigningError' | 'ServerRequestedTermination' | 'InvalidSessionId' | 'InvalidChallenge' | 'TooManyChallenges' | 'InvalidFetcherUrl' | 'InvalidRefreshUrl' | 'TransientHttpError' | 'ScopeOriginSameSiteMismatch' | 'RefreshUrlSameSiteMismatch' | 'MismatchedSessionId' | 'MissingScope' | 'NoCredentials' | 'SubdomainRegistrationWellKnownUnavailable' | 'SubdomainRegistrationUnauthorized' | 'SubdomainRegistrationWellKnownMalformed' | 'SessionProviderWellKnownUnavailable' | 'RelyingPartyWellKnownUnavailable' | 'FederatedKeyThumbprintMismatch' | 'InvalidFederatedSessionUrl' | 'InvalidFederatedKey' | 'TooManyRelyingOriginLabels' | 'BoundCookieSetForbidden' | 'NetError' | 'ProxyError' | 'EmptySessionConfig' | 'InvalidCredentialsConfig' | 'InvalidCredentialsType' | 'InvalidCredentialsEmptyName' | 'InvalidCredentialsCookie' | 'PersistentHttpError' | 'RegistrationAttemptedChallenge' | 'InvalidScopeOrigin' | 'ScopeOriginContainsPath' | 'RefreshInitiatorNotString' | 'RefreshInitiatorInvalidHostPattern' | 'InvalidScopeSpecification' | 'MissingScopeSpecificationType' | 'EmptyScopeSpecificationDomain' | 'EmptyScopeSpecificationPath' | 'InvalidScopeSpecificationType' | 'InvalidScopeIncludeSite' | 'MissingScopeIncludeSite' | 'FederatedNotAuthorizedByProvider' | 'FederatedNotAuthorizedByRelyingParty' | 'SessionProviderWellKnownMalformed' | 'SessionProviderWellKnownHasProviderOrigin' | 'RelyingPartyWellKnownMalformed' | 'RelyingPartyWellKnownHasRelyingOrigins' | 'InvalidFederatedSessionProviderSessionMissing' | 'InvalidFederatedSessionWrongProviderOrigin' | 'InvalidCredentialsCookieCreationTime' | 'InvalidCredentialsCookieName' | 'InvalidCredentialsCookieParsing' | 'InvalidCredentialsCookieUnpermittedAttribute' | 'InvalidCredentialsCookieInvalidDomain' | 'InvalidCredentialsCookiePrefix' | 'InvalidScopeRulePath' | 'InvalidScopeRuleHostPattern' | 'ScopeRuleOriginScopedHostPatternMismatch' | 'ScopeRuleSiteScopedHostPatternMismatch' | 'SigningQuotaExceeded' | 'InvalidConfigJson' | 'InvalidFederatedSessionProviderFailedToRestoreKey' | 'FailedToUnwrapKey' | 'SessionDeletedDuringRefresh');
|
|
13727
13746
|
|
|
13747
|
+
/**
|
|
13748
|
+
* Details about a failed device bound session network request.
|
|
13749
|
+
* @experimental
|
|
13750
|
+
*/
|
|
13751
|
+
export interface DeviceBoundSessionFailedRequest {
|
|
13752
|
+
/**
|
|
13753
|
+
* The failed request URL.
|
|
13754
|
+
*/
|
|
13755
|
+
requestUrl: string;
|
|
13756
|
+
/**
|
|
13757
|
+
* The net error of the response if it was not OK.
|
|
13758
|
+
*/
|
|
13759
|
+
netError?: string;
|
|
13760
|
+
/**
|
|
13761
|
+
* The response code if the net error was OK and the response code was not
|
|
13762
|
+
* 200.
|
|
13763
|
+
*/
|
|
13764
|
+
responseError?: integer;
|
|
13765
|
+
/**
|
|
13766
|
+
* The body of the response if the net error was OK, the response code was
|
|
13767
|
+
* not 200, and the response body was not empty.
|
|
13768
|
+
*/
|
|
13769
|
+
responseErrorBody?: string;
|
|
13770
|
+
}
|
|
13771
|
+
|
|
13728
13772
|
/**
|
|
13729
13773
|
* Session event details specific to creation.
|
|
13730
13774
|
* @experimental
|
|
@@ -13739,6 +13783,11 @@ export namespace Protocol {
|
|
|
13739
13783
|
* all successful creation events.
|
|
13740
13784
|
*/
|
|
13741
13785
|
newSession?: DeviceBoundSession;
|
|
13786
|
+
/**
|
|
13787
|
+
* Details about a failed device bound session network request if there was
|
|
13788
|
+
* one.
|
|
13789
|
+
*/
|
|
13790
|
+
failedRequest?: DeviceBoundSessionFailedRequest;
|
|
13742
13791
|
}
|
|
13743
13792
|
|
|
13744
13793
|
export const enum RefreshEventDetailsRefreshResult {
|
|
@@ -13773,6 +13822,11 @@ export namespace Protocol {
|
|
|
13773
13822
|
* See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
|
|
13774
13823
|
*/
|
|
13775
13824
|
wasFullyProactiveRefresh: boolean;
|
|
13825
|
+
/**
|
|
13826
|
+
* Details about a failed device bound session network request if there was
|
|
13827
|
+
* one.
|
|
13828
|
+
*/
|
|
13829
|
+
failedRequest?: DeviceBoundSessionFailedRequest;
|
|
13776
13830
|
}
|
|
13777
13831
|
|
|
13778
13832
|
export const enum TerminationEventDetailsDeletionReason {
|