devtools-protocol 0.0.1696802 → 0.0.1704951
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/README.md +20 -0
- package/json/browser_protocol.json +353 -51
- package/package.json +1 -1
- package/pdl/domains/Animation.pdl +6 -2
- package/pdl/domains/Audits.pdl +0 -1
- package/pdl/domains/DOM.pdl +31 -0
- package/pdl/domains/Emulation.pdl +8 -0
- package/pdl/domains/Network.pdl +0 -6
- package/pdl/domains/Overlay.pdl +24 -0
- package/pdl/domains/Page.pdl +28 -1
- package/pdl/domains/Preload.pdl +4 -0
- package/pdl/domains/Storage.pdl +56 -15
- package/pdl/domains/WebMCP.pdl +2 -0
- package/types/protocol-mapping.d.ts +88 -13
- package/types/protocol-proxy-api.d.ts +71 -11
- package/types/protocol-tests-proxy-api.d.ts +73 -11
- package/types/protocol.d.ts +225 -30
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
|
@@ -388,6 +388,8 @@ domain Page
|
|
|
388
388
|
number scrollOffsetY
|
|
389
389
|
# Frame swap timestamp.
|
|
390
390
|
optional Network.TimeSinceEpoch timestamp
|
|
391
|
+
# Frame swap timestamp as monotonic time.
|
|
392
|
+
optional Network.MonotonicTime monotonicTimestamp
|
|
391
393
|
|
|
392
394
|
# Javascript dialog type.
|
|
393
395
|
type DialogType extends string
|
|
@@ -804,7 +806,18 @@ domain Page
|
|
|
804
806
|
returns
|
|
805
807
|
optional binary primaryIcon
|
|
806
808
|
|
|
807
|
-
|
|
809
|
+
type SubApp extends object
|
|
810
|
+
properties
|
|
811
|
+
# Display name of the sub-app.
|
|
812
|
+
string name
|
|
813
|
+
# Scope of the sub-app.
|
|
814
|
+
string scope
|
|
815
|
+
# Manifest id of the sub-app.
|
|
816
|
+
string manifestId
|
|
817
|
+
# Start URL of the sub-app.
|
|
818
|
+
string startUrl
|
|
819
|
+
|
|
820
|
+
# Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
808
821
|
# Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
809
822
|
experimental command getAppId
|
|
810
823
|
returns
|
|
@@ -812,6 +825,20 @@ domain Page
|
|
|
812
825
|
optional string appId
|
|
813
826
|
# Recommendation for manifest's id attribute to match current id computed from start_url
|
|
814
827
|
optional string recommendedId
|
|
828
|
+
# The bundle ID for an Isolated Web App (IWA)
|
|
829
|
+
optional string bundleId
|
|
830
|
+
# The name of the parent app if this app is a Sub-App
|
|
831
|
+
optional string parentAppName
|
|
832
|
+
|
|
833
|
+
# Returns the list of installed child Sub-Apps for the inspected parent app.
|
|
834
|
+
experimental command getSubApps
|
|
835
|
+
returns
|
|
836
|
+
array of SubApp subApps
|
|
837
|
+
|
|
838
|
+
# Returns the list of sibling Sub-Apps sharing the same parent app if the inspected context is a Sub-App.
|
|
839
|
+
experimental command getSiblingSubApps
|
|
840
|
+
returns
|
|
841
|
+
array of SubApp subApps
|
|
815
842
|
|
|
816
843
|
experimental command getAdScriptAncestry
|
|
817
844
|
parameters
|
package/pdl/domains/Preload.pdl
CHANGED
|
@@ -287,6 +287,10 @@ experimental domain Preload
|
|
|
287
287
|
PreloadingAttemptKey key
|
|
288
288
|
PreloadPipelineId pipelineId
|
|
289
289
|
PreloadingStatus status
|
|
290
|
+
# The action currently performed by this attempt. This differs from
|
|
291
|
+
# `key.action` after a prerender-until-script attempt is upgraded in place
|
|
292
|
+
# to a full prerender.
|
|
293
|
+
optional SpeculationAction effectiveAction
|
|
290
294
|
optional PrerenderFinalStatus prerenderStatus
|
|
291
295
|
# This is used to give users more information about the name of Mojo interface
|
|
292
296
|
# that is incompatible with prerender and has caused the cancellation of the attempt.
|
package/pdl/domains/Storage.pdl
CHANGED
|
@@ -40,6 +40,33 @@ 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
|
+
# Configuration for a Private Verification Tokens issuer.
|
|
62
|
+
experimental type PrivateVerificationTokensIssuerConfig extends object
|
|
63
|
+
properties
|
|
64
|
+
# Origin of the token issuer.
|
|
65
|
+
string issuerOrigin
|
|
66
|
+
# Origins authorized to redeem tokens from this issuer.
|
|
67
|
+
array of string redeemerOrigins
|
|
68
|
+
|
|
69
|
+
|
|
43
70
|
|
|
44
71
|
type StorageBucketsDurability extends string
|
|
45
72
|
enum
|
|
@@ -209,6 +236,33 @@ experimental domain Storage
|
|
|
209
236
|
# True if any tokens were deleted, false otherwise.
|
|
210
237
|
boolean didDeleteTokens
|
|
211
238
|
|
|
239
|
+
# Returns all stored Private Verification Tokens for the current browsing
|
|
240
|
+
# context.
|
|
241
|
+
experimental command getPrivateVerificationTokens
|
|
242
|
+
returns
|
|
243
|
+
array of PrivateVerificationToken tokens
|
|
244
|
+
|
|
245
|
+
# Returns the configured Private Verification Tokens issuers and their redeemer
|
|
246
|
+
# origins.
|
|
247
|
+
experimental command getPrivateVerificationTokensIssuerConfigs
|
|
248
|
+
returns
|
|
249
|
+
array of PrivateVerificationTokensIssuerConfig configs
|
|
250
|
+
|
|
251
|
+
# Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
252
|
+
experimental command clearPrivateVerificationTokens
|
|
253
|
+
parameters
|
|
254
|
+
string issuerOrigin
|
|
255
|
+
|
|
256
|
+
# Removes a specific Private Verification Token by its ID.
|
|
257
|
+
experimental command deletePrivateVerificationToken
|
|
258
|
+
parameters
|
|
259
|
+
string tokenId
|
|
260
|
+
|
|
261
|
+
# Set tracking for Private Verification Tokens.
|
|
262
|
+
experimental command setPrivateVerificationTokensTracking
|
|
263
|
+
parameters
|
|
264
|
+
boolean enable
|
|
265
|
+
|
|
212
266
|
# Set tracking for a storage key's buckets.
|
|
213
267
|
experimental command setStorageBucketTracking
|
|
214
268
|
parameters
|
|
@@ -279,18 +333,5 @@ experimental domain Storage
|
|
|
279
333
|
parameters
|
|
280
334
|
string bucketId
|
|
281
335
|
|
|
282
|
-
#
|
|
283
|
-
experimental
|
|
284
|
-
properties
|
|
285
|
-
# The primary site of this set, along with the ccTLDs if there is any.
|
|
286
|
-
array of string primarySites
|
|
287
|
-
# The associated sites of this set, along with the ccTLDs if there is any.
|
|
288
|
-
array of string associatedSites
|
|
289
|
-
# The service sites of this set, along with the ccTLDs if there is any.
|
|
290
|
-
array of string serviceSites
|
|
291
|
-
|
|
292
|
-
# Returns the effective Related Website Sets in use by this profile for the browser
|
|
293
|
-
# session. The effective Related Website Sets will not change during a browser session.
|
|
294
|
-
experimental command getRelatedWebsiteSets
|
|
295
|
-
returns
|
|
296
|
-
array of RelatedWebsiteSet sets
|
|
336
|
+
# Private Verification Tokens have been stored or deleted.
|
|
337
|
+
experimental event privateVerificationTokensUpdated
|
package/pdl/domains/WebMCP.pdl
CHANGED
|
@@ -19,6 +19,8 @@ experimental domain WebMCP
|
|
|
19
19
|
optional boolean untrustedContent
|
|
20
20
|
# A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.
|
|
21
21
|
optional boolean consequential
|
|
22
|
+
# If true, indicates that the tool is intended for debugging and developer tooling rather than end-user interactions.
|
|
23
|
+
optional boolean debugging
|
|
22
24
|
# If the declarative tool was declared with the autosubmit attribute.
|
|
23
25
|
optional boolean autosubmit
|
|
24
26
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 The Chromium Authors
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
5
|
/**********************************************************************
|
|
6
|
-
* Auto-generated by
|
|
6
|
+
* Auto-generated by protocol_dts_generator.ts. Do not edit manually. *
|
|
7
7
|
**********************************************************************/
|
|
8
8
|
|
|
9
|
-
import Protocol from './protocol'
|
|
9
|
+
import Protocol from './protocol.js'
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* Mappings from protocol event and command names to the types required for them.
|
|
@@ -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
|
|
@@ -3062,6 +3067,27 @@ export namespace ProtocolMapping {
|
|
|
3062
3067
|
paramsType: [Protocol.DOM.ForceShowInterestRequest];
|
|
3063
3068
|
returnType: void;
|
|
3064
3069
|
};
|
|
3070
|
+
/**
|
|
3071
|
+
* Sets a spelling or grammar error marker on the given range of text.
|
|
3072
|
+
* See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
3073
|
+
* Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
3074
|
+
* to identify the node.
|
|
3075
|
+
* @experimental
|
|
3076
|
+
*/
|
|
3077
|
+
'DOM.setTextMarker': {
|
|
3078
|
+
paramsType: [Protocol.DOM.SetTextMarkerRequest];
|
|
3079
|
+
returnType: void;
|
|
3080
|
+
};
|
|
3081
|
+
/**
|
|
3082
|
+
* Clears the spelling and grammar error text markers overlapping the ranges
|
|
3083
|
+
* set by setTextMarker in this session. These markers are also removed when
|
|
3084
|
+
* the DOM domain is disabled or the session ends.
|
|
3085
|
+
* @experimental
|
|
3086
|
+
*/
|
|
3087
|
+
'DOM.clearTextMarkers': {
|
|
3088
|
+
paramsType: [];
|
|
3089
|
+
returnType: void;
|
|
3090
|
+
};
|
|
3065
3091
|
/**
|
|
3066
3092
|
* Returns event listeners of the given object.
|
|
3067
3093
|
*/
|
|
@@ -4996,7 +5022,7 @@ export namespace ProtocolMapping {
|
|
|
4996
5022
|
returnType: Protocol.Page.GetManifestIconsResponse;
|
|
4997
5023
|
};
|
|
4998
5024
|
/**
|
|
4999
|
-
* Returns the unique (PWA) app id.
|
|
5025
|
+
* Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
5000
5026
|
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
5001
5027
|
* @experimental
|
|
5002
5028
|
*/
|
|
@@ -5004,6 +5030,22 @@ export namespace ProtocolMapping {
|
|
|
5004
5030
|
paramsType: [];
|
|
5005
5031
|
returnType: Protocol.Page.GetAppIdResponse;
|
|
5006
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
|
+
};
|
|
5007
5049
|
/**
|
|
5008
5050
|
* @experimental
|
|
5009
5051
|
*/
|
|
@@ -5811,6 +5853,48 @@ export namespace ProtocolMapping {
|
|
|
5811
5853
|
paramsType: [Protocol.Storage.ClearTrustTokensRequest];
|
|
5812
5854
|
returnType: Protocol.Storage.ClearTrustTokensResponse;
|
|
5813
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
|
+
* Returns the configured Private Verification Tokens issuers and their redeemer
|
|
5867
|
+
* origins.
|
|
5868
|
+
* @experimental
|
|
5869
|
+
*/
|
|
5870
|
+
'Storage.getPrivateVerificationTokensIssuerConfigs': {
|
|
5871
|
+
paramsType: [];
|
|
5872
|
+
returnType: Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse;
|
|
5873
|
+
};
|
|
5874
|
+
/**
|
|
5875
|
+
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
5876
|
+
* @experimental
|
|
5877
|
+
*/
|
|
5878
|
+
'Storage.clearPrivateVerificationTokens': {
|
|
5879
|
+
paramsType: [Protocol.Storage.ClearPrivateVerificationTokensRequest];
|
|
5880
|
+
returnType: void;
|
|
5881
|
+
};
|
|
5882
|
+
/**
|
|
5883
|
+
* Removes a specific Private Verification Token by its ID.
|
|
5884
|
+
* @experimental
|
|
5885
|
+
*/
|
|
5886
|
+
'Storage.deletePrivateVerificationToken': {
|
|
5887
|
+
paramsType: [Protocol.Storage.DeletePrivateVerificationTokenRequest];
|
|
5888
|
+
returnType: void;
|
|
5889
|
+
};
|
|
5890
|
+
/**
|
|
5891
|
+
* Set tracking for Private Verification Tokens.
|
|
5892
|
+
* @experimental
|
|
5893
|
+
*/
|
|
5894
|
+
'Storage.setPrivateVerificationTokensTracking': {
|
|
5895
|
+
paramsType: [Protocol.Storage.SetPrivateVerificationTokensTrackingRequest];
|
|
5896
|
+
returnType: void;
|
|
5897
|
+
};
|
|
5814
5898
|
/**
|
|
5815
5899
|
* Set tracking for a storage key's buckets.
|
|
5816
5900
|
* @experimental
|
|
@@ -5835,15 +5919,6 @@ export namespace ProtocolMapping {
|
|
|
5835
5919
|
paramsType: [];
|
|
5836
5920
|
returnType: Protocol.Storage.RunBounceTrackingMitigationsResponse;
|
|
5837
5921
|
};
|
|
5838
|
-
/**
|
|
5839
|
-
* Returns the effective Related Website Sets in use by this profile for the browser
|
|
5840
|
-
* session. The effective Related Website Sets will not change during a browser session.
|
|
5841
|
-
* @experimental
|
|
5842
|
-
*/
|
|
5843
|
-
'Storage.getRelatedWebsiteSets': {
|
|
5844
|
-
paramsType: [];
|
|
5845
|
-
returnType: Protocol.Storage.GetRelatedWebsiteSetsResponse;
|
|
5846
|
-
};
|
|
5847
5922
|
/**
|
|
5848
5923
|
* Returns information about the system.
|
|
5849
5924
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 The Chromium Authors
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
5
|
/**********************************************************************
|
|
6
|
-
* Auto-generated by
|
|
6
|
+
* Auto-generated by protocol_dts_generator.ts. Do not edit manually. *
|
|
7
7
|
**********************************************************************/
|
|
8
8
|
|
|
9
|
-
import Protocol from './protocol'
|
|
9
|
+
import Protocol from './protocol.js'
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* API generated from Protocol commands and events.
|
|
@@ -1892,6 +1892,23 @@ export namespace ProtocolProxyApi {
|
|
|
1892
1892
|
*/
|
|
1893
1893
|
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<void>;
|
|
1894
1894
|
|
|
1895
|
+
/**
|
|
1896
|
+
* Sets a spelling or grammar error marker on the given range of text.
|
|
1897
|
+
* See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
1898
|
+
* Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
1899
|
+
* to identify the node.
|
|
1900
|
+
* @experimental
|
|
1901
|
+
*/
|
|
1902
|
+
setTextMarker(params: Protocol.DOM.SetTextMarkerRequest): Promise<void>;
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* Clears the spelling and grammar error text markers overlapping the ranges
|
|
1906
|
+
* set by setTextMarker in this session. These markers are also removed when
|
|
1907
|
+
* the DOM domain is disabled or the session ends.
|
|
1908
|
+
* @experimental
|
|
1909
|
+
*/
|
|
1910
|
+
clearTextMarkers(): Promise<void>;
|
|
1911
|
+
|
|
1895
1912
|
/**
|
|
1896
1913
|
* Fired when `Element`'s attribute is modified.
|
|
1897
1914
|
*/
|
|
@@ -3912,12 +3929,24 @@ export namespace ProtocolProxyApi {
|
|
|
3912
3929
|
getManifestIcons(): Promise<Protocol.Page.GetManifestIconsResponse>;
|
|
3913
3930
|
|
|
3914
3931
|
/**
|
|
3915
|
-
* Returns the unique (PWA) app id.
|
|
3932
|
+
* Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
3916
3933
|
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
3917
3934
|
* @experimental
|
|
3918
3935
|
*/
|
|
3919
3936
|
getAppId(): Promise<Protocol.Page.GetAppIdResponse>;
|
|
3920
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
|
+
|
|
3921
3950
|
/**
|
|
3922
3951
|
* @experimental
|
|
3923
3952
|
*/
|
|
@@ -4900,6 +4929,38 @@ export namespace ProtocolProxyApi {
|
|
|
4900
4929
|
*/
|
|
4901
4930
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<Protocol.Storage.ClearTrustTokensResponse>;
|
|
4902
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
|
+
* Returns the configured Private Verification Tokens issuers and their redeemer
|
|
4941
|
+
* origins.
|
|
4942
|
+
* @experimental
|
|
4943
|
+
*/
|
|
4944
|
+
getPrivateVerificationTokensIssuerConfigs(): Promise<Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse>;
|
|
4945
|
+
|
|
4946
|
+
/**
|
|
4947
|
+
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
4948
|
+
* @experimental
|
|
4949
|
+
*/
|
|
4950
|
+
clearPrivateVerificationTokens(params: Protocol.Storage.ClearPrivateVerificationTokensRequest): Promise<void>;
|
|
4951
|
+
|
|
4952
|
+
/**
|
|
4953
|
+
* Removes a specific Private Verification Token by its ID.
|
|
4954
|
+
* @experimental
|
|
4955
|
+
*/
|
|
4956
|
+
deletePrivateVerificationToken(params: Protocol.Storage.DeletePrivateVerificationTokenRequest): Promise<void>;
|
|
4957
|
+
|
|
4958
|
+
/**
|
|
4959
|
+
* Set tracking for Private Verification Tokens.
|
|
4960
|
+
* @experimental
|
|
4961
|
+
*/
|
|
4962
|
+
setPrivateVerificationTokensTracking(params: Protocol.Storage.SetPrivateVerificationTokensTrackingRequest): Promise<void>;
|
|
4963
|
+
|
|
4903
4964
|
/**
|
|
4904
4965
|
* Set tracking for a storage key's buckets.
|
|
4905
4966
|
* @experimental
|
|
@@ -4918,13 +4979,6 @@ export namespace ProtocolProxyApi {
|
|
|
4918
4979
|
*/
|
|
4919
4980
|
runBounceTrackingMitigations(): Promise<Protocol.Storage.RunBounceTrackingMitigationsResponse>;
|
|
4920
4981
|
|
|
4921
|
-
/**
|
|
4922
|
-
* Returns the effective Related Website Sets in use by this profile for the browser
|
|
4923
|
-
* session. The effective Related Website Sets will not change during a browser session.
|
|
4924
|
-
* @experimental
|
|
4925
|
-
*/
|
|
4926
|
-
getRelatedWebsiteSets(): Promise<Protocol.Storage.GetRelatedWebsiteSetsResponse>;
|
|
4927
|
-
|
|
4928
4982
|
/**
|
|
4929
4983
|
* A cache's contents have been modified.
|
|
4930
4984
|
*/
|
|
@@ -4949,6 +5003,12 @@ export namespace ProtocolProxyApi {
|
|
|
4949
5003
|
|
|
4950
5004
|
on(event: 'storageBucketDeleted', listener: (params: Protocol.Storage.StorageBucketDeletedEvent) => void): void;
|
|
4951
5005
|
|
|
5006
|
+
/**
|
|
5007
|
+
* Private Verification Tokens have been stored or deleted.
|
|
5008
|
+
* @experimental
|
|
5009
|
+
*/
|
|
5010
|
+
on(event: 'privateVerificationTokensUpdated', listener: () => void): void;
|
|
5011
|
+
|
|
4952
5012
|
}
|
|
4953
5013
|
|
|
4954
5014
|
export interface SystemInfoApi {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 The Chromium Authors
|
|
2
2
|
// Use of this source code is governed by a BSD-style license that can be
|
|
3
3
|
// found in the LICENSE file.
|
|
4
4
|
|
|
5
5
|
/**********************************************************************
|
|
6
|
-
* Auto-generated by
|
|
6
|
+
* Auto-generated by protocol_dts_generator.ts. Do not edit manually. *
|
|
7
7
|
**********************************************************************/
|
|
8
8
|
|
|
9
|
-
import Protocol from './protocol'
|
|
9
|
+
import Protocol from './protocol.js'
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* API generated from Protocol commands and events.
|
|
@@ -1982,6 +1982,23 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1982
1982
|
*/
|
|
1983
1983
|
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1984
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* Sets a spelling or grammar error marker on the given range of text.
|
|
1987
|
+
* See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
1988
|
+
* Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
1989
|
+
* to identify the node.
|
|
1990
|
+
* @experimental
|
|
1991
|
+
*/
|
|
1992
|
+
setTextMarker(params: Protocol.DOM.SetTextMarkerRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* Clears the spelling and grammar error text markers overlapping the ranges
|
|
1996
|
+
* set by setTextMarker in this session. These markers are also removed when
|
|
1997
|
+
* the DOM domain is disabled or the session ends.
|
|
1998
|
+
* @experimental
|
|
1999
|
+
*/
|
|
2000
|
+
clearTextMarkers(): Promise<{id: number, result: void, sessionId: string}>;
|
|
2001
|
+
|
|
1985
2002
|
/**
|
|
1986
2003
|
* Fired when `Element`'s attribute is modified.
|
|
1987
2004
|
*/
|
|
@@ -4186,12 +4203,24 @@ export namespace ProtocolTestsProxyApi {
|
|
|
4186
4203
|
getManifestIcons(): Promise<{id: number, result: Protocol.Page.GetManifestIconsResponse, sessionId: string}>;
|
|
4187
4204
|
|
|
4188
4205
|
/**
|
|
4189
|
-
* Returns the unique (PWA) app id.
|
|
4206
|
+
* Returns the unique (PWA) app id, along with IWA bundle ID and parent app info.
|
|
4190
4207
|
* Only returns values if the feature flag 'WebAppEnableManifestId' is enabled
|
|
4191
4208
|
* @experimental
|
|
4192
4209
|
*/
|
|
4193
4210
|
getAppId(): Promise<{id: number, result: Protocol.Page.GetAppIdResponse, sessionId: string}>;
|
|
4194
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
|
+
|
|
4195
4224
|
/**
|
|
4196
4225
|
* @experimental
|
|
4197
4226
|
*/
|
|
@@ -5286,6 +5315,38 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5286
5315
|
*/
|
|
5287
5316
|
clearTrustTokens(params: Protocol.Storage.ClearTrustTokensRequest): Promise<{id: number, result: Protocol.Storage.ClearTrustTokensResponse, sessionId: string}>;
|
|
5288
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
|
+
* Returns the configured Private Verification Tokens issuers and their redeemer
|
|
5327
|
+
* origins.
|
|
5328
|
+
* @experimental
|
|
5329
|
+
*/
|
|
5330
|
+
getPrivateVerificationTokensIssuerConfigs(): Promise<{id: number, result: Protocol.Storage.GetPrivateVerificationTokensIssuerConfigsResponse, sessionId: string}>;
|
|
5331
|
+
|
|
5332
|
+
/**
|
|
5333
|
+
* Removes all Private Verification Tokens issued by the provided issuerOrigin.
|
|
5334
|
+
* @experimental
|
|
5335
|
+
*/
|
|
5336
|
+
clearPrivateVerificationTokens(params: Protocol.Storage.ClearPrivateVerificationTokensRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5337
|
+
|
|
5338
|
+
/**
|
|
5339
|
+
* Removes a specific Private Verification Token by its ID.
|
|
5340
|
+
* @experimental
|
|
5341
|
+
*/
|
|
5342
|
+
deletePrivateVerificationToken(params: Protocol.Storage.DeletePrivateVerificationTokenRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5343
|
+
|
|
5344
|
+
/**
|
|
5345
|
+
* Set tracking for Private Verification Tokens.
|
|
5346
|
+
* @experimental
|
|
5347
|
+
*/
|
|
5348
|
+
setPrivateVerificationTokensTracking(params: Protocol.Storage.SetPrivateVerificationTokensTrackingRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
5349
|
+
|
|
5289
5350
|
/**
|
|
5290
5351
|
* Set tracking for a storage key's buckets.
|
|
5291
5352
|
* @experimental
|
|
@@ -5304,13 +5365,6 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5304
5365
|
*/
|
|
5305
5366
|
runBounceTrackingMitigations(): Promise<{id: number, result: Protocol.Storage.RunBounceTrackingMitigationsResponse, sessionId: string}>;
|
|
5306
5367
|
|
|
5307
|
-
/**
|
|
5308
|
-
* Returns the effective Related Website Sets in use by this profile for the browser
|
|
5309
|
-
* session. The effective Related Website Sets will not change during a browser session.
|
|
5310
|
-
* @experimental
|
|
5311
|
-
*/
|
|
5312
|
-
getRelatedWebsiteSets(): Promise<{id: number, result: Protocol.Storage.GetRelatedWebsiteSetsResponse, sessionId: string}>;
|
|
5313
|
-
|
|
5314
5368
|
/**
|
|
5315
5369
|
* A cache's contents have been modified.
|
|
5316
5370
|
*/
|
|
@@ -5347,6 +5401,14 @@ export namespace ProtocolTestsProxyApi {
|
|
|
5347
5401
|
offStorageBucketDeleted(listener: (event: { params: Protocol.Storage.StorageBucketDeletedEvent }) => void): void;
|
|
5348
5402
|
onceStorageBucketDeleted(eventMatcher?: (event: { params: Protocol.Storage.StorageBucketDeletedEvent }) => boolean): Promise<{ params: Protocol.Storage.StorageBucketDeletedEvent }>;
|
|
5349
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
|
+
|
|
5350
5412
|
}
|
|
5351
5413
|
|
|
5352
5414
|
export interface SystemInfoApi {
|