devtools-protocol 0.0.1227218 → 0.0.1227788
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.
@@ -12262,6 +12262,17 @@
|
|
12262
12262
|
"unspecifiedReason"
|
12263
12263
|
]
|
12264
12264
|
},
|
12265
|
+
{
|
12266
|
+
"id": "ServiceWorkerRouterInfo",
|
12267
|
+
"experimental": true,
|
12268
|
+
"type": "object",
|
12269
|
+
"properties": [
|
12270
|
+
{
|
12271
|
+
"name": "ruleIdMatched",
|
12272
|
+
"type": "integer"
|
12273
|
+
}
|
12274
|
+
]
|
12275
|
+
},
|
12265
12276
|
{
|
12266
12277
|
"id": "Response",
|
12267
12278
|
"description": "HTTP response data.",
|
@@ -12352,6 +12363,13 @@
|
|
12352
12363
|
"optional": true,
|
12353
12364
|
"type": "boolean"
|
12354
12365
|
},
|
12366
|
+
{
|
12367
|
+
"name": "serviceWorkerRouterInfo",
|
12368
|
+
"description": "Infomation about how Service Worker Static Router was used.",
|
12369
|
+
"experimental": true,
|
12370
|
+
"optional": true,
|
12371
|
+
"$ref": "ServiceWorkerRouterInfo"
|
12372
|
+
},
|
12355
12373
|
{
|
12356
12374
|
"name": "encodedDataLength",
|
12357
12375
|
"description": "Total number of bytes received for this request so far.",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -5679,6 +5679,10 @@ domain Network
|
|
5679
5679
|
# This value is used when the reason is unknown.
|
5680
5680
|
unspecifiedReason
|
5681
5681
|
|
5682
|
+
experimental type ServiceWorkerRouterInfo extends object
|
5683
|
+
properties
|
5684
|
+
integer ruleIdMatched
|
5685
|
+
|
5682
5686
|
# HTTP response data.
|
5683
5687
|
type Response extends object
|
5684
5688
|
properties
|
@@ -5712,6 +5716,8 @@ domain Network
|
|
5712
5716
|
optional boolean fromServiceWorker
|
5713
5717
|
# Specifies that the request was served from the prefetch cache.
|
5714
5718
|
optional boolean fromPrefetchCache
|
5719
|
+
# Infomation about how Service Worker Static Router was used.
|
5720
|
+
experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
|
5715
5721
|
# Total number of bytes received for this request so far.
|
5716
5722
|
number encodedDataLength
|
5717
5723
|
# Timing information for the given request.
|
package/types/protocol.d.ts
CHANGED
@@ -10239,6 +10239,10 @@ export namespace Protocol {
|
|
10239
10239
|
*/
|
10240
10240
|
export type AlternateProtocolUsage = ('alternativeJobWonWithoutRace' | 'alternativeJobWonRace' | 'mainJobWonRace' | 'mappingMissing' | 'broken' | 'dnsAlpnH3JobWonWithoutRace' | 'dnsAlpnH3JobWonRace' | 'unspecifiedReason');
|
10241
10241
|
|
10242
|
+
export interface ServiceWorkerRouterInfo {
|
10243
|
+
ruleIdMatched: integer;
|
10244
|
+
}
|
10245
|
+
|
10242
10246
|
/**
|
10243
10247
|
* HTTP response data.
|
10244
10248
|
*/
|
@@ -10303,6 +10307,10 @@ export namespace Protocol {
|
|
10303
10307
|
* Specifies that the request was served from the prefetch cache.
|
10304
10308
|
*/
|
10305
10309
|
fromPrefetchCache?: boolean;
|
10310
|
+
/**
|
10311
|
+
* Infomation about how Service Worker Static Router was used.
|
10312
|
+
*/
|
10313
|
+
serviceWorkerRouterInfo?: ServiceWorkerRouterInfo;
|
10306
10314
|
/**
|
10307
10315
|
* Total number of bytes received for this request so far.
|
10308
10316
|
*/
|