devtools-protocol 0.0.1473367 → 0.0.1475386
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.
@@ -9617,21 +9617,6 @@
|
|
9617
9617
|
"pauseIfNetworkFetchesPending"
|
9618
9618
|
]
|
9619
9619
|
},
|
9620
|
-
{
|
9621
|
-
"id": "UserAgentFormFactor",
|
9622
|
-
"description": "Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors",
|
9623
|
-
"experimental": true,
|
9624
|
-
"type": "string",
|
9625
|
-
"enum": [
|
9626
|
-
"Desktop",
|
9627
|
-
"Automotive",
|
9628
|
-
"Mobile",
|
9629
|
-
"Tablet",
|
9630
|
-
"XR",
|
9631
|
-
"EInk",
|
9632
|
-
"Watch"
|
9633
|
-
]
|
9634
|
-
},
|
9635
9620
|
{
|
9636
9621
|
"id": "UserAgentBrandVersion",
|
9637
9622
|
"description": "Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints",
|
@@ -9710,10 +9695,11 @@
|
|
9710
9695
|
},
|
9711
9696
|
{
|
9712
9697
|
"name": "formFactors",
|
9698
|
+
"description": "Used to specify User Agent form-factor values.\nSee https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors",
|
9713
9699
|
"optional": true,
|
9714
9700
|
"type": "array",
|
9715
9701
|
"items": {
|
9716
|
-
"
|
9702
|
+
"type": "string"
|
9717
9703
|
}
|
9718
9704
|
}
|
9719
9705
|
]
|
@@ -24628,6 +24614,39 @@
|
|
24628
24614
|
"type": "integer"
|
24629
24615
|
}
|
24630
24616
|
]
|
24617
|
+
},
|
24618
|
+
{
|
24619
|
+
"name": "attributionReportingVerboseDebugReportSent",
|
24620
|
+
"experimental": true,
|
24621
|
+
"parameters": [
|
24622
|
+
{
|
24623
|
+
"name": "url",
|
24624
|
+
"type": "string"
|
24625
|
+
},
|
24626
|
+
{
|
24627
|
+
"name": "body",
|
24628
|
+
"optional": true,
|
24629
|
+
"type": "array",
|
24630
|
+
"items": {
|
24631
|
+
"type": "object"
|
24632
|
+
}
|
24633
|
+
},
|
24634
|
+
{
|
24635
|
+
"name": "netError",
|
24636
|
+
"optional": true,
|
24637
|
+
"type": "integer"
|
24638
|
+
},
|
24639
|
+
{
|
24640
|
+
"name": "netErrorName",
|
24641
|
+
"optional": true,
|
24642
|
+
"type": "string"
|
24643
|
+
},
|
24644
|
+
{
|
24645
|
+
"name": "httpStatusCode",
|
24646
|
+
"optional": true,
|
24647
|
+
"type": "integer"
|
24648
|
+
}
|
24649
|
+
]
|
24631
24650
|
}
|
24632
24651
|
]
|
24633
24652
|
},
|
@@ -28382,7 +28401,7 @@
|
|
28382
28401
|
},
|
28383
28402
|
{
|
28384
28403
|
"name": "install",
|
28385
|
-
"description": "Installs the given manifest identity, optionally using the given
|
28404
|
+
"description": "Installs the given manifest identity, optionally using the given installUrlOrBundleUrl\n\nIWA-specific install description:\nmanifestId corresponds to isolated-app:// + web_package::SignedWebBundleId\n\nFile installation mode:\nThe installUrlOrBundleUrl can be either file:// or http(s):// pointing\nto a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to\nThe .swbn file's signing key.\n\nDev proxy installation mode:\ninstallUrlOrBundleUrl must be http(s):// that serves dev mode IWA.\nweb_package::SignedWebBundleId must be of type dev proxy.\n\nThe advantage of dev proxy mode is that all changes to IWA\nautomatically will be reflected in the running app without\nreinstallation.\n\nTo generate bundle id for proxy mode:\n1. Generate 32 random bytes.\n2. Add a specific suffix 0x00 at the end.\n3. Encode the entire sequence using Base32 without padding.\n\nIf Chrome is not in IWA dev\nmode, the installation will fail, regardless of the state of the allowlist.",
|
28386
28405
|
"parameters": [
|
28387
28406
|
{
|
28388
28407
|
"name": "manifestId",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -4467,17 +4467,6 @@ domain Emulation
|
|
4467
4467
|
pause
|
4468
4468
|
pauseIfNetworkFetchesPending
|
4469
4469
|
|
4470
|
-
# Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
|
4471
|
-
experimental type UserAgentFormFactor extends string
|
4472
|
-
enum
|
4473
|
-
Desktop
|
4474
|
-
Automotive
|
4475
|
-
Mobile
|
4476
|
-
Tablet
|
4477
|
-
XR
|
4478
|
-
EInk
|
4479
|
-
Watch
|
4480
|
-
|
4481
4470
|
# Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
4482
4471
|
experimental type UserAgentBrandVersion extends object
|
4483
4472
|
properties
|
@@ -4500,7 +4489,9 @@ domain Emulation
|
|
4500
4489
|
boolean mobile
|
4501
4490
|
optional string bitness
|
4502
4491
|
optional boolean wow64
|
4503
|
-
|
4492
|
+
# Used to specify User Agent form-factor values.
|
4493
|
+
# See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
|
4494
|
+
optional array of string formFactors
|
4504
4495
|
|
4505
4496
|
# Used to specify sensor types to emulate.
|
4506
4497
|
# See https://w3c.github.io/sensors/#automation for more information.
|
@@ -11550,6 +11541,14 @@ experimental domain Storage
|
|
11550
11541
|
optional string netErrorName
|
11551
11542
|
optional integer httpStatusCode
|
11552
11543
|
|
11544
|
+
experimental event attributionReportingVerboseDebugReportSent
|
11545
|
+
parameters
|
11546
|
+
string url
|
11547
|
+
optional array of object body
|
11548
|
+
optional integer netError
|
11549
|
+
optional string netErrorName
|
11550
|
+
optional integer httpStatusCode
|
11551
|
+
|
11553
11552
|
# A single Related Website Set object.
|
11554
11553
|
experimental type RelatedWebsiteSet extends object
|
11555
11554
|
properties
|
@@ -13430,15 +13429,30 @@ experimental domain PWA
|
|
13430
13429
|
integer badgeCount
|
13431
13430
|
array of FileHandler fileHandlers
|
13432
13431
|
|
13433
|
-
# Installs the given manifest identity, optionally using the given
|
13434
|
-
#
|
13432
|
+
# Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
|
13433
|
+
#
|
13434
|
+
# IWA-specific install description:
|
13435
|
+
# manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
|
13436
|
+
#
|
13437
|
+
# File installation mode:
|
13438
|
+
# The installUrlOrBundleUrl can be either file:// or http(s):// pointing
|
13439
|
+
# to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
|
13440
|
+
# The .swbn file's signing key.
|
13441
|
+
#
|
13442
|
+
# Dev proxy installation mode:
|
13443
|
+
# installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
|
13444
|
+
# web_package::SignedWebBundleId must be of type dev proxy.
|
13445
|
+
#
|
13446
|
+
# The advantage of dev proxy mode is that all changes to IWA
|
13447
|
+
# automatically will be reflected in the running app without
|
13448
|
+
# reinstallation.
|
13449
|
+
#
|
13450
|
+
# To generate bundle id for proxy mode:
|
13451
|
+
# 1. Generate 32 random bytes.
|
13452
|
+
# 2. Add a specific suffix 0x00 at the end.
|
13453
|
+
# 3. Encode the entire sequence using Base32 without padding.
|
13435
13454
|
#
|
13436
|
-
#
|
13437
|
-
# requirement.
|
13438
|
-
# IWA-specific install description: If the manifest_id is isolated-app://,
|
13439
|
-
# install_url_or_bundle_url is required, and can be either an http(s) URL or
|
13440
|
-
# file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
|
13441
|
-
# signing key must correspond to manifest_id. If Chrome is not in IWA dev
|
13455
|
+
# If Chrome is not in IWA dev
|
13442
13456
|
# mode, the installation will fail, regardless of the state of the allowlist.
|
13443
13457
|
command install
|
13444
13458
|
parameters
|
@@ -666,6 +666,7 @@ export namespace ProtocolMapping {
|
|
666
666
|
'Storage.attributionReportingSourceRegistered': [Protocol.Storage.AttributionReportingSourceRegisteredEvent];
|
667
667
|
'Storage.attributionReportingTriggerRegistered': [Protocol.Storage.AttributionReportingTriggerRegisteredEvent];
|
668
668
|
'Storage.attributionReportingReportSent': [Protocol.Storage.AttributionReportingReportSentEvent];
|
669
|
+
'Storage.attributionReportingVerboseDebugReportSent': [Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent];
|
669
670
|
/**
|
670
671
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
671
672
|
*/
|
@@ -5278,15 +5279,30 @@ export namespace ProtocolMapping {
|
|
5278
5279
|
returnType: Protocol.PWA.GetOsAppStateResponse;
|
5279
5280
|
};
|
5280
5281
|
/**
|
5281
|
-
* Installs the given manifest identity, optionally using the given
|
5282
|
-
* or IWA bundle location.
|
5282
|
+
* Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
|
5283
5283
|
*
|
5284
|
-
*
|
5285
|
-
*
|
5286
|
-
*
|
5287
|
-
*
|
5288
|
-
*
|
5289
|
-
*
|
5284
|
+
* IWA-specific install description:
|
5285
|
+
* manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
|
5286
|
+
*
|
5287
|
+
* File installation mode:
|
5288
|
+
* The installUrlOrBundleUrl can be either file:// or http(s):// pointing
|
5289
|
+
* to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
|
5290
|
+
* The .swbn file's signing key.
|
5291
|
+
*
|
5292
|
+
* Dev proxy installation mode:
|
5293
|
+
* installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
|
5294
|
+
* web_package::SignedWebBundleId must be of type dev proxy.
|
5295
|
+
*
|
5296
|
+
* The advantage of dev proxy mode is that all changes to IWA
|
5297
|
+
* automatically will be reflected in the running app without
|
5298
|
+
* reinstallation.
|
5299
|
+
*
|
5300
|
+
* To generate bundle id for proxy mode:
|
5301
|
+
* 1. Generate 32 random bytes.
|
5302
|
+
* 2. Add a specific suffix 0x00 at the end.
|
5303
|
+
* 3. Encode the entire sequence using Base32 without padding.
|
5304
|
+
*
|
5305
|
+
* If Chrome is not in IWA dev
|
5290
5306
|
* mode, the installation will fail, regardless of the state of the allowlist.
|
5291
5307
|
*/
|
5292
5308
|
'PWA.install': {
|
@@ -3873,6 +3873,8 @@ export namespace ProtocolProxyApi {
|
|
3873
3873
|
|
3874
3874
|
on(event: 'attributionReportingReportSent', listener: (params: Protocol.Storage.AttributionReportingReportSentEvent) => void): void;
|
3875
3875
|
|
3876
|
+
on(event: 'attributionReportingVerboseDebugReportSent', listener: (params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent) => void): void;
|
3877
|
+
|
3876
3878
|
}
|
3877
3879
|
|
3878
3880
|
export interface SystemInfoApi {
|
@@ -4512,15 +4514,30 @@ export namespace ProtocolProxyApi {
|
|
4512
4514
|
getOsAppState(params: Protocol.PWA.GetOsAppStateRequest): Promise<Protocol.PWA.GetOsAppStateResponse>;
|
4513
4515
|
|
4514
4516
|
/**
|
4515
|
-
* Installs the given manifest identity, optionally using the given
|
4516
|
-
*
|
4517
|
+
* Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
|
4518
|
+
*
|
4519
|
+
* IWA-specific install description:
|
4520
|
+
* manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
|
4521
|
+
*
|
4522
|
+
* File installation mode:
|
4523
|
+
* The installUrlOrBundleUrl can be either file:// or http(s):// pointing
|
4524
|
+
* to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
|
4525
|
+
* The .swbn file's signing key.
|
4526
|
+
*
|
4527
|
+
* Dev proxy installation mode:
|
4528
|
+
* installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
|
4529
|
+
* web_package::SignedWebBundleId must be of type dev proxy.
|
4530
|
+
*
|
4531
|
+
* The advantage of dev proxy mode is that all changes to IWA
|
4532
|
+
* automatically will be reflected in the running app without
|
4533
|
+
* reinstallation.
|
4534
|
+
*
|
4535
|
+
* To generate bundle id for proxy mode:
|
4536
|
+
* 1. Generate 32 random bytes.
|
4537
|
+
* 2. Add a specific suffix 0x00 at the end.
|
4538
|
+
* 3. Encode the entire sequence using Base32 without padding.
|
4517
4539
|
*
|
4518
|
-
*
|
4519
|
-
* requirement.
|
4520
|
-
* IWA-specific install description: If the manifest_id is isolated-app://,
|
4521
|
-
* install_url_or_bundle_url is required, and can be either an http(s) URL or
|
4522
|
-
* file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
|
4523
|
-
* signing key must correspond to manifest_id. If Chrome is not in IWA dev
|
4540
|
+
* If Chrome is not in IWA dev
|
4524
4541
|
* mode, the installation will fail, regardless of the state of the allowlist.
|
4525
4542
|
*/
|
4526
4543
|
install(params: Protocol.PWA.InstallRequest): Promise<void>;
|
@@ -4209,6 +4209,10 @@ export namespace ProtocolTestsProxyApi {
|
|
4209
4209
|
offAttributionReportingReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => void): void;
|
4210
4210
|
onceAttributionReportingReportSent(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingReportSentEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingReportSentEvent }>;
|
4211
4211
|
|
4212
|
+
onAttributionReportingVerboseDebugReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }) => void): void;
|
4213
|
+
offAttributionReportingVerboseDebugReportSent(listener: (event: { params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }) => void): void;
|
4214
|
+
onceAttributionReportingVerboseDebugReportSent(eventMatcher?: (event: { params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }) => boolean): Promise<{ params: Protocol.Storage.AttributionReportingVerboseDebugReportSentEvent }>;
|
4215
|
+
|
4212
4216
|
}
|
4213
4217
|
|
4214
4218
|
export interface SystemInfoApi {
|
@@ -4936,15 +4940,30 @@ export namespace ProtocolTestsProxyApi {
|
|
4936
4940
|
getOsAppState(params: Protocol.PWA.GetOsAppStateRequest): Promise<{id: number, result: Protocol.PWA.GetOsAppStateResponse, sessionId: string}>;
|
4937
4941
|
|
4938
4942
|
/**
|
4939
|
-
* Installs the given manifest identity, optionally using the given
|
4940
|
-
*
|
4943
|
+
* Installs the given manifest identity, optionally using the given installUrlOrBundleUrl
|
4944
|
+
*
|
4945
|
+
* IWA-specific install description:
|
4946
|
+
* manifestId corresponds to isolated-app:// + web_package::SignedWebBundleId
|
4947
|
+
*
|
4948
|
+
* File installation mode:
|
4949
|
+
* The installUrlOrBundleUrl can be either file:// or http(s):// pointing
|
4950
|
+
* to a signed web bundle (.swbn). In this case SignedWebBundleId must correspond to
|
4951
|
+
* The .swbn file's signing key.
|
4952
|
+
*
|
4953
|
+
* Dev proxy installation mode:
|
4954
|
+
* installUrlOrBundleUrl must be http(s):// that serves dev mode IWA.
|
4955
|
+
* web_package::SignedWebBundleId must be of type dev proxy.
|
4956
|
+
*
|
4957
|
+
* The advantage of dev proxy mode is that all changes to IWA
|
4958
|
+
* automatically will be reflected in the running app without
|
4959
|
+
* reinstallation.
|
4960
|
+
*
|
4961
|
+
* To generate bundle id for proxy mode:
|
4962
|
+
* 1. Generate 32 random bytes.
|
4963
|
+
* 2. Add a specific suffix 0x00 at the end.
|
4964
|
+
* 3. Encode the entire sequence using Base32 without padding.
|
4941
4965
|
*
|
4942
|
-
*
|
4943
|
-
* requirement.
|
4944
|
-
* IWA-specific install description: If the manifest_id is isolated-app://,
|
4945
|
-
* install_url_or_bundle_url is required, and can be either an http(s) URL or
|
4946
|
-
* file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
|
4947
|
-
* signing key must correspond to manifest_id. If Chrome is not in IWA dev
|
4966
|
+
* If Chrome is not in IWA dev
|
4948
4967
|
* mode, the installation will fail, regardless of the state of the allowlist.
|
4949
4968
|
*/
|
4950
4969
|
install(params: Protocol.PWA.InstallRequest): Promise<{id: number, result: void, sessionId: string}>;
|
package/types/protocol.d.ts
CHANGED
@@ -8536,11 +8536,6 @@ export namespace Protocol {
|
|
8536
8536
|
*/
|
8537
8537
|
export type VirtualTimePolicy = ('advance' | 'pause' | 'pauseIfNetworkFetchesPending');
|
8538
8538
|
|
8539
|
-
/**
|
8540
|
-
* Used to specify User Agent form-factor values. See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
|
8541
|
-
*/
|
8542
|
-
export type UserAgentFormFactor = ('Desktop' | 'Automotive' | 'Mobile' | 'Tablet' | 'XR' | 'EInk' | 'Watch');
|
8543
|
-
|
8544
8539
|
/**
|
8545
8540
|
* Used to specify User Agent Client Hints to emulate. See https://wicg.github.io/ua-client-hints
|
8546
8541
|
*/
|
@@ -8570,7 +8565,11 @@ export namespace Protocol {
|
|
8570
8565
|
mobile: boolean;
|
8571
8566
|
bitness?: string;
|
8572
8567
|
wow64?: boolean;
|
8573
|
-
|
8568
|
+
/**
|
8569
|
+
* Used to specify User Agent form-factor values.
|
8570
|
+
* See https://wicg.github.io/ua-client-hints/#sec-ch-ua-form-factors
|
8571
|
+
*/
|
8572
|
+
formFactors?: string[];
|
8574
8573
|
}
|
8575
8574
|
|
8576
8575
|
/**
|
@@ -17541,6 +17540,14 @@ export namespace Protocol {
|
|
17541
17540
|
netErrorName?: string;
|
17542
17541
|
httpStatusCode?: integer;
|
17543
17542
|
}
|
17543
|
+
|
17544
|
+
export interface AttributionReportingVerboseDebugReportSentEvent {
|
17545
|
+
url: string;
|
17546
|
+
body?: any[];
|
17547
|
+
netError?: integer;
|
17548
|
+
netErrorName?: string;
|
17549
|
+
httpStatusCode?: integer;
|
17550
|
+
}
|
17544
17551
|
}
|
17545
17552
|
|
17546
17553
|
/**
|