devtools-protocol 0.0.1284894 → 0.0.1286932
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 +398 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +128 -2
- package/types/protocol-mapping.d.ts +12 -1
- package/types/protocol-proxy-api.d.ts +13 -1
- package/types/protocol-tests-proxy-api.d.ts +15 -1
- package/types/protocol.d.ts +147 -2
@@ -965,6 +965,17 @@
|
|
965
965
|
"$ref": "Animation"
|
966
966
|
}
|
967
967
|
]
|
968
|
+
},
|
969
|
+
{
|
970
|
+
"name": "animationUpdated",
|
971
|
+
"description": "Event for animation that has been updated.",
|
972
|
+
"parameters": [
|
973
|
+
{
|
974
|
+
"name": "animation",
|
975
|
+
"description": "Animation that was updated.",
|
976
|
+
"$ref": "Animation"
|
977
|
+
}
|
978
|
+
]
|
968
979
|
}
|
969
980
|
]
|
970
981
|
},
|
@@ -1705,7 +1716,9 @@
|
|
1705
1716
|
"RpPageNotVisible",
|
1706
1717
|
"SilentMediationFailure",
|
1707
1718
|
"ThirdPartyCookiesBlocked",
|
1708
|
-
"NotSignedInWithIdp"
|
1719
|
+
"NotSignedInWithIdp",
|
1720
|
+
"MissingTransientUserActivation",
|
1721
|
+
"ReplacedByButtonMode"
|
1709
1722
|
]
|
1710
1723
|
},
|
1711
1724
|
{
|
@@ -17466,6 +17479,375 @@
|
|
17466
17479
|
}
|
17467
17480
|
]
|
17468
17481
|
},
|
17482
|
+
{
|
17483
|
+
"id": "FileFilter",
|
17484
|
+
"experimental": true,
|
17485
|
+
"type": "object",
|
17486
|
+
"properties": [
|
17487
|
+
{
|
17488
|
+
"name": "name",
|
17489
|
+
"optional": true,
|
17490
|
+
"type": "string"
|
17491
|
+
},
|
17492
|
+
{
|
17493
|
+
"name": "accepts",
|
17494
|
+
"optional": true,
|
17495
|
+
"type": "array",
|
17496
|
+
"items": {
|
17497
|
+
"type": "string"
|
17498
|
+
}
|
17499
|
+
}
|
17500
|
+
]
|
17501
|
+
},
|
17502
|
+
{
|
17503
|
+
"id": "FileHandler",
|
17504
|
+
"experimental": true,
|
17505
|
+
"type": "object",
|
17506
|
+
"properties": [
|
17507
|
+
{
|
17508
|
+
"name": "action",
|
17509
|
+
"type": "string"
|
17510
|
+
},
|
17511
|
+
{
|
17512
|
+
"name": "name",
|
17513
|
+
"type": "string"
|
17514
|
+
},
|
17515
|
+
{
|
17516
|
+
"name": "icons",
|
17517
|
+
"optional": true,
|
17518
|
+
"type": "array",
|
17519
|
+
"items": {
|
17520
|
+
"$ref": "ImageResource"
|
17521
|
+
}
|
17522
|
+
},
|
17523
|
+
{
|
17524
|
+
"name": "accepts",
|
17525
|
+
"description": "Mimic a map, name is the key, accepts is the value.",
|
17526
|
+
"optional": true,
|
17527
|
+
"type": "array",
|
17528
|
+
"items": {
|
17529
|
+
"$ref": "FileFilter"
|
17530
|
+
}
|
17531
|
+
},
|
17532
|
+
{
|
17533
|
+
"name": "launchType",
|
17534
|
+
"description": "Won't repeat the enums, using string for easy comparison. Same as the\nother enums below.",
|
17535
|
+
"type": "string"
|
17536
|
+
}
|
17537
|
+
]
|
17538
|
+
},
|
17539
|
+
{
|
17540
|
+
"id": "ImageResource",
|
17541
|
+
"description": "The image definition used in both icon and screenshot.",
|
17542
|
+
"experimental": true,
|
17543
|
+
"type": "object",
|
17544
|
+
"properties": [
|
17545
|
+
{
|
17546
|
+
"name": "url",
|
17547
|
+
"description": "The src field in the definition, but changing to url in favor of\nconsistency.",
|
17548
|
+
"type": "string"
|
17549
|
+
},
|
17550
|
+
{
|
17551
|
+
"name": "sizes",
|
17552
|
+
"optional": true,
|
17553
|
+
"type": "string"
|
17554
|
+
},
|
17555
|
+
{
|
17556
|
+
"name": "type",
|
17557
|
+
"optional": true,
|
17558
|
+
"type": "string"
|
17559
|
+
}
|
17560
|
+
]
|
17561
|
+
},
|
17562
|
+
{
|
17563
|
+
"id": "LaunchHandler",
|
17564
|
+
"experimental": true,
|
17565
|
+
"type": "object",
|
17566
|
+
"properties": [
|
17567
|
+
{
|
17568
|
+
"name": "clientMode",
|
17569
|
+
"type": "string"
|
17570
|
+
}
|
17571
|
+
]
|
17572
|
+
},
|
17573
|
+
{
|
17574
|
+
"id": "ProtocolHandler",
|
17575
|
+
"experimental": true,
|
17576
|
+
"type": "object",
|
17577
|
+
"properties": [
|
17578
|
+
{
|
17579
|
+
"name": "protocol",
|
17580
|
+
"type": "string"
|
17581
|
+
},
|
17582
|
+
{
|
17583
|
+
"name": "url",
|
17584
|
+
"type": "string"
|
17585
|
+
}
|
17586
|
+
]
|
17587
|
+
},
|
17588
|
+
{
|
17589
|
+
"id": "RelatedApplication",
|
17590
|
+
"experimental": true,
|
17591
|
+
"type": "object",
|
17592
|
+
"properties": [
|
17593
|
+
{
|
17594
|
+
"name": "id",
|
17595
|
+
"optional": true,
|
17596
|
+
"type": "string"
|
17597
|
+
},
|
17598
|
+
{
|
17599
|
+
"name": "url",
|
17600
|
+
"type": "string"
|
17601
|
+
}
|
17602
|
+
]
|
17603
|
+
},
|
17604
|
+
{
|
17605
|
+
"id": "ScopeExtension",
|
17606
|
+
"experimental": true,
|
17607
|
+
"type": "object",
|
17608
|
+
"properties": [
|
17609
|
+
{
|
17610
|
+
"name": "origin",
|
17611
|
+
"description": "Instead of using tuple, this field always returns the serialized string\nfor easy understanding and comparison.",
|
17612
|
+
"type": "string"
|
17613
|
+
},
|
17614
|
+
{
|
17615
|
+
"name": "hasOriginWildcard",
|
17616
|
+
"type": "boolean"
|
17617
|
+
}
|
17618
|
+
]
|
17619
|
+
},
|
17620
|
+
{
|
17621
|
+
"id": "Screenshot",
|
17622
|
+
"experimental": true,
|
17623
|
+
"type": "object",
|
17624
|
+
"properties": [
|
17625
|
+
{
|
17626
|
+
"name": "image",
|
17627
|
+
"$ref": "ImageResource"
|
17628
|
+
},
|
17629
|
+
{
|
17630
|
+
"name": "formFactor",
|
17631
|
+
"type": "string"
|
17632
|
+
},
|
17633
|
+
{
|
17634
|
+
"name": "label",
|
17635
|
+
"optional": true,
|
17636
|
+
"type": "string"
|
17637
|
+
}
|
17638
|
+
]
|
17639
|
+
},
|
17640
|
+
{
|
17641
|
+
"id": "ShareTarget",
|
17642
|
+
"experimental": true,
|
17643
|
+
"type": "object",
|
17644
|
+
"properties": [
|
17645
|
+
{
|
17646
|
+
"name": "action",
|
17647
|
+
"type": "string"
|
17648
|
+
},
|
17649
|
+
{
|
17650
|
+
"name": "method",
|
17651
|
+
"type": "string"
|
17652
|
+
},
|
17653
|
+
{
|
17654
|
+
"name": "enctype",
|
17655
|
+
"type": "string"
|
17656
|
+
},
|
17657
|
+
{
|
17658
|
+
"name": "title",
|
17659
|
+
"description": "Embed the ShareTargetParams",
|
17660
|
+
"optional": true,
|
17661
|
+
"type": "string"
|
17662
|
+
},
|
17663
|
+
{
|
17664
|
+
"name": "text",
|
17665
|
+
"optional": true,
|
17666
|
+
"type": "string"
|
17667
|
+
},
|
17668
|
+
{
|
17669
|
+
"name": "url",
|
17670
|
+
"optional": true,
|
17671
|
+
"type": "string"
|
17672
|
+
},
|
17673
|
+
{
|
17674
|
+
"name": "files",
|
17675
|
+
"optional": true,
|
17676
|
+
"type": "array",
|
17677
|
+
"items": {
|
17678
|
+
"$ref": "FileFilter"
|
17679
|
+
}
|
17680
|
+
}
|
17681
|
+
]
|
17682
|
+
},
|
17683
|
+
{
|
17684
|
+
"id": "Shortcut",
|
17685
|
+
"experimental": true,
|
17686
|
+
"type": "object",
|
17687
|
+
"properties": [
|
17688
|
+
{
|
17689
|
+
"name": "name",
|
17690
|
+
"type": "string"
|
17691
|
+
},
|
17692
|
+
{
|
17693
|
+
"name": "url",
|
17694
|
+
"type": "string"
|
17695
|
+
}
|
17696
|
+
]
|
17697
|
+
},
|
17698
|
+
{
|
17699
|
+
"id": "WebAppManifest",
|
17700
|
+
"experimental": true,
|
17701
|
+
"type": "object",
|
17702
|
+
"properties": [
|
17703
|
+
{
|
17704
|
+
"name": "backgroundColor",
|
17705
|
+
"optional": true,
|
17706
|
+
"type": "string"
|
17707
|
+
},
|
17708
|
+
{
|
17709
|
+
"name": "description",
|
17710
|
+
"description": "The extra description provided by the manifest.",
|
17711
|
+
"optional": true,
|
17712
|
+
"type": "string"
|
17713
|
+
},
|
17714
|
+
{
|
17715
|
+
"name": "dir",
|
17716
|
+
"optional": true,
|
17717
|
+
"type": "string"
|
17718
|
+
},
|
17719
|
+
{
|
17720
|
+
"name": "display",
|
17721
|
+
"optional": true,
|
17722
|
+
"type": "string"
|
17723
|
+
},
|
17724
|
+
{
|
17725
|
+
"name": "displayOverrides",
|
17726
|
+
"description": "The overrided display mode controlled by the user.",
|
17727
|
+
"optional": true,
|
17728
|
+
"type": "array",
|
17729
|
+
"items": {
|
17730
|
+
"type": "string"
|
17731
|
+
}
|
17732
|
+
},
|
17733
|
+
{
|
17734
|
+
"name": "fileHandlers",
|
17735
|
+
"description": "The handlers to open files.",
|
17736
|
+
"optional": true,
|
17737
|
+
"type": "array",
|
17738
|
+
"items": {
|
17739
|
+
"$ref": "FileHandler"
|
17740
|
+
}
|
17741
|
+
},
|
17742
|
+
{
|
17743
|
+
"name": "icons",
|
17744
|
+
"optional": true,
|
17745
|
+
"type": "array",
|
17746
|
+
"items": {
|
17747
|
+
"$ref": "ImageResource"
|
17748
|
+
}
|
17749
|
+
},
|
17750
|
+
{
|
17751
|
+
"name": "id",
|
17752
|
+
"optional": true,
|
17753
|
+
"type": "string"
|
17754
|
+
},
|
17755
|
+
{
|
17756
|
+
"name": "lang",
|
17757
|
+
"optional": true,
|
17758
|
+
"type": "string"
|
17759
|
+
},
|
17760
|
+
{
|
17761
|
+
"name": "launchHandler",
|
17762
|
+
"description": "TODO(crbug.com/1231886): This field is non-standard and part of a Chrome\nexperiment. See:\nhttps://github.com/WICG/web-app-launch/blob/main/launch_handler.md",
|
17763
|
+
"optional": true,
|
17764
|
+
"$ref": "LaunchHandler"
|
17765
|
+
},
|
17766
|
+
{
|
17767
|
+
"name": "name",
|
17768
|
+
"optional": true,
|
17769
|
+
"type": "string"
|
17770
|
+
},
|
17771
|
+
{
|
17772
|
+
"name": "orientation",
|
17773
|
+
"optional": true,
|
17774
|
+
"type": "string"
|
17775
|
+
},
|
17776
|
+
{
|
17777
|
+
"name": "preferRelatedApplications",
|
17778
|
+
"optional": true,
|
17779
|
+
"type": "boolean"
|
17780
|
+
},
|
17781
|
+
{
|
17782
|
+
"name": "protocolHandlers",
|
17783
|
+
"description": "The handlers to open protocols.",
|
17784
|
+
"optional": true,
|
17785
|
+
"type": "array",
|
17786
|
+
"items": {
|
17787
|
+
"$ref": "ProtocolHandler"
|
17788
|
+
}
|
17789
|
+
},
|
17790
|
+
{
|
17791
|
+
"name": "relatedApplications",
|
17792
|
+
"optional": true,
|
17793
|
+
"type": "array",
|
17794
|
+
"items": {
|
17795
|
+
"$ref": "RelatedApplication"
|
17796
|
+
}
|
17797
|
+
},
|
17798
|
+
{
|
17799
|
+
"name": "scope",
|
17800
|
+
"optional": true,
|
17801
|
+
"type": "string"
|
17802
|
+
},
|
17803
|
+
{
|
17804
|
+
"name": "scopeExtensions",
|
17805
|
+
"description": "Non-standard, see\nhttps://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md",
|
17806
|
+
"optional": true,
|
17807
|
+
"type": "array",
|
17808
|
+
"items": {
|
17809
|
+
"$ref": "ScopeExtension"
|
17810
|
+
}
|
17811
|
+
},
|
17812
|
+
{
|
17813
|
+
"name": "screenshots",
|
17814
|
+
"description": "The screenshots used by chromium.",
|
17815
|
+
"optional": true,
|
17816
|
+
"type": "array",
|
17817
|
+
"items": {
|
17818
|
+
"$ref": "Screenshot"
|
17819
|
+
}
|
17820
|
+
},
|
17821
|
+
{
|
17822
|
+
"name": "shareTarget",
|
17823
|
+
"optional": true,
|
17824
|
+
"$ref": "ShareTarget"
|
17825
|
+
},
|
17826
|
+
{
|
17827
|
+
"name": "shortName",
|
17828
|
+
"optional": true,
|
17829
|
+
"type": "string"
|
17830
|
+
},
|
17831
|
+
{
|
17832
|
+
"name": "shortcuts",
|
17833
|
+
"optional": true,
|
17834
|
+
"type": "array",
|
17835
|
+
"items": {
|
17836
|
+
"$ref": "Shortcut"
|
17837
|
+
}
|
17838
|
+
},
|
17839
|
+
{
|
17840
|
+
"name": "startUrl",
|
17841
|
+
"optional": true,
|
17842
|
+
"type": "string"
|
17843
|
+
},
|
17844
|
+
{
|
17845
|
+
"name": "themeColor",
|
17846
|
+
"optional": true,
|
17847
|
+
"type": "string"
|
17848
|
+
}
|
17849
|
+
]
|
17850
|
+
},
|
17469
17851
|
{
|
17470
17852
|
"id": "AutoResponseMode",
|
17471
17853
|
"description": "Enum of possible auto-response for permission / prompt dialogs.",
|
@@ -17949,6 +18331,14 @@
|
|
17949
18331
|
},
|
17950
18332
|
{
|
17951
18333
|
"name": "getAppManifest",
|
18334
|
+
"description": "Gets the processed manifest for this current document.\n This API always waits for the manifest to be loaded.\n If manifestId is provided, and it does not match the manifest of the\n current document, this API errors out.\n If there isn\u2019t a loaded page, this API errors out immediately.",
|
18335
|
+
"parameters": [
|
18336
|
+
{
|
18337
|
+
"name": "manifestId",
|
18338
|
+
"optional": true,
|
18339
|
+
"type": "string"
|
18340
|
+
}
|
18341
|
+
],
|
17952
18342
|
"returns": [
|
17953
18343
|
{
|
17954
18344
|
"name": "url",
|
@@ -17970,10 +18360,16 @@
|
|
17970
18360
|
},
|
17971
18361
|
{
|
17972
18362
|
"name": "parsed",
|
17973
|
-
"description": "Parsed manifest properties",
|
18363
|
+
"description": "Parsed manifest properties. Deprecated, use manifest instead.",
|
17974
18364
|
"experimental": true,
|
18365
|
+
"deprecated": true,
|
17975
18366
|
"optional": true,
|
17976
18367
|
"$ref": "AppManifestParsedProperties"
|
18368
|
+
},
|
18369
|
+
{
|
18370
|
+
"name": "manifest",
|
18371
|
+
"experimental": true,
|
18372
|
+
"$ref": "WebAppManifest"
|
17977
18373
|
}
|
17978
18374
|
]
|
17979
18375
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -475,6 +475,12 @@ experimental domain Animation
|
|
475
475
|
# Animation that was started.
|
476
476
|
Animation animation
|
477
477
|
|
478
|
+
# Event for animation that has been updated.
|
479
|
+
event animationUpdated
|
480
|
+
parameters
|
481
|
+
# Animation that was updated.
|
482
|
+
Animation animation
|
483
|
+
|
478
484
|
# Audits domain allows investigation of page violations and possible improvements.
|
479
485
|
experimental domain Audits
|
480
486
|
depends on Network
|
@@ -870,6 +876,8 @@ experimental domain Audits
|
|
870
876
|
SilentMediationFailure
|
871
877
|
ThirdPartyCookiesBlocked
|
872
878
|
NotSignedInWithIdp
|
879
|
+
MissingTransientUserActivation
|
880
|
+
ReplacedByButtonMode
|
873
881
|
|
874
882
|
type FederatedAuthUserInfoRequestIssueDetails extends object
|
875
883
|
properties
|
@@ -8319,15 +8327,132 @@ domain Page
|
|
8319
8327
|
# Enables page domain notifications.
|
8320
8328
|
command enable
|
8321
8329
|
|
8330
|
+
# The manifest of a webapp, see
|
8331
|
+
# https://www.w3.org/TR/appmanifest/#dfn-manifest.
|
8332
|
+
# Some fields do not appear in the standard since the API is designed to
|
8333
|
+
# expose more browser internal states.
|
8334
|
+
|
8335
|
+
experimental type FileFilter extends object
|
8336
|
+
properties
|
8337
|
+
optional string name
|
8338
|
+
optional array of string accepts
|
8339
|
+
|
8340
|
+
experimental type FileHandler extends object
|
8341
|
+
properties
|
8342
|
+
string action
|
8343
|
+
string name
|
8344
|
+
optional array of ImageResource icons
|
8345
|
+
# Mimic a map, name is the key, accepts is the value.
|
8346
|
+
optional array of FileFilter accepts
|
8347
|
+
# Won't repeat the enums, using string for easy comparison. Same as the
|
8348
|
+
# other enums below.
|
8349
|
+
string launchType
|
8350
|
+
|
8351
|
+
# The image definition used in both icon and screenshot.
|
8352
|
+
experimental type ImageResource extends object
|
8353
|
+
properties
|
8354
|
+
# The src field in the definition, but changing to url in favor of
|
8355
|
+
# consistency.
|
8356
|
+
string url
|
8357
|
+
optional string sizes
|
8358
|
+
optional string type
|
8359
|
+
|
8360
|
+
experimental type LaunchHandler extends object
|
8361
|
+
properties
|
8362
|
+
string clientMode
|
8363
|
+
|
8364
|
+
experimental type ProtocolHandler extends object
|
8365
|
+
properties
|
8366
|
+
string protocol
|
8367
|
+
string url
|
8368
|
+
|
8369
|
+
experimental type RelatedApplication extends object
|
8370
|
+
properties
|
8371
|
+
optional string id
|
8372
|
+
string url
|
8373
|
+
|
8374
|
+
experimental type ScopeExtension extends object
|
8375
|
+
properties
|
8376
|
+
# Instead of using tuple, this field always returns the serialized string
|
8377
|
+
# for easy understanding and comparison.
|
8378
|
+
string origin
|
8379
|
+
boolean hasOriginWildcard
|
8380
|
+
|
8381
|
+
experimental type Screenshot extends object
|
8382
|
+
properties
|
8383
|
+
ImageResource image
|
8384
|
+
string formFactor
|
8385
|
+
optional string label
|
8386
|
+
|
8387
|
+
experimental type ShareTarget extends object
|
8388
|
+
properties
|
8389
|
+
string action
|
8390
|
+
string method
|
8391
|
+
string enctype
|
8392
|
+
# Embed the ShareTargetParams
|
8393
|
+
optional string title
|
8394
|
+
optional string text
|
8395
|
+
optional string url
|
8396
|
+
optional array of FileFilter files
|
8397
|
+
|
8398
|
+
experimental type Shortcut extends object
|
8399
|
+
properties
|
8400
|
+
string name
|
8401
|
+
string url
|
8402
|
+
|
8403
|
+
experimental type WebAppManifest extends object
|
8404
|
+
properties
|
8405
|
+
optional string backgroundColor
|
8406
|
+
# The extra description provided by the manifest.
|
8407
|
+
optional string description
|
8408
|
+
optional string dir
|
8409
|
+
optional string display
|
8410
|
+
# The overrided display mode controlled by the user.
|
8411
|
+
optional array of string displayOverrides
|
8412
|
+
# The handlers to open files.
|
8413
|
+
optional array of FileHandler fileHandlers
|
8414
|
+
optional array of ImageResource icons
|
8415
|
+
optional string id
|
8416
|
+
optional string lang
|
8417
|
+
# TODO(crbug.com/1231886): This field is non-standard and part of a Chrome
|
8418
|
+
# experiment. See:
|
8419
|
+
# https://github.com/WICG/web-app-launch/blob/main/launch_handler.md
|
8420
|
+
optional LaunchHandler launchHandler
|
8421
|
+
optional string name
|
8422
|
+
optional string orientation
|
8423
|
+
optional boolean preferRelatedApplications
|
8424
|
+
# The handlers to open protocols.
|
8425
|
+
optional array of ProtocolHandler protocolHandlers
|
8426
|
+
optional array of RelatedApplication relatedApplications
|
8427
|
+
optional string scope
|
8428
|
+
# Non-standard, see
|
8429
|
+
# https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md
|
8430
|
+
optional array of ScopeExtension scopeExtensions
|
8431
|
+
# The screenshots used by chromium.
|
8432
|
+
optional array of Screenshot screenshots
|
8433
|
+
optional ShareTarget shareTarget
|
8434
|
+
optional string shortName
|
8435
|
+
optional array of Shortcut shortcuts
|
8436
|
+
optional string startUrl
|
8437
|
+
optional string themeColor
|
8438
|
+
|
8439
|
+
# Gets the processed manifest for this current document.
|
8440
|
+
# This API always waits for the manifest to be loaded.
|
8441
|
+
# If manifestId is provided, and it does not match the manifest of the
|
8442
|
+
# current document, this API errors out.
|
8443
|
+
# If there isn’t a loaded page, this API errors out immediately.
|
8322
8444
|
command getAppManifest
|
8445
|
+
parameters
|
8446
|
+
optional string manifestId
|
8323
8447
|
returns
|
8324
8448
|
# Manifest location.
|
8325
8449
|
string url
|
8326
8450
|
array of AppManifestError errors
|
8327
8451
|
# Manifest content.
|
8328
8452
|
optional string data
|
8329
|
-
# Parsed manifest properties
|
8330
|
-
experimental optional AppManifestParsedProperties parsed
|
8453
|
+
# Parsed manifest properties. Deprecated, use manifest instead.
|
8454
|
+
experimental deprecated optional AppManifestParsedProperties parsed
|
8455
|
+
experimental WebAppManifest manifest
|
8331
8456
|
|
8332
8457
|
experimental command getInstallabilityErrors
|
8333
8458
|
returns
|
@@ -12154,3 +12279,4 @@ experimental domain PWA
|
|
12154
12279
|
returns
|
12155
12280
|
integer badgeCount
|
12156
12281
|
array of FileHandler fileHandlers
|
12282
|
+
|
@@ -113,6 +113,10 @@ export namespace ProtocolMapping {
|
|
113
113
|
* Event for animation that has been started.
|
114
114
|
*/
|
115
115
|
'Animation.animationStarted': [Protocol.Animation.AnimationStartedEvent];
|
116
|
+
/**
|
117
|
+
* Event for animation that has been updated.
|
118
|
+
*/
|
119
|
+
'Animation.animationUpdated': [Protocol.Animation.AnimationUpdatedEvent];
|
116
120
|
'Audits.issueAdded': [Protocol.Audits.IssueAddedEvent];
|
117
121
|
/**
|
118
122
|
* Emitted when an address form is filled.
|
@@ -3707,8 +3711,15 @@ export namespace ProtocolMapping {
|
|
3707
3711
|
paramsType: [];
|
3708
3712
|
returnType: void;
|
3709
3713
|
};
|
3714
|
+
/**
|
3715
|
+
* Gets the processed manifest for this current document.
|
3716
|
+
* This API always waits for the manifest to be loaded.
|
3717
|
+
* If manifestId is provided, and it does not match the manifest of the
|
3718
|
+
* current document, this API errors out.
|
3719
|
+
* If there isn’t a loaded page, this API errors out immediately.
|
3720
|
+
*/
|
3710
3721
|
'Page.getAppManifest': {
|
3711
|
-
paramsType: [];
|
3722
|
+
paramsType: [Protocol.Page.GetAppManifestRequest?];
|
3712
3723
|
returnType: Protocol.Page.GetAppManifestResponse;
|
3713
3724
|
};
|
3714
3725
|
'Page.getInstallabilityErrors': {
|
@@ -764,6 +764,11 @@ export namespace ProtocolProxyApi {
|
|
764
764
|
*/
|
765
765
|
on(event: 'animationStarted', listener: (params: Protocol.Animation.AnimationStartedEvent) => void): void;
|
766
766
|
|
767
|
+
/**
|
768
|
+
* Event for animation that has been updated.
|
769
|
+
*/
|
770
|
+
on(event: 'animationUpdated', listener: (params: Protocol.Animation.AnimationUpdatedEvent) => void): void;
|
771
|
+
|
767
772
|
}
|
768
773
|
|
769
774
|
export interface AuditsApi {
|
@@ -2835,7 +2840,14 @@ export namespace ProtocolProxyApi {
|
|
2835
2840
|
*/
|
2836
2841
|
enable(): Promise<void>;
|
2837
2842
|
|
2838
|
-
|
2843
|
+
/**
|
2844
|
+
* Gets the processed manifest for this current document.
|
2845
|
+
* This API always waits for the manifest to be loaded.
|
2846
|
+
* If manifestId is provided, and it does not match the manifest of the
|
2847
|
+
* current document, this API errors out.
|
2848
|
+
* If there isn’t a loaded page, this API errors out immediately.
|
2849
|
+
*/
|
2850
|
+
getAppManifest(params: Protocol.Page.GetAppManifestRequest): Promise<Protocol.Page.GetAppManifestResponse>;
|
2839
2851
|
|
2840
2852
|
getInstallabilityErrors(): Promise<Protocol.Page.GetInstallabilityErrorsResponse>;
|
2841
2853
|
|
@@ -818,6 +818,13 @@ export namespace ProtocolTestsProxyApi {
|
|
818
818
|
offAnimationStarted(listener: (event: { params: Protocol.Animation.AnimationStartedEvent }) => void): void;
|
819
819
|
onceAnimationStarted(eventMatcher?: (event: { params: Protocol.Animation.AnimationStartedEvent }) => boolean): Promise<{ params: Protocol.Animation.AnimationStartedEvent }>;
|
820
820
|
|
821
|
+
/**
|
822
|
+
* Event for animation that has been updated.
|
823
|
+
*/
|
824
|
+
onAnimationUpdated(listener: (event: { params: Protocol.Animation.AnimationUpdatedEvent }) => void): void;
|
825
|
+
offAnimationUpdated(listener: (event: { params: Protocol.Animation.AnimationUpdatedEvent }) => void): void;
|
826
|
+
onceAnimationUpdated(eventMatcher?: (event: { params: Protocol.Animation.AnimationUpdatedEvent }) => boolean): Promise<{ params: Protocol.Animation.AnimationUpdatedEvent }>;
|
827
|
+
|
821
828
|
}
|
822
829
|
|
823
830
|
export interface AuditsApi {
|
@@ -3041,7 +3048,14 @@ export namespace ProtocolTestsProxyApi {
|
|
3041
3048
|
*/
|
3042
3049
|
enable(): Promise<{id: number, result: void, sessionId: string}>;
|
3043
3050
|
|
3044
|
-
|
3051
|
+
/**
|
3052
|
+
* Gets the processed manifest for this current document.
|
3053
|
+
* This API always waits for the manifest to be loaded.
|
3054
|
+
* If manifestId is provided, and it does not match the manifest of the
|
3055
|
+
* current document, this API errors out.
|
3056
|
+
* If there isn’t a loaded page, this API errors out immediately.
|
3057
|
+
*/
|
3058
|
+
getAppManifest(params: Protocol.Page.GetAppManifestRequest): Promise<{id: number, result: Protocol.Page.GetAppManifestResponse, sessionId: string}>;
|
3045
3059
|
|
3046
3060
|
getInstallabilityErrors(): Promise<{id: number, result: Protocol.Page.GetInstallabilityErrorsResponse, sessionId: string}>;
|
3047
3061
|
|
package/types/protocol.d.ts
CHANGED
@@ -3260,6 +3260,16 @@ export namespace Protocol {
|
|
3260
3260
|
*/
|
3261
3261
|
animation: Animation;
|
3262
3262
|
}
|
3263
|
+
|
3264
|
+
/**
|
3265
|
+
* Event for animation that has been updated.
|
3266
|
+
*/
|
3267
|
+
export interface AnimationUpdatedEvent {
|
3268
|
+
/**
|
3269
|
+
* Animation that was updated.
|
3270
|
+
*/
|
3271
|
+
animation: Animation;
|
3272
|
+
}
|
3263
3273
|
}
|
3264
3274
|
|
3265
3275
|
/**
|
@@ -3559,7 +3569,7 @@ export namespace Protocol {
|
|
3559
3569
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3560
3570
|
* all cases except for success.
|
3561
3571
|
*/
|
3562
|
-
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp');
|
3572
|
+
export type FederatedAuthRequestIssueReason = ('ShouldEmbargo' | 'TooManyRequests' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'ConfigNotInWellKnown' | 'WellKnownTooBig' | 'ConfigHttpNotFound' | 'ConfigNoResponse' | 'ConfigInvalidResponse' | 'ConfigInvalidContentType' | 'ClientMetadataHttpNotFound' | 'ClientMetadataNoResponse' | 'ClientMetadataInvalidResponse' | 'ClientMetadataInvalidContentType' | 'DisabledInSettings' | 'ErrorFetchingSignin' | 'InvalidSigninResponse' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsListEmpty' | 'AccountsInvalidContentType' | 'IdTokenHttpNotFound' | 'IdTokenNoResponse' | 'IdTokenInvalidResponse' | 'IdTokenIdpErrorResponse' | 'IdTokenCrossSiteIdpErrorResponse' | 'IdTokenInvalidRequest' | 'IdTokenInvalidContentType' | 'ErrorIdToken' | 'Canceled' | 'RpPageNotVisible' | 'SilentMediationFailure' | 'ThirdPartyCookiesBlocked' | 'NotSignedInWithIdp' | 'MissingTransientUserActivation' | 'ReplacedByButtonMode');
|
3563
3573
|
|
3564
3574
|
export interface FederatedAuthUserInfoRequestIssueDetails {
|
3565
3575
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
@@ -13615,6 +13625,136 @@ export namespace Protocol {
|
|
13615
13625
|
eager?: boolean;
|
13616
13626
|
}
|
13617
13627
|
|
13628
|
+
export interface FileFilter {
|
13629
|
+
name?: string;
|
13630
|
+
accepts?: string[];
|
13631
|
+
}
|
13632
|
+
|
13633
|
+
export interface FileHandler {
|
13634
|
+
action: string;
|
13635
|
+
name: string;
|
13636
|
+
icons?: ImageResource[];
|
13637
|
+
/**
|
13638
|
+
* Mimic a map, name is the key, accepts is the value.
|
13639
|
+
*/
|
13640
|
+
accepts?: FileFilter[];
|
13641
|
+
/**
|
13642
|
+
* Won't repeat the enums, using string for easy comparison. Same as the
|
13643
|
+
* other enums below.
|
13644
|
+
*/
|
13645
|
+
launchType: string;
|
13646
|
+
}
|
13647
|
+
|
13648
|
+
/**
|
13649
|
+
* The image definition used in both icon and screenshot.
|
13650
|
+
*/
|
13651
|
+
export interface ImageResource {
|
13652
|
+
/**
|
13653
|
+
* The src field in the definition, but changing to url in favor of
|
13654
|
+
* consistency.
|
13655
|
+
*/
|
13656
|
+
url: string;
|
13657
|
+
sizes?: string;
|
13658
|
+
type?: string;
|
13659
|
+
}
|
13660
|
+
|
13661
|
+
export interface LaunchHandler {
|
13662
|
+
clientMode: string;
|
13663
|
+
}
|
13664
|
+
|
13665
|
+
export interface ProtocolHandler {
|
13666
|
+
protocol: string;
|
13667
|
+
url: string;
|
13668
|
+
}
|
13669
|
+
|
13670
|
+
export interface RelatedApplication {
|
13671
|
+
id?: string;
|
13672
|
+
url: string;
|
13673
|
+
}
|
13674
|
+
|
13675
|
+
export interface ScopeExtension {
|
13676
|
+
/**
|
13677
|
+
* Instead of using tuple, this field always returns the serialized string
|
13678
|
+
* for easy understanding and comparison.
|
13679
|
+
*/
|
13680
|
+
origin: string;
|
13681
|
+
hasOriginWildcard: boolean;
|
13682
|
+
}
|
13683
|
+
|
13684
|
+
export interface Screenshot {
|
13685
|
+
image: ImageResource;
|
13686
|
+
formFactor: string;
|
13687
|
+
label?: string;
|
13688
|
+
}
|
13689
|
+
|
13690
|
+
export interface ShareTarget {
|
13691
|
+
action: string;
|
13692
|
+
method: string;
|
13693
|
+
enctype: string;
|
13694
|
+
/**
|
13695
|
+
* Embed the ShareTargetParams
|
13696
|
+
*/
|
13697
|
+
title?: string;
|
13698
|
+
text?: string;
|
13699
|
+
url?: string;
|
13700
|
+
files?: FileFilter[];
|
13701
|
+
}
|
13702
|
+
|
13703
|
+
export interface Shortcut {
|
13704
|
+
name: string;
|
13705
|
+
url: string;
|
13706
|
+
}
|
13707
|
+
|
13708
|
+
export interface WebAppManifest {
|
13709
|
+
backgroundColor?: string;
|
13710
|
+
/**
|
13711
|
+
* The extra description provided by the manifest.
|
13712
|
+
*/
|
13713
|
+
description?: string;
|
13714
|
+
dir?: string;
|
13715
|
+
display?: string;
|
13716
|
+
/**
|
13717
|
+
* The overrided display mode controlled by the user.
|
13718
|
+
*/
|
13719
|
+
displayOverrides?: string[];
|
13720
|
+
/**
|
13721
|
+
* The handlers to open files.
|
13722
|
+
*/
|
13723
|
+
fileHandlers?: FileHandler[];
|
13724
|
+
icons?: ImageResource[];
|
13725
|
+
id?: string;
|
13726
|
+
lang?: string;
|
13727
|
+
/**
|
13728
|
+
* TODO(crbug.com/1231886): This field is non-standard and part of a Chrome
|
13729
|
+
* experiment. See:
|
13730
|
+
* https://github.com/WICG/web-app-launch/blob/main/launch_handler.md
|
13731
|
+
*/
|
13732
|
+
launchHandler?: LaunchHandler;
|
13733
|
+
name?: string;
|
13734
|
+
orientation?: string;
|
13735
|
+
preferRelatedApplications?: boolean;
|
13736
|
+
/**
|
13737
|
+
* The handlers to open protocols.
|
13738
|
+
*/
|
13739
|
+
protocolHandlers?: ProtocolHandler[];
|
13740
|
+
relatedApplications?: RelatedApplication[];
|
13741
|
+
scope?: string;
|
13742
|
+
/**
|
13743
|
+
* Non-standard, see
|
13744
|
+
* https://github.com/WICG/manifest-incubations/blob/gh-pages/scope_extensions-explainer.md
|
13745
|
+
*/
|
13746
|
+
scopeExtensions?: ScopeExtension[];
|
13747
|
+
/**
|
13748
|
+
* The screenshots used by chromium.
|
13749
|
+
*/
|
13750
|
+
screenshots?: Screenshot[];
|
13751
|
+
shareTarget?: ShareTarget;
|
13752
|
+
shortName?: string;
|
13753
|
+
shortcuts?: Shortcut[];
|
13754
|
+
startUrl?: string;
|
13755
|
+
themeColor?: string;
|
13756
|
+
}
|
13757
|
+
|
13618
13758
|
/**
|
13619
13759
|
* Enum of possible auto-response for permission / prompt dialogs.
|
13620
13760
|
*/
|
@@ -13817,6 +13957,10 @@ export namespace Protocol {
|
|
13817
13957
|
url: string;
|
13818
13958
|
}
|
13819
13959
|
|
13960
|
+
export interface GetAppManifestRequest {
|
13961
|
+
manifestId?: string;
|
13962
|
+
}
|
13963
|
+
|
13820
13964
|
export interface GetAppManifestResponse {
|
13821
13965
|
/**
|
13822
13966
|
* Manifest location.
|
@@ -13828,9 +13972,10 @@ export namespace Protocol {
|
|
13828
13972
|
*/
|
13829
13973
|
data?: string;
|
13830
13974
|
/**
|
13831
|
-
* Parsed manifest properties
|
13975
|
+
* Parsed manifest properties. Deprecated, use manifest instead.
|
13832
13976
|
*/
|
13833
13977
|
parsed?: AppManifestParsedProperties;
|
13978
|
+
manifest: WebAppManifest;
|
13834
13979
|
}
|
13835
13980
|
|
13836
13981
|
export interface GetInstallabilityErrorsResponse {
|