devtools-protocol 0.0.1587613 → 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 +43 -0
- package/package.json +1 -1
- package/pdl/domains/Network.pdl +20 -0
- package/types/protocol.d.ts +35 -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
|
},
|
package/package.json
CHANGED
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
|
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 {
|