devtools-protocol 0.0.1212569 → 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 +47 -0
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +15 -0
- package/types/protocol.d.ts +14 -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
|
},
|
@@ -20459,6 +20464,15 @@
|
|
20459
20464
|
}
|
20460
20465
|
]
|
20461
20466
|
},
|
20467
|
+
{
|
20468
|
+
"id": "AttributionReportingTriggerDataMatching",
|
20469
|
+
"experimental": true,
|
20470
|
+
"type": "string",
|
20471
|
+
"enum": [
|
20472
|
+
"exact",
|
20473
|
+
"modulus"
|
20474
|
+
]
|
20475
|
+
},
|
20462
20476
|
{
|
20463
20477
|
"id": "AttributionReportingSourceRegistration",
|
20464
20478
|
"experimental": true,
|
@@ -20527,6 +20541,10 @@
|
|
20527
20541
|
"name": "debugKey",
|
20528
20542
|
"optional": true,
|
20529
20543
|
"$ref": "UnsignedInt64AsBase10"
|
20544
|
+
},
|
20545
|
+
{
|
20546
|
+
"name": "triggerDataMatching",
|
20547
|
+
"$ref": "AttributionReportingTriggerDataMatching"
|
20530
20548
|
}
|
20531
20549
|
]
|
20532
20550
|
},
|
@@ -24332,6 +24350,27 @@
|
|
24332
24350
|
"PrefetchSuccessfulButNotUsed",
|
24333
24351
|
"PrefetchNotUsedProbeFailed"
|
24334
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
|
+
]
|
24335
24374
|
}
|
24336
24375
|
],
|
24337
24376
|
"commands": [
|
@@ -24441,6 +24480,14 @@
|
|
24441
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.",
|
24442
24481
|
"optional": true,
|
24443
24482
|
"type": "string"
|
24483
|
+
},
|
24484
|
+
{
|
24485
|
+
"name": "mismatchedHeaders",
|
24486
|
+
"optional": true,
|
24487
|
+
"type": "array",
|
24488
|
+
"items": {
|
24489
|
+
"$ref": "PrerenderMismatchedHeaders"
|
24490
|
+
}
|
24444
24491
|
}
|
24445
24492
|
]
|
24446
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
|
@@ -9927,6 +9928,11 @@ experimental domain Storage
|
|
9927
9928
|
# duration in seconds
|
9928
9929
|
array of integer ends
|
9929
9930
|
|
9931
|
+
experimental type AttributionReportingTriggerDataMatching extends string
|
9932
|
+
enum
|
9933
|
+
exact
|
9934
|
+
modulus
|
9935
|
+
|
9930
9936
|
experimental type AttributionReportingSourceRegistration extends object
|
9931
9937
|
properties
|
9932
9938
|
Network.TimeSinceEpoch time
|
@@ -9944,6 +9950,7 @@ experimental domain Storage
|
|
9944
9950
|
array of AttributionReportingFilterDataEntry filterData
|
9945
9951
|
array of AttributionReportingAggregationKeysEntry aggregationKeys
|
9946
9952
|
optional UnsignedInt64AsBase10 debugKey
|
9953
|
+
AttributionReportingTriggerDataMatching triggerDataMatching
|
9947
9954
|
|
9948
9955
|
experimental type AttributionReportingSourceRegistrationResult extends string
|
9949
9956
|
enum
|
@@ -11565,6 +11572,13 @@ experimental domain Preload
|
|
11565
11572
|
PrefetchStatus prefetchStatus
|
11566
11573
|
Network.RequestId requestId
|
11567
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
|
+
|
11568
11582
|
# Fired when a prerender attempt is updated.
|
11569
11583
|
event prerenderStatusUpdated
|
11570
11584
|
parameters
|
@@ -11574,6 +11588,7 @@ experimental domain Preload
|
|
11574
11588
|
# This is used to give users more information about the name of Mojo interface
|
11575
11589
|
# that is incompatible with prerender and has caused the cancellation of the attempt.
|
11576
11590
|
optional string disallowedMojoInterface
|
11591
|
+
optional array of PrerenderMismatchedHeaders mismatchedHeaders
|
11577
11592
|
|
11578
11593
|
# Send a list of sources for all preloading attempts in a document.
|
11579
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
|
/**
|
@@ -15304,6 +15305,8 @@ export namespace Protocol {
|
|
15304
15305
|
ends: integer[];
|
15305
15306
|
}
|
15306
15307
|
|
15308
|
+
export type AttributionReportingTriggerDataMatching = ('exact' | 'modulus');
|
15309
|
+
|
15307
15310
|
export interface AttributionReportingSourceRegistration {
|
15308
15311
|
time: Network.TimeSinceEpoch;
|
15309
15312
|
/**
|
@@ -15324,6 +15327,7 @@ export namespace Protocol {
|
|
15324
15327
|
filterData: AttributionReportingFilterDataEntry[];
|
15325
15328
|
aggregationKeys: AttributionReportingAggregationKeysEntry[];
|
15326
15329
|
debugKey?: UnsignedInt64AsBase10;
|
15330
|
+
triggerDataMatching: AttributionReportingTriggerDataMatching;
|
15327
15331
|
}
|
15328
15332
|
|
15329
15333
|
export type AttributionReportingSourceRegistrationResult = ('success' | 'internalError' | 'insufficientSourceCapacity' | 'insufficientUniqueDestinationCapacity' | 'excessiveReportingOrigins' | 'prohibitedByBrowserPolicy' | 'successNoised' | 'destinationReportingLimitReached' | 'destinationGlobalLimitReached' | 'destinationBothLimitsReached' | 'reportingOriginsPerSiteLimitReached' | 'exceedsMaxChannelCapacity');
|
@@ -17640,6 +17644,15 @@ export namespace Protocol {
|
|
17640
17644
|
*/
|
17641
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');
|
17642
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
|
+
|
17643
17656
|
/**
|
17644
17657
|
* Upsert. Currently, it is only emitted when a rule set added.
|
17645
17658
|
*/
|
@@ -17689,6 +17702,7 @@ export namespace Protocol {
|
|
17689
17702
|
* that is incompatible with prerender and has caused the cancellation of the attempt.
|
17690
17703
|
*/
|
17691
17704
|
disallowedMojoInterface?: string;
|
17705
|
+
mismatchedHeaders?: PrerenderMismatchedHeaders[];
|
17692
17706
|
}
|
17693
17707
|
|
17694
17708
|
/**
|