devtools-protocol 0.0.1568893 → 0.0.1573491

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.
@@ -15595,8 +15595,6 @@
15595
15595
  "PreflightInvalidAllowCredentials",
15596
15596
  "PreflightMissingAllowExternal",
15597
15597
  "PreflightInvalidAllowExternal",
15598
- "PreflightMissingAllowPrivateNetwork",
15599
- "PreflightInvalidAllowPrivateNetwork",
15600
15598
  "InvalidAllowMethodsPreflightResponse",
15601
15599
  "InvalidAllowHeadersPreflightResponse",
15602
15600
  "MethodDisallowedByPreflightResponse",
@@ -15604,12 +15602,7 @@
15604
15602
  "RedirectContainsCredentials",
15605
15603
  "InsecurePrivateNetwork",
15606
15604
  "InvalidPrivateNetworkAccess",
15607
- "UnexpectedPrivateNetworkAccess",
15608
15605
  "NoCorsRedirectModeNotFollow",
15609
- "PreflightMissingPrivateNetworkAccessId",
15610
- "PreflightMissingPrivateNetworkAccessName",
15611
- "PrivateNetworkAccessPermissionUnavailable",
15612
- "PrivateNetworkAccessPermissionDenied",
15613
15606
  "LocalNetworkAccessPermissionDenied"
15614
15607
  ]
15615
15608
  },
@@ -17156,6 +17149,32 @@
17156
17149
  }
17157
17150
  ]
17158
17151
  },
17152
+ {
17153
+ "id": "DeviceBoundSessionWithUsage",
17154
+ "description": "How a device bound session was used during a request.",
17155
+ "experimental": true,
17156
+ "type": "object",
17157
+ "properties": [
17158
+ {
17159
+ "name": "sessionKey",
17160
+ "description": "The key for the session.",
17161
+ "$ref": "DeviceBoundSessionKey"
17162
+ },
17163
+ {
17164
+ "name": "usage",
17165
+ "description": "How the session was used (or not used).",
17166
+ "type": "string",
17167
+ "enum": [
17168
+ "NotInScope",
17169
+ "InScopeRefreshNotYetNeeded",
17170
+ "InScopeRefreshNotAllowed",
17171
+ "ProactiveRefreshNotPossible",
17172
+ "ProactiveRefreshAttempted",
17173
+ "Deferred"
17174
+ ]
17175
+ }
17176
+ ]
17177
+ },
17159
17178
  {
17160
17179
  "id": "DeviceBoundSessionCookieCraving",
17161
17180
  "description": "A device bound session's cookie craving.",
@@ -19345,6 +19364,15 @@
19345
19364
  "experimental": true,
19346
19365
  "$ref": "ConnectTiming"
19347
19366
  },
19367
+ {
19368
+ "name": "deviceBoundSessionUsages",
19369
+ "description": "How the request site's device bound sessions were used during this request.",
19370
+ "optional": true,
19371
+ "type": "array",
19372
+ "items": {
19373
+ "$ref": "DeviceBoundSessionWithUsage"
19374
+ }
19375
+ },
19348
19376
  {
19349
19377
  "name": "clientSecurityState",
19350
19378
  "description": "The client security state set for the request.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1568893",
3
+ "version": "0.0.1573491",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -333,8 +333,6 @@ domain Network
333
333
  # TODO(https://crbug.com/1263483): Remove this once frontend code does
334
334
  # not reference it anymore.
335
335
  PreflightInvalidAllowExternal
336
- PreflightMissingAllowPrivateNetwork
337
- PreflightInvalidAllowPrivateNetwork
338
336
  InvalidAllowMethodsPreflightResponse
339
337
  InvalidAllowHeadersPreflightResponse
340
338
  MethodDisallowedByPreflightResponse
@@ -345,25 +343,7 @@ domain Network
345
343
  # Request carried a target IP address space property that did not match
346
344
  # the target resource's address space.
347
345
  InvalidPrivateNetworkAccess
348
- # Request was a private network request yet did not carry a target IP
349
- # address space.
350
- UnexpectedPrivateNetworkAccess
351
346
  NoCorsRedirectModeNotFollow
352
- # Request was a private network request and needed user permission yet did
353
- # not carry `Private-Network-Access-Id` in the preflight response.
354
- # https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
355
- PreflightMissingPrivateNetworkAccessId
356
- # Request was a private network request and needed user permission yet did
357
- # not carry `Private-Network-Access-Name` in the preflight response.
358
- # https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
359
- PreflightMissingPrivateNetworkAccessName
360
- # Request was a private network request and needed user permission yet not
361
- # able to request for permission.
362
- # https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
363
- PrivateNetworkAccessPermissionUnavailable
364
- # Request was a private network request and is denied by user permission.
365
- # https://github.com/WICG/private-network-access/blob/main/permission_prompt/explainer.md
366
- PrivateNetworkAccessPermissionDenied
367
347
  # Request was a local network request and is denied by user permission.
368
348
  # https://wicg.github.io/local-network-access/
369
349
  LocalNetworkAccessPermissionDenied
@@ -1832,6 +1812,8 @@ domain Network
1832
1812
  Headers headers
1833
1813
  # Connection timing information for the request.
1834
1814
  experimental ConnectTiming connectTiming
1815
+ # How the request site's device bound sessions were used during this request.
1816
+ optional array of DeviceBoundSessionWithUsage deviceBoundSessionUsages
1835
1817
  # The client security state set for the request.
1836
1818
  optional ClientSecurityState clientSecurityState
1837
1819
  # Whether the site has partitioned cookies stored in a partition different than the current one.
@@ -2053,6 +2035,20 @@ domain Network
2053
2035
  # The id of the session.
2054
2036
  string id
2055
2037
 
2038
+ # How a device bound session was used during a request.
2039
+ experimental type DeviceBoundSessionWithUsage extends object
2040
+ properties
2041
+ # The key for the session.
2042
+ DeviceBoundSessionKey sessionKey
2043
+ # How the session was used (or not used).
2044
+ enum usage
2045
+ NotInScope
2046
+ InScopeRefreshNotYetNeeded
2047
+ InScopeRefreshNotAllowed
2048
+ ProactiveRefreshNotPossible
2049
+ ProactiveRefreshAttempted
2050
+ Deferred
2051
+
2056
2052
  # A device bound session's cookie craving.
2057
2053
  experimental type DeviceBoundSessionCookieCraving extends object
2058
2054
  properties
@@ -12482,7 +12482,7 @@ export namespace Protocol {
12482
12482
  /**
12483
12483
  * The reason why request was blocked.
12484
12484
  */
12485
- export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'PreflightMissingAllowPrivateNetwork' | 'PreflightInvalidAllowPrivateNetwork' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'UnexpectedPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow' | 'PreflightMissingPrivateNetworkAccessId' | 'PreflightMissingPrivateNetworkAccessName' | 'PrivateNetworkAccessPermissionUnavailable' | 'PrivateNetworkAccessPermissionDenied' | 'LocalNetworkAccessPermissionDenied');
12485
+ export type CorsError = ('DisallowedByMode' | 'InvalidResponse' | 'WildcardOriginNotAllowed' | 'MissingAllowOriginHeader' | 'MultipleAllowOriginValues' | 'InvalidAllowOriginValue' | 'AllowOriginMismatch' | 'InvalidAllowCredentials' | 'CorsDisabledScheme' | 'PreflightInvalidStatus' | 'PreflightDisallowedRedirect' | 'PreflightWildcardOriginNotAllowed' | 'PreflightMissingAllowOriginHeader' | 'PreflightMultipleAllowOriginValues' | 'PreflightInvalidAllowOriginValue' | 'PreflightAllowOriginMismatch' | 'PreflightInvalidAllowCredentials' | 'PreflightMissingAllowExternal' | 'PreflightInvalidAllowExternal' | 'InvalidAllowMethodsPreflightResponse' | 'InvalidAllowHeadersPreflightResponse' | 'MethodDisallowedByPreflightResponse' | 'HeaderDisallowedByPreflightResponse' | 'RedirectContainsCredentials' | 'InsecurePrivateNetwork' | 'InvalidPrivateNetworkAccess' | 'NoCorsRedirectModeNotFollow' | 'LocalNetworkAccessPermissionDenied');
12486
12486
 
12487
12487
  export interface CorsErrorStatus {
12488
12488
  corsError: CorsError;
@@ -13544,6 +13544,30 @@ export namespace Protocol {
13544
13544
  id: string;
13545
13545
  }
13546
13546
 
13547
+ export const enum DeviceBoundSessionWithUsageUsage {
13548
+ NotInScope = 'NotInScope',
13549
+ InScopeRefreshNotYetNeeded = 'InScopeRefreshNotYetNeeded',
13550
+ InScopeRefreshNotAllowed = 'InScopeRefreshNotAllowed',
13551
+ ProactiveRefreshNotPossible = 'ProactiveRefreshNotPossible',
13552
+ ProactiveRefreshAttempted = 'ProactiveRefreshAttempted',
13553
+ Deferred = 'Deferred',
13554
+ }
13555
+
13556
+ /**
13557
+ * How a device bound session was used during a request.
13558
+ * @experimental
13559
+ */
13560
+ export interface DeviceBoundSessionWithUsage {
13561
+ /**
13562
+ * The key for the session.
13563
+ */
13564
+ sessionKey: DeviceBoundSessionKey;
13565
+ /**
13566
+ * How the session was used (or not used).
13567
+ */
13568
+ usage: ('NotInScope' | 'InScopeRefreshNotYetNeeded' | 'InScopeRefreshNotAllowed' | 'ProactiveRefreshNotPossible' | 'ProactiveRefreshAttempted' | 'Deferred');
13569
+ }
13570
+
13547
13571
  /**
13548
13572
  * A device bound session's cookie craving.
13549
13573
  * @experimental
@@ -15043,6 +15067,10 @@ export namespace Protocol {
15043
15067
  * @experimental
15044
15068
  */
15045
15069
  connectTiming: ConnectTiming;
15070
+ /**
15071
+ * How the request site's device bound sessions were used during this request.
15072
+ */
15073
+ deviceBoundSessionUsages?: DeviceBoundSessionWithUsage[];
15046
15074
  /**
15047
15075
  * The client security state set for the request.
15048
15076
  */