devtools-protocol 0.0.1285609 → 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.
@@ -1716,7 +1716,9 @@
|
|
1716
1716
|
"RpPageNotVisible",
|
1717
1717
|
"SilentMediationFailure",
|
1718
1718
|
"ThirdPartyCookiesBlocked",
|
1719
|
-
"NotSignedInWithIdp"
|
1719
|
+
"NotSignedInWithIdp",
|
1720
|
+
"MissingTransientUserActivation",
|
1721
|
+
"ReplacedByButtonMode"
|
1720
1722
|
]
|
1721
1723
|
},
|
1722
1724
|
{
|
@@ -17477,6 +17479,375 @@
|
|
17477
17479
|
}
|
17478
17480
|
]
|
17479
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
|
+
},
|
17480
17851
|
{
|
17481
17852
|
"id": "AutoResponseMode",
|
17482
17853
|
"description": "Enum of possible auto-response for permission / prompt dialogs.",
|
@@ -17960,6 +18331,14 @@
|
|
17960
18331
|
},
|
17961
18332
|
{
|
17962
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
|
+
],
|
17963
18342
|
"returns": [
|
17964
18343
|
{
|
17965
18344
|
"name": "url",
|
@@ -17981,10 +18360,16 @@
|
|
17981
18360
|
},
|
17982
18361
|
{
|
17983
18362
|
"name": "parsed",
|
17984
|
-
"description": "Parsed manifest properties",
|
18363
|
+
"description": "Parsed manifest properties. Deprecated, use manifest instead.",
|
17985
18364
|
"experimental": true,
|
18365
|
+
"deprecated": true,
|
17986
18366
|
"optional": true,
|
17987
18367
|
"$ref": "AppManifestParsedProperties"
|
18368
|
+
},
|
18369
|
+
{
|
18370
|
+
"name": "manifest",
|
18371
|
+
"experimental": true,
|
18372
|
+
"$ref": "WebAppManifest"
|
17988
18373
|
}
|
17989
18374
|
]
|
17990
18375
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -876,6 +876,8 @@ experimental domain Audits
|
|
876
876
|
SilentMediationFailure
|
877
877
|
ThirdPartyCookiesBlocked
|
878
878
|
NotSignedInWithIdp
|
879
|
+
MissingTransientUserActivation
|
880
|
+
ReplacedByButtonMode
|
879
881
|
|
880
882
|
type FederatedAuthUserInfoRequestIssueDetails extends object
|
881
883
|
properties
|
@@ -8325,15 +8327,132 @@ domain Page
|
|
8325
8327
|
# Enables page domain notifications.
|
8326
8328
|
command enable
|
8327
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.
|
8328
8444
|
command getAppManifest
|
8445
|
+
parameters
|
8446
|
+
optional string manifestId
|
8329
8447
|
returns
|
8330
8448
|
# Manifest location.
|
8331
8449
|
string url
|
8332
8450
|
array of AppManifestError errors
|
8333
8451
|
# Manifest content.
|
8334
8452
|
optional string data
|
8335
|
-
# Parsed manifest properties
|
8336
|
-
experimental optional AppManifestParsedProperties parsed
|
8453
|
+
# Parsed manifest properties. Deprecated, use manifest instead.
|
8454
|
+
experimental deprecated optional AppManifestParsedProperties parsed
|
8455
|
+
experimental WebAppManifest manifest
|
8337
8456
|
|
8338
8457
|
experimental command getInstallabilityErrors
|
8339
8458
|
returns
|
@@ -12160,3 +12279,4 @@ experimental domain PWA
|
|
12160
12279
|
returns
|
12161
12280
|
integer badgeCount
|
12162
12281
|
array of FileHandler fileHandlers
|
12282
|
+
|
@@ -3711,8 +3711,15 @@ export namespace ProtocolMapping {
|
|
3711
3711
|
paramsType: [];
|
3712
3712
|
returnType: void;
|
3713
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
|
+
*/
|
3714
3721
|
'Page.getAppManifest': {
|
3715
|
-
paramsType: [];
|
3722
|
+
paramsType: [Protocol.Page.GetAppManifestRequest?];
|
3716
3723
|
returnType: Protocol.Page.GetAppManifestResponse;
|
3717
3724
|
};
|
3718
3725
|
'Page.getInstallabilityErrors': {
|
@@ -2840,7 +2840,14 @@ export namespace ProtocolProxyApi {
|
|
2840
2840
|
*/
|
2841
2841
|
enable(): Promise<void>;
|
2842
2842
|
|
2843
|
-
|
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>;
|
2844
2851
|
|
2845
2852
|
getInstallabilityErrors(): Promise<Protocol.Page.GetInstallabilityErrorsResponse>;
|
2846
2853
|
|
@@ -3048,7 +3048,14 @@ export namespace ProtocolTestsProxyApi {
|
|
3048
3048
|
*/
|
3049
3049
|
enable(): Promise<{id: number, result: void, sessionId: string}>;
|
3050
3050
|
|
3051
|
-
|
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}>;
|
3052
3059
|
|
3053
3060
|
getInstallabilityErrors(): Promise<{id: number, result: Protocol.Page.GetInstallabilityErrorsResponse, sessionId: string}>;
|
3054
3061
|
|
package/types/protocol.d.ts
CHANGED
@@ -3569,7 +3569,7 @@ export namespace Protocol {
|
|
3569
3569
|
* third_party/blink/public/mojom/devtools/inspector_issue.mojom to include
|
3570
3570
|
* all cases except for success.
|
3571
3571
|
*/
|
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');
|
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');
|
3573
3573
|
|
3574
3574
|
export interface FederatedAuthUserInfoRequestIssueDetails {
|
3575
3575
|
federatedAuthUserInfoRequestIssueReason: FederatedAuthUserInfoRequestIssueReason;
|
@@ -13625,6 +13625,136 @@ export namespace Protocol {
|
|
13625
13625
|
eager?: boolean;
|
13626
13626
|
}
|
13627
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
|
+
|
13628
13758
|
/**
|
13629
13759
|
* Enum of possible auto-response for permission / prompt dialogs.
|
13630
13760
|
*/
|
@@ -13827,6 +13957,10 @@ export namespace Protocol {
|
|
13827
13957
|
url: string;
|
13828
13958
|
}
|
13829
13959
|
|
13960
|
+
export interface GetAppManifestRequest {
|
13961
|
+
manifestId?: string;
|
13962
|
+
}
|
13963
|
+
|
13830
13964
|
export interface GetAppManifestResponse {
|
13831
13965
|
/**
|
13832
13966
|
* Manifest location.
|
@@ -13838,9 +13972,10 @@ export namespace Protocol {
|
|
13838
13972
|
*/
|
13839
13973
|
data?: string;
|
13840
13974
|
/**
|
13841
|
-
* Parsed manifest properties
|
13975
|
+
* Parsed manifest properties. Deprecated, use manifest instead.
|
13842
13976
|
*/
|
13843
13977
|
parsed?: AppManifestParsedProperties;
|
13978
|
+
manifest: WebAppManifest;
|
13844
13979
|
}
|
13845
13980
|
|
13846
13981
|
export interface GetInstallabilityErrorsResponse {
|