devtools-protocol 0.0.1697629 → 0.0.1700460
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 +240 -2
- package/package.json +1 -1
- package/pdl/domains/Animation.pdl +6 -2
- package/pdl/domains/Overlay.pdl +24 -0
- package/pdl/domains/Page.pdl +26 -1
- package/pdl/domains/Storage.pdl +43 -0
- package/types/protocol-mapping.d.ts +55 -1
- package/types/protocol-proxy-api.d.ts +44 -1
- package/types/protocol-tests-proxy-api.d.ts +46 -1
- package/types/protocol.d.ts +140 -2
|
@@ -1030,8 +1030,18 @@
|
|
|
1030
1030
|
},
|
|
1031
1031
|
{
|
|
1032
1032
|
"name": "currentTime",
|
|
1033
|
-
"description": "Set
|
|
1033
|
+
"description": "Set each animation to the same time.",
|
|
1034
|
+
"optional": true,
|
|
1034
1035
|
"type": "number"
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"name": "currentTimes",
|
|
1039
|
+
"description": "Set each animation to a different time. If set, should have the same\nlength as animations. Exactly one of currentTime or currentTimes should\nbe set.",
|
|
1040
|
+
"optional": true,
|
|
1041
|
+
"type": "array",
|
|
1042
|
+
"items": {
|
|
1043
|
+
"type": "number"
|
|
1044
|
+
}
|
|
1035
1045
|
}
|
|
1036
1046
|
]
|
|
1037
1047
|
},
|
|
@@ -20659,6 +20669,67 @@
|
|
|
20659
20669
|
"apca"
|
|
20660
20670
|
]
|
|
20661
20671
|
},
|
|
20672
|
+
{
|
|
20673
|
+
"id": "ImcbHighlightConfig",
|
|
20674
|
+
"description": "Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.",
|
|
20675
|
+
"type": "object",
|
|
20676
|
+
"properties": [
|
|
20677
|
+
{
|
|
20678
|
+
"name": "imcbBorderColor",
|
|
20679
|
+
"description": "Border color for the Inset-Modified Containing Block (default: transparent).",
|
|
20680
|
+
"optional": true,
|
|
20681
|
+
"$ref": "DOM.RGBA"
|
|
20682
|
+
},
|
|
20683
|
+
{
|
|
20684
|
+
"name": "imcbBackgroundColor",
|
|
20685
|
+
"description": "Background fill color for the Inset-Modified Containing Block (default: transparent).",
|
|
20686
|
+
"optional": true,
|
|
20687
|
+
"$ref": "DOM.RGBA"
|
|
20688
|
+
},
|
|
20689
|
+
{
|
|
20690
|
+
"name": "insetsBackgroundColor",
|
|
20691
|
+
"description": "Fill color for the inset modifiers area (difference between CB and IMCB).",
|
|
20692
|
+
"optional": true,
|
|
20693
|
+
"$ref": "DOM.RGBA"
|
|
20694
|
+
},
|
|
20695
|
+
{
|
|
20696
|
+
"name": "insetsHatchColor",
|
|
20697
|
+
"description": "Hatch color for the inset modifiers area.",
|
|
20698
|
+
"optional": true,
|
|
20699
|
+
"$ref": "DOM.RGBA"
|
|
20700
|
+
},
|
|
20701
|
+
{
|
|
20702
|
+
"name": "anchorBorderColor",
|
|
20703
|
+
"description": "Border color for the referenced target anchor element(s) (when element is anchor-positioned).",
|
|
20704
|
+
"optional": true,
|
|
20705
|
+
"$ref": "DOM.RGBA"
|
|
20706
|
+
},
|
|
20707
|
+
{
|
|
20708
|
+
"name": "anchorBackgroundColor",
|
|
20709
|
+
"description": "Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).",
|
|
20710
|
+
"optional": true,
|
|
20711
|
+
"$ref": "DOM.RGBA"
|
|
20712
|
+
},
|
|
20713
|
+
{
|
|
20714
|
+
"name": "showPositionAreaGrid",
|
|
20715
|
+
"description": "Whether to render the 3x3 position-area grid lines when position-area is used.",
|
|
20716
|
+
"optional": true,
|
|
20717
|
+
"type": "boolean"
|
|
20718
|
+
},
|
|
20719
|
+
{
|
|
20720
|
+
"name": "positionAreaGridLineColor",
|
|
20721
|
+
"description": "Line color for the 3x3 position-area grid lines.",
|
|
20722
|
+
"optional": true,
|
|
20723
|
+
"$ref": "DOM.RGBA"
|
|
20724
|
+
},
|
|
20725
|
+
{
|
|
20726
|
+
"name": "positionAreaActiveRegionColor",
|
|
20727
|
+
"description": "Fill color for the active region within the position-area grid.",
|
|
20728
|
+
"optional": true,
|
|
20729
|
+
"$ref": "DOM.RGBA"
|
|
20730
|
+
}
|
|
20731
|
+
]
|
|
20732
|
+
},
|
|
20662
20733
|
{
|
|
20663
20734
|
"id": "HighlightConfig",
|
|
20664
20735
|
"description": "Configuration data for the highlighting of page elements.",
|
|
@@ -20777,6 +20848,12 @@
|
|
|
20777
20848
|
"description": "The container query container highlight configuration (default: all transparent).",
|
|
20778
20849
|
"optional": true,
|
|
20779
20850
|
"$ref": "ContainerQueryContainerHighlightConfig"
|
|
20851
|
+
},
|
|
20852
|
+
{
|
|
20853
|
+
"name": "imcbHighlightConfig",
|
|
20854
|
+
"description": "The IMCB highlight configuration (default: all transparent).",
|
|
20855
|
+
"optional": true,
|
|
20856
|
+
"$ref": "ImcbHighlightConfig"
|
|
20780
20857
|
}
|
|
20781
20858
|
]
|
|
20782
20859
|
},
|
|
@@ -23208,6 +23285,32 @@
|
|
|
23208
23285
|
}
|
|
23209
23286
|
]
|
|
23210
23287
|
},
|
|
23288
|
+
{
|
|
23289
|
+
"id": "SubApp",
|
|
23290
|
+
"type": "object",
|
|
23291
|
+
"properties": [
|
|
23292
|
+
{
|
|
23293
|
+
"name": "name",
|
|
23294
|
+
"description": "Display name of the sub-app.",
|
|
23295
|
+
"type": "string"
|
|
23296
|
+
},
|
|
23297
|
+
{
|
|
23298
|
+
"name": "scope",
|
|
23299
|
+
"description": "Scope of the sub-app.",
|
|
23300
|
+
"type": "string"
|
|
23301
|
+
},
|
|
23302
|
+
{
|
|
23303
|
+
"name": "manifestId",
|
|
23304
|
+
"description": "Manifest id of the sub-app.",
|
|
23305
|
+
"type": "string"
|
|
23306
|
+
},
|
|
23307
|
+
{
|
|
23308
|
+
"name": "startUrl",
|
|
23309
|
+
"description": "Start URL of the sub-app.",
|
|
23310
|
+
"type": "string"
|
|
23311
|
+
}
|
|
23312
|
+
]
|
|
23313
|
+
},
|
|
23211
23314
|
{
|
|
23212
23315
|
"id": "NavigationType",
|
|
23213
23316
|
"description": "The type of a frameNavigated event.",
|
|
@@ -23781,7 +23884,7 @@
|
|
|
23781
23884
|
},
|
|
23782
23885
|
{
|
|
23783
23886
|
"name": "getAppId",
|
|
23784
|
-
"description": "Returns the unique (PWA) app id.\nOnly returns values if the feature flag 'WebAppEnableManifestId' is enabled",
|
|
23887
|
+
"description": "Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.\nOnly returns values if the feature flag 'WebAppEnableManifestId' is enabled",
|
|
23785
23888
|
"experimental": true,
|
|
23786
23889
|
"returns": [
|
|
23787
23890
|
{
|
|
@@ -23795,6 +23898,46 @@
|
|
|
23795
23898
|
"description": "Recommendation for manifest's id attribute to match current id computed from start_url",
|
|
23796
23899
|
"optional": true,
|
|
23797
23900
|
"type": "string"
|
|
23901
|
+
},
|
|
23902
|
+
{
|
|
23903
|
+
"name": "bundleId",
|
|
23904
|
+
"description": "The bundle ID for an Isolated Web App (IWA)",
|
|
23905
|
+
"optional": true,
|
|
23906
|
+
"type": "string"
|
|
23907
|
+
},
|
|
23908
|
+
{
|
|
23909
|
+
"name": "parentAppName",
|
|
23910
|
+
"description": "The name of the parent app if this app is a Sub-App",
|
|
23911
|
+
"optional": true,
|
|
23912
|
+
"type": "string"
|
|
23913
|
+
}
|
|
23914
|
+
]
|
|
23915
|
+
},
|
|
23916
|
+
{
|
|
23917
|
+
"name": "getSubApps",
|
|
23918
|
+
"description": "Returns the list of installed child Sub-Apps for the inspected parent app.",
|
|
23919
|
+
"experimental": true,
|
|
23920
|
+
"returns": [
|
|
23921
|
+
{
|
|
23922
|
+
"name": "subApps",
|
|
23923
|
+
"type": "array",
|
|
23924
|
+
"items": {
|
|
23925
|
+
"$ref": "SubApp"
|
|
23926
|
+
}
|
|
23927
|
+
}
|
|
23928
|
+
]
|
|
23929
|
+
},
|
|
23930
|
+
{
|
|
23931
|
+
"name": "getSiblingSubApps",
|
|
23932
|
+
"description": "Returns the list of sibling Sub-Apps sharing the same parent app if the inspected context is a Sub-App.",
|
|
23933
|
+
"experimental": true,
|
|
23934
|
+
"returns": [
|
|
23935
|
+
{
|
|
23936
|
+
"name": "subApps",
|
|
23937
|
+
"type": "array",
|
|
23938
|
+
"items": {
|
|
23939
|
+
"$ref": "SubApp"
|
|
23940
|
+
}
|
|
23798
23941
|
}
|
|
23799
23942
|
]
|
|
23800
23943
|
},
|
|
@@ -27632,6 +27775,49 @@
|
|
|
27632
27775
|
}
|
|
27633
27776
|
]
|
|
27634
27777
|
},
|
|
27778
|
+
{
|
|
27779
|
+
"id": "PrivateVerificationToken",
|
|
27780
|
+
"description": "Details of a stored Private Verification Token.",
|
|
27781
|
+
"experimental": true,
|
|
27782
|
+
"type": "object",
|
|
27783
|
+
"properties": [
|
|
27784
|
+
{
|
|
27785
|
+
"name": "id",
|
|
27786
|
+
"description": "Unique identifier of the token in the database.",
|
|
27787
|
+
"type": "string"
|
|
27788
|
+
},
|
|
27789
|
+
{
|
|
27790
|
+
"name": "issuerOrigin",
|
|
27791
|
+
"description": "Origin of the token issuer.",
|
|
27792
|
+
"type": "string"
|
|
27793
|
+
},
|
|
27794
|
+
{
|
|
27795
|
+
"name": "keyId",
|
|
27796
|
+
"description": "Public key ID used to issue the token.",
|
|
27797
|
+
"type": "integer"
|
|
27798
|
+
},
|
|
27799
|
+
{
|
|
27800
|
+
"name": "expiration",
|
|
27801
|
+
"description": "Expiration timestamp in seconds since the epoch.",
|
|
27802
|
+
"$ref": "Network.TimeSinceEpoch"
|
|
27803
|
+
},
|
|
27804
|
+
{
|
|
27805
|
+
"name": "creationTime",
|
|
27806
|
+
"description": "Token creation timestamp in seconds since the epoch.",
|
|
27807
|
+
"$ref": "Network.TimeSinceEpoch"
|
|
27808
|
+
},
|
|
27809
|
+
{
|
|
27810
|
+
"name": "version",
|
|
27811
|
+
"description": "Token protocol version.",
|
|
27812
|
+
"type": "integer"
|
|
27813
|
+
},
|
|
27814
|
+
{
|
|
27815
|
+
"name": "token",
|
|
27816
|
+
"description": "Base64-encoded serialized token.",
|
|
27817
|
+
"type": "string"
|
|
27818
|
+
}
|
|
27819
|
+
]
|
|
27820
|
+
},
|
|
27635
27821
|
{
|
|
27636
27822
|
"id": "StorageBucketsDurability",
|
|
27637
27823
|
"type": "string",
|
|
@@ -28016,6 +28202,53 @@
|
|
|
28016
28202
|
}
|
|
28017
28203
|
]
|
|
28018
28204
|
},
|
|
28205
|
+
{
|
|
28206
|
+
"name": "getPrivateVerificationTokens",
|
|
28207
|
+
"description": "Returns all stored Private Verification Tokens for the current browsing\ncontext.",
|
|
28208
|
+
"experimental": true,
|
|
28209
|
+
"returns": [
|
|
28210
|
+
{
|
|
28211
|
+
"name": "tokens",
|
|
28212
|
+
"type": "array",
|
|
28213
|
+
"items": {
|
|
28214
|
+
"$ref": "PrivateVerificationToken"
|
|
28215
|
+
}
|
|
28216
|
+
}
|
|
28217
|
+
]
|
|
28218
|
+
},
|
|
28219
|
+
{
|
|
28220
|
+
"name": "clearPrivateVerificationTokens",
|
|
28221
|
+
"description": "Removes all Private Verification Tokens issued by the provided issuerOrigin.",
|
|
28222
|
+
"experimental": true,
|
|
28223
|
+
"parameters": [
|
|
28224
|
+
{
|
|
28225
|
+
"name": "issuerOrigin",
|
|
28226
|
+
"type": "string"
|
|
28227
|
+
}
|
|
28228
|
+
]
|
|
28229
|
+
},
|
|
28230
|
+
{
|
|
28231
|
+
"name": "deletePrivateVerificationToken",
|
|
28232
|
+
"description": "Removes a specific Private Verification Token by its ID.",
|
|
28233
|
+
"experimental": true,
|
|
28234
|
+
"parameters": [
|
|
28235
|
+
{
|
|
28236
|
+
"name": "tokenId",
|
|
28237
|
+
"type": "string"
|
|
28238
|
+
}
|
|
28239
|
+
]
|
|
28240
|
+
},
|
|
28241
|
+
{
|
|
28242
|
+
"name": "setPrivateVerificationTokensTracking",
|
|
28243
|
+
"description": "Set tracking for Private Verification Tokens.",
|
|
28244
|
+
"experimental": true,
|
|
28245
|
+
"parameters": [
|
|
28246
|
+
{
|
|
28247
|
+
"name": "enable",
|
|
28248
|
+
"type": "boolean"
|
|
28249
|
+
}
|
|
28250
|
+
]
|
|
28251
|
+
},
|
|
28019
28252
|
{
|
|
28020
28253
|
"name": "setStorageBucketTracking",
|
|
28021
28254
|
"description": "Set tracking for a storage key's buckets.",
|
|
@@ -28188,6 +28421,11 @@
|
|
|
28188
28421
|
"type": "string"
|
|
28189
28422
|
}
|
|
28190
28423
|
]
|
|
28424
|
+
},
|
|
28425
|
+
{
|
|
28426
|
+
"name": "privateVerificationTokensUpdated",
|
|
28427
|
+
"description": "Private Verification Tokens have been stored or deleted.",
|
|
28428
|
+
"experimental": true
|
|
28191
28429
|
}
|
|
28192
28430
|
]
|
|
28193
28431
|
},
|
package/package.json
CHANGED
|
@@ -143,8 +143,12 @@ experimental domain Animation
|
|
|
143
143
|
parameters
|
|
144
144
|
# List of animation ids to seek.
|
|
145
145
|
array of string animations
|
|
146
|
-
# Set
|
|
147
|
-
number currentTime
|
|
146
|
+
# Set each animation to the same time.
|
|
147
|
+
optional number currentTime
|
|
148
|
+
# Set each animation to a different time. If set, should have the same
|
|
149
|
+
# length as animations. Exactly one of currentTime or currentTimes should
|
|
150
|
+
# be set.
|
|
151
|
+
optional array of number currentTimes
|
|
148
152
|
|
|
149
153
|
# Sets the paused state of a set of animations.
|
|
150
154
|
command setPaused
|
package/pdl/domains/Overlay.pdl
CHANGED
|
@@ -116,6 +116,28 @@ experimental domain Overlay
|
|
|
116
116
|
aaa
|
|
117
117
|
apca
|
|
118
118
|
|
|
119
|
+
# Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.
|
|
120
|
+
type ImcbHighlightConfig extends object
|
|
121
|
+
properties
|
|
122
|
+
# Border color for the Inset-Modified Containing Block (default: transparent).
|
|
123
|
+
optional DOM.RGBA imcbBorderColor
|
|
124
|
+
# Background fill color for the Inset-Modified Containing Block (default: transparent).
|
|
125
|
+
optional DOM.RGBA imcbBackgroundColor
|
|
126
|
+
# Fill color for the inset modifiers area (difference between CB and IMCB).
|
|
127
|
+
optional DOM.RGBA insetsBackgroundColor
|
|
128
|
+
# Hatch color for the inset modifiers area.
|
|
129
|
+
optional DOM.RGBA insetsHatchColor
|
|
130
|
+
# Border color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
131
|
+
optional DOM.RGBA anchorBorderColor
|
|
132
|
+
# Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
133
|
+
optional DOM.RGBA anchorBackgroundColor
|
|
134
|
+
# Whether to render the 3x3 position-area grid lines when position-area is used.
|
|
135
|
+
optional boolean showPositionAreaGrid
|
|
136
|
+
# Line color for the 3x3 position-area grid lines.
|
|
137
|
+
optional DOM.RGBA positionAreaGridLineColor
|
|
138
|
+
# Fill color for the active region within the position-area grid.
|
|
139
|
+
optional DOM.RGBA positionAreaActiveRegionColor
|
|
140
|
+
|
|
119
141
|
# Configuration data for the highlighting of page elements.
|
|
120
142
|
type HighlightConfig extends object
|
|
121
143
|
properties
|
|
@@ -157,6 +179,8 @@ experimental domain Overlay
|
|
|
157
179
|
optional ContrastAlgorithm contrastAlgorithm
|
|
158
180
|
# The container query container highlight configuration (default: all transparent).
|
|
159
181
|
optional ContainerQueryContainerHighlightConfig containerQueryContainerHighlightConfig
|
|
182
|
+
# The IMCB highlight configuration (default: all transparent).
|
|
183
|
+
optional ImcbHighlightConfig imcbHighlightConfig
|
|
160
184
|
|
|
161
185
|
type ColorFormat extends string
|
|
162
186
|
enum
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -804,7 +804,18 @@ domain Page
|
|
|
804
804
|
returns
|
|
805
805
|
optional binary primaryIcon
|
|
806
806
|
|
|
807
|
-
|
|
807
|
+
type SubApp extends object
|
|
808
|
+
properties
|
|
809
|
+
# Display name of the sub-app.
|
|
810
|
+
string name
|
|
811
|
+
# Scope of the sub-app.
|
|
812
|
+
string scope
|
|
813
|
+
# Manifest id of the sub-app.
|
|
814
|
+
string manifestId
|
|
815
|
+
# Start URL of the sub-app.
|
|
816
|
+
string startUrl
|
|
817
|
+
|
|
818
|
+
# Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
808
819
|
# Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
809
820
|
experimental command getAppId
|
|
810
821
|
returns
|
|
@@ -812,6 +823,20 @@ domain Page
|
|
|
812
823
|
optional string appId
|
|
813
824
|
# Recommendation for manifest's id attribute to match current id computed from start_url
|
|
814
825
|
optional string recommendedId
|
|
826
|
+
# The bundle ID for an Isolated Web App (IWA)
|
|
827
|
+
optional string bundleId
|
|
828
|
+
# The name of the parent app if this app is a Sub-App
|
|
829
|
+
optional string parentAppName
|
|
830
|
+
|
|
831
|
+
# Returns the list of installed child Sub-Apps for the inspected parent app.
|
|
832
|
+
experimental command getSubApps
|
|
833
|
+
returns
|
|
834
|
+
array of SubApp subApps
|
|
835
|
+
|
|
836
|
+
# Returns the list of sibling Sub-Apps sharing the same parent app if the inspected context is a Sub-App.
|
|
837
|
+
experimental command getSiblingSubApps
|
|
838
|
+
returns
|
|
839
|
+
array of SubApp subApps
|
|
815
840
|
|
|
816
841
|
experimental command getAdScriptAncestry
|
|
817
842
|
parameters
|
package/pdl/domains/Storage.pdl
CHANGED
|
@@ -40,6 +40,25 @@ experimental domain Storage
|
|
|
40
40
|
string issuerOrigin
|
|
41
41
|
number count
|
|
42
42
|
|
|
43
|
+
# Details of a stored Private Verification Token.
|
|
44
|
+
experimental type PrivateVerificationToken extends object
|
|
45
|
+
properties
|
|
46
|
+
# Unique identifier of the token in the database.
|
|
47
|
+
string id
|
|
48
|
+
# Origin of the token issuer.
|
|
49
|
+
string issuerOrigin
|
|
50
|
+
# Public key ID used to issue the token.
|
|
51
|
+
integer keyId
|
|
52
|
+
# Expiration timestamp in seconds since the epoch.
|
|
53
|
+
Network.TimeSinceEpoch expiration
|
|
54
|
+
# Token creation timestamp in seconds since the epoch.
|
|
55
|
+
Network.TimeSinceEpoch creationTime
|
|
56
|
+
# Token protocol version.
|
|
57
|
+
integer version
|
|
58
|
+
# Base64-encoded serialized token.
|
|
59
|
+
string token
|
|
60
|
+
|
|
61
|
+
|
|
43
62
|
|
|
44
63
|
type StorageBucketsDurability extends string
|
|
45
64
|
enum
|
|
@@ -209,6 +228,27 @@ experimental domain Storage
|
|
|
209
228
|
# True if any tokens were deleted, false otherwise.
|
|
210
229
|
boolean didDeleteTokens
|
|
211
230
|
|
|
231
|
+
# Returns all stored Private Verification Tokens for the current browsing
|
|
232
|
+
# context.
|
|
233
|
+
experimental command getPrivateVerificationTokens
|
|
234
|
+
returns
|
|
235
|
+
array of PrivateVerificationToken tokens
|
|
236
|
+
|
|
237
|
+
# Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
238
|
+
experimental command clearPrivateVerificationTokens
|
|
239
|
+
parameters
|
|
240
|
+
string issuerOrigin
|
|
241
|
+
|
|
242
|
+
# Removes a specific Private Verification Token by its ID.
|
|
243
|
+
experimental command deletePrivateVerificationToken
|
|
244
|
+
parameters
|
|
245
|
+
string tokenId
|
|
246
|
+
|
|
247
|
+
# Set tracking for Private Verification Tokens.
|
|
248
|
+
experimental command setPrivateVerificationTokensTracking
|
|
249
|
+
parameters
|
|
250
|
+
boolean enable
|
|
251
|
+
|
|
212
252
|
# Set tracking for a storage key's buckets.
|
|
213
253
|
experimental command setStorageBucketTracking
|
|
214
254
|
parameters
|
|
@@ -279,6 +319,9 @@ experimental domain Storage
|
|
|
279
319
|
parameters
|
|
280
320
|
string bucketId
|
|
281
321
|
|
|
322
|
+
# Private Verification Tokens have been stored or deleted.
|
|
323
|
+
experimental event privateVerificationTokensUpdated
|
|
324
|
+
|
|
282
325
|
# A single Related Website Set object.
|
|
283
326
|
experimental type RelatedWebsiteSet extends object
|
|
284
327
|
properties
|
|
@@ -941,6 +941,11 @@ export namespace ProtocolMapping {
|
|
|
941
941
|
'Storage.indexedDBListUpdated': [Protocol.Storage.IndexedDBListUpdatedEvent];
|
|
942
942
|
'Storage.storageBucketCreatedOrUpdated': [Protocol.Storage.StorageBucketCreatedOrUpdatedEvent];
|
|
943
943
|
'Storage.storageBucketDeleted': [Protocol.Storage.StorageBucketDeletedEvent];
|
|
944
|
+
/**
|
|
945
|
+
* Private Verification Tokens have been stored or deleted.
|
|
946
|
+
* @experimental
|
|
947
|
+
*/
|
|
948
|
+
'Storage.privateVerificationTokensUpdated': [];
|
|
944
949
|
/**
|
|
945
950
|
* Issued when attached to target because of auto-attach or `attachToTarget` command.
|
|
946
951
|
* @experimental
|
|
@@ -5017,7 +5022,7 @@ export namespace ProtocolMapping {
|
|
|
5017
5022
|
returnType: Protocol.Page.GetManifestIconsResponse;
|
|
5018
5023
|
};
|
|
5019
5024
|
/**
|
|
5020
|
-
* Returns the unique (PWA) app id.
|
|
5025
|
+
* Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
5021
5026
|
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
5022
5027
|
* @experimental
|
|
5023
5028
|
*/
|
|
@@ -5025,6 +5030,22 @@ export namespace ProtocolMapping {
|
|
|
5025
5030
|
paramsType: [];
|
|
5026
5031
|
returnType: Protocol.Page.GetAppIdResponse;
|
|
5027
5032
|
};
|
|
5033
|
+
/**
|
|
5034
|
+
* Returns the list of installed child Sub-Apps for the inspected parent app.
|
|
5035
|
+
* @experimental
|
|
5036
|
+
*/
|
|
5037
|
+
'Page.getSubApps': {
|
|
5038
|
+
paramsType: [];
|
|
5039
|
+
returnType: Protocol.Page.GetSubAppsResponse;
|
|
5040
|
+
};
|
|
5041
|
+
/**
|
|
5042
|
+
* Returns the list of sibling Sub-Apps sharing the same parent app if the inspected context is a Sub-App.
|
|
5043
|
+
* @experimental
|
|
5044
|
+
*/
|
|
5045
|
+
'Page.getSiblingSubApps': {
|
|
5046
|
+
paramsType: [];
|
|
5047
|
+
returnType: Protocol.Page.GetSiblingSubAppsResponse;
|
|
5048
|
+
};
|
|
5028
5049
|
/**
|
|
5029
5050
|
* @experimental
|
|
5030
5051
|
*/
|
|
@@ -5832,6 +5853,39 @@ export namespace ProtocolMapping {
|
|
|
5832
5853
|
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
|
5833
5854
|
returnType: Protocol.Storage.ClearTrustTokensResponse;
|
|
5834
5855
|
};
|
|
5856
|
+
/**
|
|
5857
|
+
* Returns all stored Private Verification Tokens for the current browsing
|
|
5858
|
+
* context.
|
|
5859
|
+
* @experimental
|
|
5860
|
+
*/
|
|
5861
|
+
'Storage.getPrivateVerificationTokens': {
|
|
5862
|
+
paramsType: [];
|
|
5863
|
+
returnType: Protocol.Storage.GetPrivateVerificationTokensResponse;
|
|
5864
|
+
};
|
|
5865
|
+
/**
|
|
5866
|
+
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
5867
|
+
* @experimental
|
|
5868
|
+
*/
|
|
5869
|
+
'Storage.clearPrivateVerificationTokens': {
|
|
5870
|
+
paramsType: [Protocol.Storage.ClearPrivateVerificationTokensRequest];
|
|
5871
|
+
returnType: void;
|
|
5872
|
+
};
|
|
5873
|
+
/**
|
|
5874
|
+
* Removes a specific Private Verification Token by its ID.
|
|
5875
|
+
* @experimental
|
|
5876
|
+
*/
|
|
5877
|
+
'Storage.deletePrivateVerificationToken': {
|
|
5878
|
+
paramsType: [Protocol.Storage.DeletePrivateVerificationTokenRequest];
|
|
5879
|
+
returnType: void;
|
|
5880
|
+
};
|
|
5881
|
+
/**
|
|
5882
|
+
* Set tracking for Private Verification Tokens.
|
|
5883
|
+
* @experimental
|
|
5884
|
+
*/
|
|
5885
|
+
'Storage.setPrivateVerificationTokensTracking': {
|
|
5886
|
+
paramsType: [Protocol.Storage.SetPrivateVerificationTokensTrackingRequest];
|
|
5887
|
+
returnType: void;
|
|
5888
|
+
};
|
|
5835
5889
|
/**
|
|
5836
5890
|
* Set tracking for a storage key's buckets.
|
|
5837
5891
|
* @experimental
|
|
@@ -3929,12 +3929,24 @@ export namespace ProtocolProxyApi {
|
|
|
3929
3929
|
getManifestIcons(): Promise<Protocol.Page.GetManifestIconsResponse>;
|
|
3930
3930
|
|
|
3931
3931
|
/**
|
|
3932
|
-
* Returns the unique (PWA) app id.
|
|
3932
|
+
* Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
3933
3933
|
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
3934
3934
|
* @experimental
|
|
3935
3935
|
*/
|
|
3936
3936
|
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
|
|
3937
3937
|
|
|
3938
|
+
/**
|
|
3939
|
+
* Returns the list of installed child Sub-Apps for the inspected parent app.
|
|
3940
|
+
* @experimental
|
|
3941
|
+
*/
|
|
3942
|
+
getSubApps(): Promise<Protocol.Page.GetSubAppsResponse>;
|
|
3943
|
+
|
|
3944
|
+
/**
|
|
3945
|
+
* Returns the list of sibling Sub-Apps sharing the same parent app if the inspected context is a Sub-App.
|
|
3946
|
+
* @experimental
|
|
3947
|
+
*/
|
|
3948
|
+
getSiblingSubApps(): Promise<Protocol.Page.GetSiblingSubAppsResponse>;
|
|
3949
|
+
|
|
3938
3950
|
/**
|
|
3939
3951
|
* @experimental
|
|
3940
3952
|
*/
|
|
@@ -4917,6 +4929,31 @@ export namespace ProtocolProxyApi {
|
|
|
4917
4929
|
*/
|
|
4918
4930
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
|
|
4919
4931
|
|
|
4932
|
+
/**
|
|
4933
|
+
* Returns all stored Private Verification Tokens for the current browsing
|
|
4934
|
+
* context.
|
|
4935
|
+
* @experimental
|
|
4936
|
+
*/
|
|
4937
|
+
getPrivateVerificationTokens(): Promise<Protocol.Storage.GetPrivateVerificationTokensResponse>;
|
|
4938
|
+
|
|
4939
|
+
/**
|
|
4940
|
+
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
4941
|
+
* @experimental
|
|
4942
|
+
*/
|
|
4943
|
+
clearPrivateVerificationTokens(params: Protocol.Storage.ClearPrivateVerificationTokensRequest): Promise<void>;
|
|
4944
|
+
|
|
4945
|
+
/**
|
|
4946
|
+
* Removes a specific Private Verification Token by its ID.
|
|
4947
|
+
* @experimental
|
|
4948
|
+
*/
|
|
4949
|
+
deletePrivateVerificationToken(params: Protocol.Storage.DeletePrivateVerificationTokenRequest): Promise<void>;
|
|
4950
|
+
|
|
4951
|
+
/**
|
|
4952
|
+
* Set tracking for Private Verification Tokens.
|
|
4953
|
+
* @experimental
|
|
4954
|
+
*/
|
|
4955
|
+
setPrivateVerificationTokensTracking(params: Protocol.Storage.SetPrivateVerificationTokensTrackingRequest): Promise<void>;
|
|
4956
|
+
|
|
4920
4957
|
/**
|
|
4921
4958
|
* Set tracking for a storage key's buckets.
|
|
4922
4959
|
* @experimental
|
|
@@ -4966,6 +5003,12 @@ export namespace ProtocolProxyApi {
|
|
|
4966
5003
|
|
|
4967
5004
|
on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;
|
|
4968
5005
|
|
|
5006
|
+
/**
|
|
5007
|
+
* Private Verification Tokens have been stored or deleted.
|
|
5008
|
+
* @experimental
|
|
5009
|
+
*/
|
|
5010
|
+
on(event: 'privateVerificationTokensUpdated', listener: () => void): void;
|
|
5011
|
+
|
|
4969
5012
|
}
|
|
4970
5013
|
|
|
4971
5014
|
export interface SystemInfoApi {
|
|
@@ -4203,12 +4203,24 @@ export namespace ProtocolTestsProxyApi {
|
|
|
4203
4203
|
getManifestIcons(): Promise<{id: number, result: Protocol.Page.GetManifestIconsResponse, sessionId: string}>;
|
|
4204
4204
|
|
|
4205
4205
|
/**
|
|
4206
|
-
* Returns the unique (PWA) app id.
|
|
4206
|
+
* Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
4207
4207
|
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
4208
4208
|
* @experimental
|
|
4209
4209
|
*/
|
|
4210
4210
|
getAppId(): Promise<{id: number, result: Protocol.Page.GetAppIdResponse, sessionId: string}>;
|
|
4211
4211
|
|
|
4212
|
+
/**
|
|
4213
|
+
* Returns the list of installed child Sub-Apps for the inspected parent app.
|
|
4214
|
+
* @experimental
|
|
4215
|
+
*/
|
|
4216
|
+
getSubApps(): Promise<{id: number, result: Protocol.Page.GetSubAppsResponse, sessionId: string}>;
|
|
4217
|
+
|
|
4218
|
+
/**
|
|
4219
|
+
* Returns the list of sibling Sub-Apps sharing the same parent app if the inspected context is a Sub-App.
|
|
4220
|
+
* @experimental
|
|
4221
|
+
*/
|
|
4222
|
+
getSiblingSubApps(): Promise<{id: number, result: Protocol.Page.GetSiblingSubAppsResponse, sessionId: string}>;
|
|
4223
|
+
|
|
4212
4224
|
/**
|
|
4213
4225
|
* @experimental
|
|
4214
4226
|
*/
|
|
@@ -5303,6 +5315,31 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5303
5315
|
*/
|
|
5304
5316
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<{id: number, result: Protocol.Storage.ClearTrustTokensResponse, sessionId: string}>;
|
|
5305
5317
|
|
|
5318
|
+
/**
|
|
5319
|
+
* Returns all stored Private Verification Tokens for the current browsing
|
|
5320
|
+
* context.
|
|
5321
|
+
* @experimental
|
|
5322
|
+
*/
|
|
5323
|
+
getPrivateVerificationTokens(): Promise<{id: number, result: Protocol.Storage.GetPrivateVerificationTokensResponse, sessionId: string}>;
|
|
5324
|
+
|
|
5325
|
+
/**
|
|
5326
|
+
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
5327
|
+
* @experimental
|
|
5328
|
+
*/
|
|
5329
|
+
clearPrivateVerificationTokens(params: Protocol.Storage.ClearPrivateVerificationTokensRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5330
|
+
|
|
5331
|
+
/**
|
|
5332
|
+
* Removes a specific Private Verification Token by its ID.
|
|
5333
|
+
* @experimental
|
|
5334
|
+
*/
|
|
5335
|
+
deletePrivateVerificationToken(params: Protocol.Storage.DeletePrivateVerificationTokenRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5336
|
+
|
|
5337
|
+
/**
|
|
5338
|
+
* Set tracking for Private Verification Tokens.
|
|
5339
|
+
* @experimental
|
|
5340
|
+
*/
|
|
5341
|
+
setPrivateVerificationTokensTracking(params: Protocol.Storage.SetPrivateVerificationTokensTrackingRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5342
|
+
|
|
5306
5343
|
/**
|
|
5307
5344
|
* Set tracking for a storage key's buckets.
|
|
5308
5345
|
* @experimental
|
|
@@ -5364,6 +5401,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5364
5401
|
offStorageBucketDeleted(listener: (event: { params: Protocol.Storage.StorageBucketDeletedEvent }) => void): void;
|
|
5365
5402
|
onceStorageBucketDeleted(eventMatcher?: (event: { params: Protocol.Storage.StorageBucketDeletedEvent }) => boolean): Promise<{ params: Protocol.Storage.StorageBucketDeletedEvent }>;
|
|
5366
5403
|
|
|
5404
|
+
/**
|
|
5405
|
+
* Private Verification Tokens have been stored or deleted.
|
|
5406
|
+
* @experimental
|
|
5407
|
+
*/
|
|
5408
|
+
onPrivateVerificationTokensUpdated(listener: () => void): void;
|
|
5409
|
+
offPrivateVerificationTokensUpdated(listener: () => void): void;
|
|
5410
|
+
oncePrivateVerificationTokensUpdated(eventMatcher?: () => boolean): Promise<void>;
|
|
5411
|
+
|
|
5367
5412
|
}
|
|
5368
5413
|
|
|
5369
5414
|
export interface SystemInfoApi {
|
package/types/protocol.d.ts
CHANGED
|
@@ -3453,9 +3453,15 @@ export namespace Protocol {
|
|
|
3453
3453
|
*/
|
|
3454
3454
|
animations: string[];
|
|
3455
3455
|
/**
|
|
3456
|
-
* Set
|
|
3456
|
+
* Set each animation to the same time.
|
|
3457
3457
|
*/
|
|
3458
|
-
currentTime
|
|
3458
|
+
currentTime?: number;
|
|
3459
|
+
/**
|
|
3460
|
+
* Set each animation to a different time. If set, should have the same
|
|
3461
|
+
* length as animations. Exactly one of currentTime or currentTimes should
|
|
3462
|
+
* be set.
|
|
3463
|
+
*/
|
|
3464
|
+
currentTimes?: number[];
|
|
3459
3465
|
}
|
|
3460
3466
|
|
|
3461
3467
|
export interface SetPausedRequest {
|
|
@@ -15985,6 +15991,48 @@ export namespace Protocol {
|
|
|
15985
15991
|
|
|
15986
15992
|
export type ContrastAlgorithm = ('aa' | 'aaa' | 'apca');
|
|
15987
15993
|
|
|
15994
|
+
/**
|
|
15995
|
+
* Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.
|
|
15996
|
+
*/
|
|
15997
|
+
export interface ImcbHighlightConfig {
|
|
15998
|
+
/**
|
|
15999
|
+
* Border color for the Inset-Modified Containing Block (default: transparent).
|
|
16000
|
+
*/
|
|
16001
|
+
imcbBorderColor?: DOM.RGBA;
|
|
16002
|
+
/**
|
|
16003
|
+
* Background fill color for the Inset-Modified Containing Block (default: transparent).
|
|
16004
|
+
*/
|
|
16005
|
+
imcbBackgroundColor?: DOM.RGBA;
|
|
16006
|
+
/**
|
|
16007
|
+
* Fill color for the inset modifiers area (difference between CB and IMCB).
|
|
16008
|
+
*/
|
|
16009
|
+
insetsBackgroundColor?: DOM.RGBA;
|
|
16010
|
+
/**
|
|
16011
|
+
* Hatch color for the inset modifiers area.
|
|
16012
|
+
*/
|
|
16013
|
+
insetsHatchColor?: DOM.RGBA;
|
|
16014
|
+
/**
|
|
16015
|
+
* Border color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
16016
|
+
*/
|
|
16017
|
+
anchorBorderColor?: DOM.RGBA;
|
|
16018
|
+
/**
|
|
16019
|
+
* Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).
|
|
16020
|
+
*/
|
|
16021
|
+
anchorBackgroundColor?: DOM.RGBA;
|
|
16022
|
+
/**
|
|
16023
|
+
* Whether to render the 3x3 position-area grid lines when position-area is used.
|
|
16024
|
+
*/
|
|
16025
|
+
showPositionAreaGrid?: boolean;
|
|
16026
|
+
/**
|
|
16027
|
+
* Line color for the 3x3 position-area grid lines.
|
|
16028
|
+
*/
|
|
16029
|
+
positionAreaGridLineColor?: DOM.RGBA;
|
|
16030
|
+
/**
|
|
16031
|
+
* Fill color for the active region within the position-area grid.
|
|
16032
|
+
*/
|
|
16033
|
+
positionAreaActiveRegionColor?: DOM.RGBA;
|
|
16034
|
+
}
|
|
16035
|
+
|
|
15988
16036
|
/**
|
|
15989
16037
|
* Configuration data for the highlighting of page elements.
|
|
15990
16038
|
*/
|
|
@@ -16065,6 +16113,10 @@ export namespace Protocol {
|
|
|
16065
16113
|
* The container query container highlight configuration (default: all transparent).
|
|
16066
16114
|
*/
|
|
16067
16115
|
containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
|
|
16116
|
+
/**
|
|
16117
|
+
* The IMCB highlight configuration (default: all transparent).
|
|
16118
|
+
*/
|
|
16119
|
+
imcbHighlightConfig?: ImcbHighlightConfig;
|
|
16068
16120
|
}
|
|
16069
16121
|
|
|
16070
16122
|
export type ColorFormat = ('rgb' | 'hsl' | 'hwb' | 'hex');
|
|
@@ -17489,6 +17541,25 @@ export namespace Protocol {
|
|
|
17489
17541
|
themeColor?: string;
|
|
17490
17542
|
}
|
|
17491
17543
|
|
|
17544
|
+
export interface SubApp {
|
|
17545
|
+
/**
|
|
17546
|
+
* Display name of the sub-app.
|
|
17547
|
+
*/
|
|
17548
|
+
name: string;
|
|
17549
|
+
/**
|
|
17550
|
+
* Scope of the sub-app.
|
|
17551
|
+
*/
|
|
17552
|
+
scope: string;
|
|
17553
|
+
/**
|
|
17554
|
+
* Manifest id of the sub-app.
|
|
17555
|
+
*/
|
|
17556
|
+
manifestId: string;
|
|
17557
|
+
/**
|
|
17558
|
+
* Start URL of the sub-app.
|
|
17559
|
+
*/
|
|
17560
|
+
startUrl: string;
|
|
17561
|
+
}
|
|
17562
|
+
|
|
17492
17563
|
/**
|
|
17493
17564
|
* The type of a frameNavigated event.
|
|
17494
17565
|
* @experimental
|
|
@@ -17765,6 +17836,22 @@ export namespace Protocol {
|
|
|
17765
17836
|
* Recommendation for manifest's id attribute to match current id computed from start_url
|
|
17766
17837
|
*/
|
|
17767
17838
|
recommendedId?: string;
|
|
17839
|
+
/**
|
|
17840
|
+
* The bundle ID for an Isolated Web App (IWA)
|
|
17841
|
+
*/
|
|
17842
|
+
bundleId?: string;
|
|
17843
|
+
/**
|
|
17844
|
+
* The name of the parent app if this app is a Sub-App
|
|
17845
|
+
*/
|
|
17846
|
+
parentAppName?: string;
|
|
17847
|
+
}
|
|
17848
|
+
|
|
17849
|
+
export interface GetSubAppsResponse {
|
|
17850
|
+
subApps: SubApp[];
|
|
17851
|
+
}
|
|
17852
|
+
|
|
17853
|
+
export interface GetSiblingSubAppsResponse {
|
|
17854
|
+
subApps: SubApp[];
|
|
17768
17855
|
}
|
|
17769
17856
|
|
|
17770
17857
|
export interface GetAdScriptAncestryRequest {
|
|
@@ -20084,6 +20171,41 @@ export namespace Protocol {
|
|
|
20084
20171
|
count: number;
|
|
20085
20172
|
}
|
|
20086
20173
|
|
|
20174
|
+
/**
|
|
20175
|
+
* Details of a stored Private Verification Token.
|
|
20176
|
+
* @experimental
|
|
20177
|
+
*/
|
|
20178
|
+
export interface PrivateVerificationToken {
|
|
20179
|
+
/**
|
|
20180
|
+
* Unique identifier of the token in the database.
|
|
20181
|
+
*/
|
|
20182
|
+
id: string;
|
|
20183
|
+
/**
|
|
20184
|
+
* Origin of the token issuer.
|
|
20185
|
+
*/
|
|
20186
|
+
issuerOrigin: string;
|
|
20187
|
+
/**
|
|
20188
|
+
* Public key ID used to issue the token.
|
|
20189
|
+
*/
|
|
20190
|
+
keyId: integer;
|
|
20191
|
+
/**
|
|
20192
|
+
* Expiration timestamp in seconds since the epoch.
|
|
20193
|
+
*/
|
|
20194
|
+
expiration: Network.TimeSinceEpoch;
|
|
20195
|
+
/**
|
|
20196
|
+
* Token creation timestamp in seconds since the epoch.
|
|
20197
|
+
*/
|
|
20198
|
+
creationTime: Network.TimeSinceEpoch;
|
|
20199
|
+
/**
|
|
20200
|
+
* Token protocol version.
|
|
20201
|
+
*/
|
|
20202
|
+
version: integer;
|
|
20203
|
+
/**
|
|
20204
|
+
* Base64-encoded serialized token.
|
|
20205
|
+
*/
|
|
20206
|
+
token: string;
|
|
20207
|
+
}
|
|
20208
|
+
|
|
20087
20209
|
export type StorageBucketsDurability = ('relaxed' | 'strict');
|
|
20088
20210
|
|
|
20089
20211
|
export interface StorageBucket {
|
|
@@ -20309,6 +20431,22 @@ export namespace Protocol {
|
|
|
20309
20431
|
didDeleteTokens: boolean;
|
|
20310
20432
|
}
|
|
20311
20433
|
|
|
20434
|
+
export interface GetPrivateVerificationTokensResponse {
|
|
20435
|
+
tokens: PrivateVerificationToken[];
|
|
20436
|
+
}
|
|
20437
|
+
|
|
20438
|
+
export interface ClearPrivateVerificationTokensRequest {
|
|
20439
|
+
issuerOrigin: string;
|
|
20440
|
+
}
|
|
20441
|
+
|
|
20442
|
+
export interface DeletePrivateVerificationTokenRequest {
|
|
20443
|
+
tokenId: string;
|
|
20444
|
+
}
|
|
20445
|
+
|
|
20446
|
+
export interface SetPrivateVerificationTokensTrackingRequest {
|
|
20447
|
+
enable: boolean;
|
|
20448
|
+
}
|
|
20449
|
+
|
|
20312
20450
|
export interface SetStorageBucketTrackingRequest {
|
|
20313
20451
|
storageKey: string;
|
|
20314
20452
|
enable: boolean;
|