devtools-protocol 0.0.1161598 → 0.0.1163380
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.
@@ -16828,6 +16828,13 @@
|
|
16828
16828
|
"experimental": true,
|
16829
16829
|
"optional": true,
|
16830
16830
|
"type": "boolean"
|
16831
|
+
},
|
16832
|
+
{
|
16833
|
+
"name": "runImmediately",
|
16834
|
+
"description": "If true, runs the script immediately on existing execution contexts or worlds.\nDefault: false.",
|
16835
|
+
"experimental": true,
|
16836
|
+
"optional": true,
|
16837
|
+
"type": "boolean"
|
16831
16838
|
}
|
16832
16839
|
],
|
16833
16840
|
"returns": [
|
@@ -20286,6 +20293,18 @@
|
|
20286
20293
|
}
|
20287
20294
|
}
|
20288
20295
|
]
|
20296
|
+
},
|
20297
|
+
{
|
20298
|
+
"name": "setAttributionReportingLocalTestingMode",
|
20299
|
+
"description": "https://wicg.github.io/attribution-reporting-api/",
|
20300
|
+
"experimental": true,
|
20301
|
+
"parameters": [
|
20302
|
+
{
|
20303
|
+
"name": "enabled",
|
20304
|
+
"description": "If enabled, noise is suppressed and reports are sent immediately.",
|
20305
|
+
"type": "boolean"
|
20306
|
+
}
|
20307
|
+
]
|
20289
20308
|
}
|
20290
20309
|
],
|
20291
20310
|
"events": [
|
@@ -23643,6 +23662,14 @@
|
|
23643
23662
|
{
|
23644
23663
|
"name": "disabledByBatterySaver",
|
23645
23664
|
"type": "boolean"
|
23665
|
+
},
|
23666
|
+
{
|
23667
|
+
"name": "disabledByHoldbackPrefetchSpeculationRules",
|
23668
|
+
"type": "boolean"
|
23669
|
+
},
|
23670
|
+
{
|
23671
|
+
"name": "disabledByHoldbackPrerenderSpeculationRules",
|
23672
|
+
"type": "boolean"
|
23646
23673
|
}
|
23647
23674
|
]
|
23648
23675
|
},
|
@@ -23670,6 +23697,10 @@
|
|
23670
23697
|
{
|
23671
23698
|
"name": "prefetchStatus",
|
23672
23699
|
"$ref": "PrefetchStatus"
|
23700
|
+
},
|
23701
|
+
{
|
23702
|
+
"name": "requestId",
|
23703
|
+
"$ref": "Network.RequestId"
|
23673
23704
|
}
|
23674
23705
|
]
|
23675
23706
|
},
|
@@ -23689,6 +23720,12 @@
|
|
23689
23720
|
"name": "prerenderStatus",
|
23690
23721
|
"optional": true,
|
23691
23722
|
"$ref": "PrerenderFinalStatus"
|
23723
|
+
},
|
23724
|
+
{
|
23725
|
+
"name": "disallowedMojoInterface",
|
23726
|
+
"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.",
|
23727
|
+
"optional": true,
|
23728
|
+
"type": "string"
|
23692
23729
|
}
|
23693
23730
|
]
|
23694
23731
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -7773,6 +7773,9 @@ domain Page
|
|
7773
7773
|
# Specifies whether command line API should be available to the script, defaults
|
7774
7774
|
# to false.
|
7775
7775
|
experimental optional boolean includeCommandLineAPI
|
7776
|
+
# If true, runs the script immediately on existing execution contexts or worlds.
|
7777
|
+
# Default: false.
|
7778
|
+
experimental optional boolean runImmediately
|
7776
7779
|
returns
|
7777
7780
|
# Identifier of the added script.
|
7778
7781
|
ScriptIdentifier identifier
|
@@ -9631,6 +9634,12 @@ experimental domain Storage
|
|
9631
9634
|
parameters
|
9632
9635
|
string bucketId
|
9633
9636
|
|
9637
|
+
# https://wicg.github.io/attribution-reporting-api/
|
9638
|
+
experimental command setAttributionReportingLocalTestingMode
|
9639
|
+
parameters
|
9640
|
+
# If enabled, noise is suppressed and reports are sent immediately.
|
9641
|
+
boolean enabled
|
9642
|
+
|
9634
9643
|
# The SystemInfo domain defines methods and events for querying low-level system information.
|
9635
9644
|
experimental domain SystemInfo
|
9636
9645
|
|
@@ -11164,6 +11173,8 @@ experimental domain Preload
|
|
11164
11173
|
boolean disabledByPreference
|
11165
11174
|
boolean disabledByDataSaver
|
11166
11175
|
boolean disabledByBatterySaver
|
11176
|
+
boolean disabledByHoldbackPrefetchSpeculationRules
|
11177
|
+
boolean disabledByHoldbackPrerenderSpeculationRules
|
11167
11178
|
|
11168
11179
|
# Preloading status values, see also PreloadingTriggeringOutcome. This
|
11169
11180
|
# status is shared by prefetchStatusUpdated and prerenderStatusUpdated.
|
@@ -11227,6 +11238,7 @@ experimental domain Preload
|
|
11227
11238
|
string prefetchUrl
|
11228
11239
|
PreloadingStatus status
|
11229
11240
|
PrefetchStatus prefetchStatus
|
11241
|
+
Network.RequestId requestId
|
11230
11242
|
|
11231
11243
|
# Fired when a prerender attempt is updated.
|
11232
11244
|
event prerenderStatusUpdated
|
@@ -11234,6 +11246,9 @@ experimental domain Preload
|
|
11234
11246
|
PreloadingAttemptKey key
|
11235
11247
|
PreloadingStatus status
|
11236
11248
|
optional PrerenderFinalStatus prerenderStatus
|
11249
|
+
# This is used to give users more information about the name of Mojo interface
|
11250
|
+
# that is incompatible with prerender and has caused the cancellation of the attempt.
|
11251
|
+
optional string disallowedMojoInterface
|
11237
11252
|
|
11238
11253
|
# Send a list of sources for all preloading attempts in a document.
|
11239
11254
|
event preloadingAttemptSourcesUpdated
|
@@ -4272,6 +4272,13 @@ export namespace ProtocolMapping {
|
|
4272
4272
|
paramsType: [];
|
4273
4273
|
returnType: Protocol.Storage.RunBounceTrackingMitigationsResponse;
|
4274
4274
|
};
|
4275
|
+
/**
|
4276
|
+
* https://wicg.github.io/attribution-reporting-api/
|
4277
|
+
*/
|
4278
|
+
'Storage.setAttributionReportingLocalTestingMode': {
|
4279
|
+
paramsType: [Protocol.Storage.SetAttributionReportingLocalTestingModeRequest];
|
4280
|
+
returnType: void;
|
4281
|
+
};
|
4275
4282
|
/**
|
4276
4283
|
* Returns information about the system.
|
4277
4284
|
*/
|
@@ -3419,6 +3419,11 @@ export namespace ProtocolProxyApi {
|
|
3419
3419
|
*/
|
3420
3420
|
runBounceTrackingMitigations(): Promise<Protocol.Storage.RunBounceTrackingMitigationsResponse>;
|
3421
3421
|
|
3422
|
+
/**
|
3423
|
+
* https://wicg.github.io/attribution-reporting-api/
|
3424
|
+
*/
|
3425
|
+
setAttributionReportingLocalTestingMode(params: Protocol.Storage.SetAttributionReportingLocalTestingModeRequest): Promise<void>;
|
3426
|
+
|
3422
3427
|
/**
|
3423
3428
|
* A cache's contents have been modified.
|
3424
3429
|
*/
|
package/types/protocol.d.ts
CHANGED
@@ -13204,6 +13204,11 @@ export namespace Protocol {
|
|
13204
13204
|
* to false.
|
13205
13205
|
*/
|
13206
13206
|
includeCommandLineAPI?: boolean;
|
13207
|
+
/**
|
13208
|
+
* If true, runs the script immediately on existing execution contexts or worlds.
|
13209
|
+
* Default: false.
|
13210
|
+
*/
|
13211
|
+
runImmediately?: boolean;
|
13207
13212
|
}
|
13208
13213
|
|
13209
13214
|
export interface AddScriptToEvaluateOnNewDocumentResponse {
|
@@ -15269,6 +15274,13 @@ export namespace Protocol {
|
|
15269
15274
|
deletedSites: string[];
|
15270
15275
|
}
|
15271
15276
|
|
15277
|
+
export interface SetAttributionReportingLocalTestingModeRequest {
|
15278
|
+
/**
|
15279
|
+
* If enabled, noise is suppressed and reports are sent immediately.
|
15280
|
+
*/
|
15281
|
+
enabled: boolean;
|
15282
|
+
}
|
15283
|
+
|
15272
15284
|
/**
|
15273
15285
|
* A cache's contents have been modified.
|
15274
15286
|
*/
|
@@ -17346,6 +17358,8 @@ export namespace Protocol {
|
|
17346
17358
|
disabledByPreference: boolean;
|
17347
17359
|
disabledByDataSaver: boolean;
|
17348
17360
|
disabledByBatterySaver: boolean;
|
17361
|
+
disabledByHoldbackPrefetchSpeculationRules: boolean;
|
17362
|
+
disabledByHoldbackPrerenderSpeculationRules: boolean;
|
17349
17363
|
}
|
17350
17364
|
|
17351
17365
|
/**
|
@@ -17360,6 +17374,7 @@ export namespace Protocol {
|
|
17360
17374
|
prefetchUrl: string;
|
17361
17375
|
status: PreloadingStatus;
|
17362
17376
|
prefetchStatus: PrefetchStatus;
|
17377
|
+
requestId: Network.RequestId;
|
17363
17378
|
}
|
17364
17379
|
|
17365
17380
|
/**
|
@@ -17369,6 +17384,11 @@ export namespace Protocol {
|
|
17369
17384
|
key: PreloadingAttemptKey;
|
17370
17385
|
status: PreloadingStatus;
|
17371
17386
|
prerenderStatus?: PrerenderFinalStatus;
|
17387
|
+
/**
|
17388
|
+
* This is used to give users more information about the name of Mojo interface
|
17389
|
+
* that is incompatible with prerender and has caused the cancellation of the attempt.
|
17390
|
+
*/
|
17391
|
+
disallowedMojoInterface?: string;
|
17372
17392
|
}
|
17373
17393
|
|
17374
17394
|
/**
|