devtools-protocol 0.0.1473885 → 0.0.1477697
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.
@@ -19549,18 +19549,6 @@
|
|
19549
19549
|
}
|
19550
19550
|
]
|
19551
19551
|
},
|
19552
|
-
{
|
19553
|
-
"id": "AutoResponseMode",
|
19554
|
-
"description": "Enum of possible auto-response for permission / prompt dialogs.",
|
19555
|
-
"experimental": true,
|
19556
|
-
"type": "string",
|
19557
|
-
"enum": [
|
19558
|
-
"none",
|
19559
|
-
"autoAccept",
|
19560
|
-
"autoReject",
|
19561
|
-
"autoOptOut"
|
19562
|
-
]
|
19563
|
-
},
|
19564
19552
|
{
|
19565
19553
|
"id": "NavigationType",
|
19566
19554
|
"description": "The type of a frameNavigated event.",
|
@@ -21000,7 +20988,14 @@
|
|
21000
20988
|
"parameters": [
|
21001
20989
|
{
|
21002
20990
|
"name": "mode",
|
21003
|
-
"
|
20991
|
+
"type": "string",
|
20992
|
+
"enum": [
|
20993
|
+
"none",
|
20994
|
+
"autoAccept",
|
20995
|
+
"autoChooseToAuthAnotherWay",
|
20996
|
+
"autoReject",
|
20997
|
+
"autoOptOut"
|
20998
|
+
]
|
21004
20999
|
}
|
21005
21000
|
]
|
21006
21001
|
},
|
@@ -21011,7 +21006,12 @@
|
|
21011
21006
|
"parameters": [
|
21012
21007
|
{
|
21013
21008
|
"name": "mode",
|
21014
|
-
"
|
21009
|
+
"type": "string",
|
21010
|
+
"enum": [
|
21011
|
+
"none",
|
21012
|
+
"autoAccept",
|
21013
|
+
"autoReject"
|
21014
|
+
]
|
21015
21015
|
}
|
21016
21016
|
]
|
21017
21017
|
},
|
@@ -24614,6 +24614,39 @@
|
|
24614
24614
|
"type": "integer"
|
24615
24615
|
}
|
24616
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
|
+
]
|
24617
24650
|
}
|
24618
24651
|
]
|
24619
24652
|
},
|
@@ -28368,7 +28401,7 @@
|
|
28368
28401
|
},
|
28369
28402
|
{
|
28370
28403
|
"name": "install",
|
28371
|
-
"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.",
|
28372
28405
|
"parameters": [
|
28373
28406
|
{
|
28374
28407
|
"name": "manifestId",
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -9720,25 +9720,25 @@ domain Page
|
|
9720
9720
|
# Clears seeded compilation cache.
|
9721
9721
|
experimental command clearCompilationCache
|
9722
9722
|
|
9723
|
-
# Enum of possible auto-response for permission / prompt dialogs.
|
9724
|
-
experimental type AutoResponseMode extends string
|
9725
|
-
enum
|
9726
|
-
none
|
9727
|
-
autoAccept
|
9728
|
-
autoReject
|
9729
|
-
autoOptOut
|
9730
|
-
|
9731
9723
|
# Sets the Secure Payment Confirmation transaction mode.
|
9732
9724
|
# https://w3c.github.io/secure-payment-confirmation/#sctn-automation-set-spc-transaction-mode
|
9733
9725
|
experimental command setSPCTransactionMode
|
9734
9726
|
parameters
|
9735
|
-
|
9727
|
+
enum mode
|
9728
|
+
none
|
9729
|
+
autoAccept
|
9730
|
+
autoChooseToAuthAnotherWay
|
9731
|
+
autoReject
|
9732
|
+
autoOptOut
|
9736
9733
|
|
9737
9734
|
# Extensions for Custom Handlers API:
|
9738
9735
|
# https://html.spec.whatwg.org/multipage/system-state.html#rph-automation
|
9739
9736
|
experimental command setRPHRegistrationMode
|
9740
9737
|
parameters
|
9741
|
-
|
9738
|
+
enum mode
|
9739
|
+
none
|
9740
|
+
autoAccept
|
9741
|
+
autoReject
|
9742
9742
|
|
9743
9743
|
# Generates a report for testing.
|
9744
9744
|
experimental command generateTestReport
|
@@ -11541,6 +11541,14 @@ experimental domain Storage
|
|
11541
11541
|
optional string netErrorName
|
11542
11542
|
optional integer httpStatusCode
|
11543
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
|
+
|
11544
11552
|
# A single Related Website Set object.
|
11545
11553
|
experimental type RelatedWebsiteSet extends object
|
11546
11554
|
properties
|
@@ -13421,15 +13429,30 @@ experimental domain PWA
|
|
13421
13429
|
integer badgeCount
|
13422
13430
|
array of FileHandler fileHandlers
|
13423
13431
|
|
13424
|
-
# Installs the given manifest identity, optionally using the given
|
13425
|
-
#
|
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.
|
13426
13454
|
#
|
13427
|
-
#
|
13428
|
-
# requirement.
|
13429
|
-
# IWA-specific install description: If the manifest_id is isolated-app://,
|
13430
|
-
# install_url_or_bundle_url is required, and can be either an http(s) URL or
|
13431
|
-
# file:// URL pointing to a signed web bundle (.swbn). The .swbn file's
|
13432
|
-
# signing key must correspond to manifest_id. If Chrome is not in IWA dev
|
13455
|
+
# If Chrome is not in IWA dev
|
13433
13456
|
# mode, the installation will fail, regardless of the state of the allowlist.
|
13434
13457
|
command install
|
13435
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
@@ -14688,11 +14688,6 @@ export namespace Protocol {
|
|
14688
14688
|
themeColor?: string;
|
14689
14689
|
}
|
14690
14690
|
|
14691
|
-
/**
|
14692
|
-
* Enum of possible auto-response for permission / prompt dialogs.
|
14693
|
-
*/
|
14694
|
-
export type AutoResponseMode = ('none' | 'autoAccept' | 'autoReject' | 'autoOptOut');
|
14695
|
-
|
14696
14691
|
/**
|
14697
14692
|
* The type of a frameNavigated event.
|
14698
14693
|
*/
|
@@ -15485,12 +15480,32 @@ export namespace Protocol {
|
|
15485
15480
|
data: string;
|
15486
15481
|
}
|
15487
15482
|
|
15483
|
+
export const enum SetSPCTransactionModeRequestMode {
|
15484
|
+
None = 'none',
|
15485
|
+
AutoAccept = 'autoAccept',
|
15486
|
+
AutoChooseToAuthAnotherWay = 'autoChooseToAuthAnotherWay',
|
15487
|
+
AutoReject = 'autoReject',
|
15488
|
+
AutoOptOut = 'autoOptOut',
|
15489
|
+
}
|
15490
|
+
|
15488
15491
|
export interface SetSPCTransactionModeRequest {
|
15489
|
-
|
15492
|
+
/**
|
15493
|
+
* (SetSPCTransactionModeRequestMode enum)
|
15494
|
+
*/
|
15495
|
+
mode: ('none' | 'autoAccept' | 'autoChooseToAuthAnotherWay' | 'autoReject' | 'autoOptOut');
|
15496
|
+
}
|
15497
|
+
|
15498
|
+
export const enum SetRPHRegistrationModeRequestMode {
|
15499
|
+
None = 'none',
|
15500
|
+
AutoAccept = 'autoAccept',
|
15501
|
+
AutoReject = 'autoReject',
|
15490
15502
|
}
|
15491
15503
|
|
15492
15504
|
export interface SetRPHRegistrationModeRequest {
|
15493
|
-
|
15505
|
+
/**
|
15506
|
+
* (SetRPHRegistrationModeRequestMode enum)
|
15507
|
+
*/
|
15508
|
+
mode: ('none' | 'autoAccept' | 'autoReject');
|
15494
15509
|
}
|
15495
15510
|
|
15496
15511
|
export interface GenerateTestReportRequest {
|
@@ -17540,6 +17555,14 @@ export namespace Protocol {
|
|
17540
17555
|
netErrorName?: string;
|
17541
17556
|
httpStatusCode?: integer;
|
17542
17557
|
}
|
17558
|
+
|
17559
|
+
export interface AttributionReportingVerboseDebugReportSentEvent {
|
17560
|
+
url: string;
|
17561
|
+
body?: any[];
|
17562
|
+
netError?: integer;
|
17563
|
+
netErrorName?: string;
|
17564
|
+
httpStatusCode?: integer;
|
17565
|
+
}
|
17543
17566
|
}
|
17544
17567
|
|
17545
17568
|
/**
|