devtools-protocol 0.0.1213968 → 0.0.1218079
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 +34 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +9 -0
- package/types/protocol.d.ts +11 -0
@@ -19816,6 +19816,11 @@
|
|
19816
19816
|
"name": "targetId",
|
19817
19817
|
"optional": true,
|
19818
19818
|
"$ref": "Target.TargetID"
|
19819
|
+
},
|
19820
|
+
{
|
19821
|
+
"name": "routerRules",
|
19822
|
+
"optional": true,
|
19823
|
+
"type": "string"
|
19819
19824
|
}
|
19820
19825
|
]
|
19821
19826
|
},
|
@@ -24345,6 +24350,27 @@
|
|
24345
24350
|
"PrefetchSuccessfulButNotUsed",
|
24346
24351
|
"PrefetchNotUsedProbeFailed"
|
24347
24352
|
]
|
24353
|
+
},
|
24354
|
+
{
|
24355
|
+
"id": "PrerenderMismatchedHeaders",
|
24356
|
+
"description": "Information of headers to be displayed when the header mismatch occurred.",
|
24357
|
+
"type": "object",
|
24358
|
+
"properties": [
|
24359
|
+
{
|
24360
|
+
"name": "headerName",
|
24361
|
+
"type": "string"
|
24362
|
+
},
|
24363
|
+
{
|
24364
|
+
"name": "initialValue",
|
24365
|
+
"optional": true,
|
24366
|
+
"type": "string"
|
24367
|
+
},
|
24368
|
+
{
|
24369
|
+
"name": "activationValue",
|
24370
|
+
"optional": true,
|
24371
|
+
"type": "string"
|
24372
|
+
}
|
24373
|
+
]
|
24348
24374
|
}
|
24349
24375
|
],
|
24350
24376
|
"commands": [
|
@@ -24454,6 +24480,14 @@
|
|
24454
24480
|
"description": "This is used to give users more information about the name of Mojo interface\nthat is incompatible with prerender and has caused the cancellation of the attempt.",
|
24455
24481
|
"optional": true,
|
24456
24482
|
"type": "string"
|
24483
|
+
},
|
24484
|
+
{
|
24485
|
+
"name": "mismatchedHeaders",
|
24486
|
+
"optional": true,
|
24487
|
+
"type": "array",
|
24488
|
+
"items": {
|
24489
|
+
"$ref": "PrerenderMismatchedHeaders"
|
24490
|
+
}
|
24457
24491
|
}
|
24458
24492
|
]
|
24459
24493
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -9344,6 +9344,7 @@ experimental domain ServiceWorker
|
|
9344
9344
|
optional number scriptResponseTime
|
9345
9345
|
optional array of Target.TargetID controlledClients
|
9346
9346
|
optional Target.TargetID targetId
|
9347
|
+
optional string routerRules
|
9347
9348
|
|
9348
9349
|
# ServiceWorker error message.
|
9349
9350
|
type ServiceWorkerErrorMessage extends object
|
@@ -11571,6 +11572,13 @@ experimental domain Preload
|
|
11571
11572
|
PrefetchStatus prefetchStatus
|
11572
11573
|
Network.RequestId requestId
|
11573
11574
|
|
11575
|
+
# Information of headers to be displayed when the header mismatch occurred.
|
11576
|
+
type PrerenderMismatchedHeaders extends object
|
11577
|
+
properties
|
11578
|
+
string headerName
|
11579
|
+
optional string initialValue
|
11580
|
+
optional string activationValue
|
11581
|
+
|
11574
11582
|
# Fired when a prerender attempt is updated.
|
11575
11583
|
event prerenderStatusUpdated
|
11576
11584
|
parameters
|
@@ -11580,6 +11588,7 @@ experimental domain Preload
|
|
11580
11588
|
# This is used to give users more information about the name of Mojo interface
|
11581
11589
|
# that is incompatible with prerender and has caused the cancellation of the attempt.
|
11582
11590
|
optional string disallowedMojoInterface
|
11591
|
+
optional array of PrerenderMismatchedHeaders mismatchedHeaders
|
11583
11592
|
|
11584
11593
|
# Send a list of sources for all preloading attempts in a document.
|
11585
11594
|
event preloadingAttemptSourcesUpdated
|
package/types/protocol.d.ts
CHANGED
@@ -15018,6 +15018,7 @@ export namespace Protocol {
|
|
15018
15018
|
scriptResponseTime?: number;
|
15019
15019
|
controlledClients?: Target.TargetID[];
|
15020
15020
|
targetId?: Target.TargetID;
|
15021
|
+
routerRules?: string;
|
15021
15022
|
}
|
15022
15023
|
|
15023
15024
|
/**
|
@@ -17643,6 +17644,15 @@ export namespace Protocol {
|
|
17643
17644
|
*/
|
17644
17645
|
export type PrefetchStatus = ('PrefetchAllowed' | 'PrefetchFailedIneligibleRedirect' | 'PrefetchFailedInvalidRedirect' | 'PrefetchFailedMIMENotSupported' | 'PrefetchFailedNetError' | 'PrefetchFailedNon2XX' | 'PrefetchFailedPerPageLimitExceeded' | 'PrefetchEvicted' | 'PrefetchHeldback' | 'PrefetchIneligibleRetryAfter' | 'PrefetchIsPrivacyDecoy' | 'PrefetchIsStale' | 'PrefetchNotEligibleBrowserContextOffTheRecord' | 'PrefetchNotEligibleDataSaverEnabled' | 'PrefetchNotEligibleExistingProxy' | 'PrefetchNotEligibleHostIsNonUnique' | 'PrefetchNotEligibleNonDefaultStoragePartition' | 'PrefetchNotEligibleSameSiteCrossOriginPrefetchRequiredProxy' | 'PrefetchNotEligibleSchemeIsNotHttps' | 'PrefetchNotEligibleUserHasCookies' | 'PrefetchNotEligibleUserHasServiceWorker' | 'PrefetchNotEligibleBatterySaverEnabled' | 'PrefetchNotEligiblePreloadingDisabled' | 'PrefetchNotFinishedInTime' | 'PrefetchNotStarted' | 'PrefetchNotUsedCookiesChanged' | 'PrefetchProxyNotAvailable' | 'PrefetchResponseUsed' | 'PrefetchSuccessfulButNotUsed' | 'PrefetchNotUsedProbeFailed');
|
17645
17646
|
|
17647
|
+
/**
|
17648
|
+
* Information of headers to be displayed when the header mismatch occurred.
|
17649
|
+
*/
|
17650
|
+
export interface PrerenderMismatchedHeaders {
|
17651
|
+
headerName: string;
|
17652
|
+
initialValue?: string;
|
17653
|
+
activationValue?: string;
|
17654
|
+
}
|
17655
|
+
|
17646
17656
|
/**
|
17647
17657
|
* Upsert. Currently, it is only emitted when a rule set added.
|
17648
17658
|
*/
|
@@ -17692,6 +17702,7 @@ export namespace Protocol {
|
|
17692
17702
|
* that is incompatible with prerender and has caused the cancellation of the attempt.
|
17693
17703
|
*/
|
17694
17704
|
disallowedMojoInterface?: string;
|
17705
|
+
mismatchedHeaders?: PrerenderMismatchedHeaders[];
|
17695
17706
|
}
|
17696
17707
|
|
17697
17708
|
/**
|