devtools-protocol 0.0.1585077 → 0.0.1588251
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 +44 -1
- package/package.json +1 -1
- package/pdl/domains/Network.pdl +22 -0
- package/types/protocol.d.ts +37 -0
|
@@ -17476,6 +17476,37 @@
|
|
|
17476
17476
|
"SessionDeletedDuringRefresh"
|
|
17477
17477
|
]
|
|
17478
17478
|
},
|
|
17479
|
+
{
|
|
17480
|
+
"id": "DeviceBoundSessionFailedRequest",
|
|
17481
|
+
"description": "Details about a failed device bound session network request.",
|
|
17482
|
+
"experimental": true,
|
|
17483
|
+
"type": "object",
|
|
17484
|
+
"properties": [
|
|
17485
|
+
{
|
|
17486
|
+
"name": "requestUrl",
|
|
17487
|
+
"description": "The failed request URL.",
|
|
17488
|
+
"type": "string"
|
|
17489
|
+
},
|
|
17490
|
+
{
|
|
17491
|
+
"name": "netError",
|
|
17492
|
+
"description": "The net error of the response if it was not OK.",
|
|
17493
|
+
"optional": true,
|
|
17494
|
+
"type": "string"
|
|
17495
|
+
},
|
|
17496
|
+
{
|
|
17497
|
+
"name": "responseError",
|
|
17498
|
+
"description": "The response code if the net error was OK and the response code was not\n200.",
|
|
17499
|
+
"optional": true,
|
|
17500
|
+
"type": "integer"
|
|
17501
|
+
},
|
|
17502
|
+
{
|
|
17503
|
+
"name": "responseErrorBody",
|
|
17504
|
+
"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.",
|
|
17505
|
+
"optional": true,
|
|
17506
|
+
"type": "string"
|
|
17507
|
+
}
|
|
17508
|
+
]
|
|
17509
|
+
},
|
|
17479
17510
|
{
|
|
17480
17511
|
"id": "CreationEventDetails",
|
|
17481
17512
|
"description": "Session event details specific to creation.",
|
|
@@ -17492,6 +17523,12 @@
|
|
|
17492
17523
|
"description": "The session if there was a newly created session. This is populated for\nall successful creation events.",
|
|
17493
17524
|
"optional": true,
|
|
17494
17525
|
"$ref": "DeviceBoundSession"
|
|
17526
|
+
},
|
|
17527
|
+
{
|
|
17528
|
+
"name": "failedRequest",
|
|
17529
|
+
"description": "Details about a failed device bound session network request if there was\none.",
|
|
17530
|
+
"optional": true,
|
|
17531
|
+
"$ref": "DeviceBoundSessionFailedRequest"
|
|
17495
17532
|
}
|
|
17496
17533
|
]
|
|
17497
17534
|
},
|
|
@@ -17531,6 +17568,12 @@
|
|
|
17531
17568
|
"name": "wasFullyProactiveRefresh",
|
|
17532
17569
|
"description": "See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.",
|
|
17533
17570
|
"type": "boolean"
|
|
17571
|
+
},
|
|
17572
|
+
{
|
|
17573
|
+
"name": "failedRequest",
|
|
17574
|
+
"description": "Details about a failed device bound session network request if there was\none.",
|
|
17575
|
+
"optional": true,
|
|
17576
|
+
"$ref": "DeviceBoundSessionFailedRequest"
|
|
17534
17577
|
}
|
|
17535
17578
|
]
|
|
17536
17579
|
},
|
|
@@ -17920,7 +17963,7 @@
|
|
|
17920
17963
|
"parameters": [
|
|
17921
17964
|
{
|
|
17922
17965
|
"name": "maxTotalBufferSize",
|
|
17923
|
-
"description": "Buffer size in bytes to use when preserving network payloads (XHRs, etc).",
|
|
17966
|
+
"description": "Buffer size in bytes to use when preserving network payloads (XHRs, etc).\nThis is the maximum number of bytes that will be collected by this\nDevTools session.",
|
|
17924
17967
|
"experimental": true,
|
|
17925
17968
|
"optional": true,
|
|
17926
17969
|
"type": "integer"
|
package/package.json
CHANGED
package/pdl/domains/Network.pdl
CHANGED
|
@@ -1113,6 +1113,8 @@ domain Network
|
|
|
1113
1113
|
command enable
|
|
1114
1114
|
parameters
|
|
1115
1115
|
# Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
1116
|
+
# This is the maximum number of bytes that will be collected by this
|
|
1117
|
+
# DevTools session.
|
|
1116
1118
|
experimental optional integer maxTotalBufferSize
|
|
1117
1119
|
# Per-resource buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
1118
1120
|
experimental optional integer maxResourceBufferSize
|
|
@@ -2182,6 +2184,20 @@ domain Network
|
|
|
2182
2184
|
FailedToUnwrapKey
|
|
2183
2185
|
SessionDeletedDuringRefresh
|
|
2184
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
|
+
|
|
2185
2201
|
# Session event details specific to creation.
|
|
2186
2202
|
experimental type CreationEventDetails extends object
|
|
2187
2203
|
properties
|
|
@@ -2190,6 +2206,9 @@ domain Network
|
|
|
2190
2206
|
# The session if there was a newly created session. This is populated for
|
|
2191
2207
|
# all successful creation events.
|
|
2192
2208
|
optional DeviceBoundSession newSession
|
|
2209
|
+
# Details about a failed device bound session network request if there was
|
|
2210
|
+
# one.
|
|
2211
|
+
optional DeviceBoundSessionFailedRequest failedRequest
|
|
2193
2212
|
|
|
2194
2213
|
# Session event details specific to refresh.
|
|
2195
2214
|
experimental type RefreshEventDetails extends object
|
|
@@ -2210,6 +2229,9 @@ domain Network
|
|
|
2210
2229
|
optional DeviceBoundSession newSession
|
|
2211
2230
|
# See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
|
|
2212
2231
|
boolean wasFullyProactiveRefresh
|
|
2232
|
+
# Details about a failed device bound session network request if there was
|
|
2233
|
+
# one.
|
|
2234
|
+
optional DeviceBoundSessionFailedRequest failedRequest
|
|
2213
2235
|
|
|
2214
2236
|
# Session event details specific to termination.
|
|
2215
2237
|
experimental type TerminationEventDetails extends object
|
package/types/protocol.d.ts
CHANGED
|
@@ -13725,6 +13725,31 @@ export namespace Protocol {
|
|
|
13725
13725
|
*/
|
|
13726
13726
|
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
13727
|
|
|
13728
|
+
/**
|
|
13729
|
+
* Details about a failed device bound session network request.
|
|
13730
|
+
* @experimental
|
|
13731
|
+
*/
|
|
13732
|
+
export interface DeviceBoundSessionFailedRequest {
|
|
13733
|
+
/**
|
|
13734
|
+
* The failed request URL.
|
|
13735
|
+
*/
|
|
13736
|
+
requestUrl: string;
|
|
13737
|
+
/**
|
|
13738
|
+
* The net error of the response if it was not OK.
|
|
13739
|
+
*/
|
|
13740
|
+
netError?: string;
|
|
13741
|
+
/**
|
|
13742
|
+
* The response code if the net error was OK and the response code was not
|
|
13743
|
+
* 200.
|
|
13744
|
+
*/
|
|
13745
|
+
responseError?: integer;
|
|
13746
|
+
/**
|
|
13747
|
+
* The body of the response if the net error was OK, the response code was
|
|
13748
|
+
* not 200, and the response body was not empty.
|
|
13749
|
+
*/
|
|
13750
|
+
responseErrorBody?: string;
|
|
13751
|
+
}
|
|
13752
|
+
|
|
13728
13753
|
/**
|
|
13729
13754
|
* Session event details specific to creation.
|
|
13730
13755
|
* @experimental
|
|
@@ -13739,6 +13764,11 @@ export namespace Protocol {
|
|
|
13739
13764
|
* all successful creation events.
|
|
13740
13765
|
*/
|
|
13741
13766
|
newSession?: DeviceBoundSession;
|
|
13767
|
+
/**
|
|
13768
|
+
* Details about a failed device bound session network request if there was
|
|
13769
|
+
* one.
|
|
13770
|
+
*/
|
|
13771
|
+
failedRequest?: DeviceBoundSessionFailedRequest;
|
|
13742
13772
|
}
|
|
13743
13773
|
|
|
13744
13774
|
export const enum RefreshEventDetailsRefreshResult {
|
|
@@ -13773,6 +13803,11 @@ export namespace Protocol {
|
|
|
13773
13803
|
* See comments on `net::device_bound_sessions::RefreshEventResult::was_fully_proactive_refresh`.
|
|
13774
13804
|
*/
|
|
13775
13805
|
wasFullyProactiveRefresh: boolean;
|
|
13806
|
+
/**
|
|
13807
|
+
* Details about a failed device bound session network request if there was
|
|
13808
|
+
* one.
|
|
13809
|
+
*/
|
|
13810
|
+
failedRequest?: DeviceBoundSessionFailedRequest;
|
|
13776
13811
|
}
|
|
13777
13812
|
|
|
13778
13813
|
export const enum TerminationEventDetailsDeletionReason {
|
|
@@ -14028,6 +14063,8 @@ export namespace Protocol {
|
|
|
14028
14063
|
export interface EnableRequest {
|
|
14029
14064
|
/**
|
|
14030
14065
|
* Buffer size in bytes to use when preserving network payloads (XHRs, etc).
|
|
14066
|
+
* This is the maximum number of bytes that will be collected by this
|
|
14067
|
+
* DevTools session.
|
|
14031
14068
|
* @experimental
|
|
14032
14069
|
*/
|
|
14033
14070
|
maxTotalBufferSize?: integer;
|