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.
@@ -1,9 +1,9 @@
1
- // Copyright (c) 2026 The Chromium Authors. All rights reserved.
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 protocol-dts-generator.ts. Do not edit manually. *
6
+ * Auto-generated by protocol_dts_generator.ts. Do not edit manually. *
7
7
  **********************************************************************/
8
8
 
9
9
  /**
@@ -13,6 +13,7 @@
13
13
  export namespace Protocol {
14
14
 
15
15
  export type integer = number
16
+ export type binary = string
16
17
 
17
18
  /**
18
19
  * This domain is deprecated - use Runtime or Log instead.
@@ -3453,9 +3454,15 @@ export namespace Protocol {
3453
3454
  */
3454
3455
  animations: string[];
3455
3456
  /**
3456
- * Set the current time of each animation.
3457
+ * Set each animation to the same time.
3457
3458
  */
3458
- currentTime: number;
3459
+ currentTime?: number;
3460
+ /**
3461
+ * Set each animation to a different time. If set, should have the same
3462
+ * length as animations. Exactly one of currentTime or currentTimes should
3463
+ * be set.
3464
+ */
3465
+ currentTimes?: number[];
3459
3466
  }
3460
3467
 
3461
3468
  export interface SetPausedRequest {
@@ -3568,7 +3575,7 @@ export namespace Protocol {
3568
3575
  frameId: Page.FrameId;
3569
3576
  }
3570
3577
 
3571
- export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyCookieBlockedInFirstPartySet' | 'ExcludeThirdPartyPhaseout' | 'ExcludePortMismatch' | 'ExcludeSchemeMismatch');
3578
+ export type CookieExclusionReason = ('ExcludeSameSiteUnspecifiedTreatedAsLax' | 'ExcludeSameSiteNoneInsecure' | 'ExcludeSameSiteLax' | 'ExcludeSameSiteStrict' | 'ExcludeDomainNonASCII' | 'ExcludeThirdPartyPhaseout' | 'ExcludePortMismatch' | 'ExcludeSchemeMismatch');
3572
3579
 
3573
3580
  export type CookieWarningReason = ('WarnSameSiteUnspecifiedCrossSiteContext' | 'WarnSameSiteNoneInsecure' | 'WarnSameSiteUnspecifiedLaxAllowUnsafe' | 'WarnSameSiteStrictLaxDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeStrict' | 'WarnSameSiteStrictCrossDowngradeLax' | 'WarnSameSiteLaxCrossDowngradeStrict' | 'WarnSameSiteLaxCrossDowngradeLax' | 'WarnAttributeValueExceedsMaxSize' | 'WarnDomainNonASCII' | 'WarnThirdPartyPhaseout' | 'WarnCrossSiteRedirectDowngradeChangesInclusion' | 'WarnDeprecationTrialMetadata' | 'WarnThirdPartyCookieHeuristic');
3574
3581
 
@@ -8218,6 +8225,41 @@ export namespace Protocol {
8218
8225
  enable: boolean;
8219
8226
  }
8220
8227
 
8228
+ export const enum SetTextMarkerRequestType {
8229
+ Spelling = 'spelling',
8230
+ Grammar = 'grammar',
8231
+ }
8232
+
8233
+ export interface SetTextMarkerRequest {
8234
+ /**
8235
+ * Identifier of the node.
8236
+ */
8237
+ nodeId?: NodeId;
8238
+ /**
8239
+ * Identifier of the backend node.
8240
+ */
8241
+ backendNodeId?: BackendNodeId;
8242
+ /**
8243
+ * JavaScript object id of the node wrapper.
8244
+ */
8245
+ objectId?: Runtime.RemoteObjectId;
8246
+ /**
8247
+ * The type of marker to set on the given range of text.
8248
+ */
8249
+ type: ('spelling' | 'grammar');
8250
+ /**
8251
+ * Start offset into the element's rendered text in UTF-16 code units.
8252
+ * For a text control, an offset into the control's value.
8253
+ * Offsets count text in DOM order and do not enter shadow trees.
8254
+ * To mark text inside a shadow tree, pass the element inside the shadow tree.
8255
+ */
8256
+ start: integer;
8257
+ /**
8258
+ * End offset (exclusive) in the same units and space as start.
8259
+ */
8260
+ end: integer;
8261
+ }
8262
+
8221
8263
  /**
8222
8264
  * Fired when `Element`'s attribute is modified.
8223
8265
  */
@@ -9735,6 +9777,11 @@ export namespace Protocol {
9735
9777
  Default = 'default',
9736
9778
  }
9737
9779
 
9780
+ export const enum SetDeviceMetricsOverrideRequestTextLayoutMode {
9781
+ Mobile = 'mobile',
9782
+ Default = 'default',
9783
+ }
9784
+
9738
9785
  export interface SetDeviceMetricsOverrideRequest {
9739
9786
  /**
9740
9787
  * Overriding width value in pixels (minimum 0, maximum 10000000). 0 disables the override.
@@ -9829,6 +9876,12 @@ export namespace Protocol {
9829
9876
  * @experimental
9830
9877
  */
9831
9878
  viewportMeta?: ('enable' | 'default');
9879
+ /**
9880
+ * Text layout mode. Default: `default`. Note: if `mobile` is `true`,
9881
+ * mobile text layout mode (text autosizing) is always enabled.
9882
+ * @experimental
9883
+ */
9884
+ textLayoutMode?: ('mobile' | 'default');
9832
9885
  }
9833
9886
 
9834
9887
  export interface SetDevicePostureOverrideRequest {
@@ -13432,13 +13485,13 @@ export namespace Protocol {
13432
13485
  * Types of reasons why a cookie may not be stored from a response.
13433
13486
  * @experimental
13434
13487
  */
13435
- export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter' | 'NoCookieContent');
13488
+ export type SetCookieBlockedReason = ('SecureOnly' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'SyntaxError' | 'SchemeNotSupported' | 'OverwriteSecure' | 'InvalidDomain' | 'InvalidPrefix' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'DisallowedCharacter' | 'NoCookieContent');
13436
13489
 
13437
13490
  /**
13438
13491
  * Types of reasons why a cookie may not be sent with a request.
13439
13492
  * @experimental
13440
13493
  */
13441
- export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'ThirdPartyBlockedInFirstPartySet' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
13494
+ export type CookieBlockedReason = ('SecureOnly' | 'NotOnPath' | 'DomainMismatch' | 'SameSiteStrict' | 'SameSiteLax' | 'SameSiteUnspecifiedTreatedAsLax' | 'SameSiteNoneInsecure' | 'UserPreferences' | 'ThirdPartyPhaseout' | 'UnknownError' | 'SchemefulSameSiteStrict' | 'SchemefulSameSiteLax' | 'SchemefulSameSiteUnspecifiedTreatedAsLax' | 'NameValuePairExceedsMaxSize' | 'PortMismatch' | 'SchemeMismatch' | 'AnonymousContext');
13442
13495
 
13443
13496
  /**
13444
13497
  * Types of reasons why a cookie should have been blocked by 3PCD but is exempted for the request.
@@ -15950,6 +16003,48 @@ export namespace Protocol {
15950
16003
 
15951
16004
  export type ContrastAlgorithm = ('aa' | 'aaa' | 'apca');
15952
16005
 
16006
+ /**
16007
+ * Configuration for Inset-Modified Containing Block (IMCB) and CSS Anchor Positioning highlight.
16008
+ */
16009
+ export interface ImcbHighlightConfig {
16010
+ /**
16011
+ * Border color for the Inset-Modified Containing Block (default: transparent).
16012
+ */
16013
+ imcbBorderColor?: DOM.RGBA;
16014
+ /**
16015
+ * Background fill color for the Inset-Modified Containing Block (default: transparent).
16016
+ */
16017
+ imcbBackgroundColor?: DOM.RGBA;
16018
+ /**
16019
+ * Fill color for the inset modifiers area (difference between CB and IMCB).
16020
+ */
16021
+ insetsBackgroundColor?: DOM.RGBA;
16022
+ /**
16023
+ * Hatch color for the inset modifiers area.
16024
+ */
16025
+ insetsHatchColor?: DOM.RGBA;
16026
+ /**
16027
+ * Border color for the referenced target anchor element(s) (when element is anchor-positioned).
16028
+ */
16029
+ anchorBorderColor?: DOM.RGBA;
16030
+ /**
16031
+ * Background fill color for the referenced target anchor element(s) (when element is anchor-positioned).
16032
+ */
16033
+ anchorBackgroundColor?: DOM.RGBA;
16034
+ /**
16035
+ * Whether to render the 3x3 position-area grid lines when position-area is used.
16036
+ */
16037
+ showPositionAreaGrid?: boolean;
16038
+ /**
16039
+ * Line color for the 3x3 position-area grid lines.
16040
+ */
16041
+ positionAreaGridLineColor?: DOM.RGBA;
16042
+ /**
16043
+ * Fill color for the active region within the position-area grid.
16044
+ */
16045
+ positionAreaActiveRegionColor?: DOM.RGBA;
16046
+ }
16047
+
15953
16048
  /**
15954
16049
  * Configuration data for the highlighting of page elements.
15955
16050
  */
@@ -16030,6 +16125,10 @@ export namespace Protocol {
16030
16125
  * The container query container highlight configuration (default: all transparent).
16031
16126
  */
16032
16127
  containerQueryContainerHighlightConfig?: ContainerQueryContainerHighlightConfig;
16128
+ /**
16129
+ * The IMCB highlight configuration (default: all transparent).
16130
+ */
16131
+ imcbHighlightConfig?: ImcbHighlightConfig;
16033
16132
  }
16034
16133
 
16035
16134
  export type ColorFormat = ('rgb' | 'hsl' | 'hwb' | 'hex');
@@ -17042,6 +17141,10 @@ export namespace Protocol {
17042
17141
  * Frame swap timestamp.
17043
17142
  */
17044
17143
  timestamp?: Network.TimeSinceEpoch;
17144
+ /**
17145
+ * Frame swap timestamp as monotonic time.
17146
+ */
17147
+ monotonicTimestamp?: Network.MonotonicTime;
17045
17148
  }
17046
17149
 
17047
17150
  /**
@@ -17454,6 +17557,25 @@ export namespace Protocol {
17454
17557
  themeColor?: string;
17455
17558
  }
17456
17559
 
17560
+ export interface SubApp {
17561
+ /**
17562
+ * Display name of the sub-app.
17563
+ */
17564
+ name: string;
17565
+ /**
17566
+ * Scope of the sub-app.
17567
+ */
17568
+ scope: string;
17569
+ /**
17570
+ * Manifest id of the sub-app.
17571
+ */
17572
+ manifestId: string;
17573
+ /**
17574
+ * Start URL of the sub-app.
17575
+ */
17576
+ startUrl: string;
17577
+ }
17578
+
17457
17579
  /**
17458
17580
  * The type of a frameNavigated event.
17459
17581
  * @experimental
@@ -17730,6 +17852,22 @@ export namespace Protocol {
17730
17852
  * Recommendation for manifest's id attribute to match current id computed from start_url
17731
17853
  */
17732
17854
  recommendedId?: string;
17855
+ /**
17856
+ * The bundle ID for an Isolated Web App (IWA)
17857
+ */
17858
+ bundleId?: string;
17859
+ /**
17860
+ * The name of the parent app if this app is a Sub-App
17861
+ */
17862
+ parentAppName?: string;
17863
+ }
17864
+
17865
+ export interface GetSubAppsResponse {
17866
+ subApps: SubApp[];
17867
+ }
17868
+
17869
+ export interface GetSiblingSubAppsResponse {
17870
+ subApps: SubApp[];
17733
17871
  }
17734
17872
 
17735
17873
  export interface GetAdScriptAncestryRequest {
@@ -19214,6 +19352,12 @@ export namespace Protocol {
19214
19352
  key: PreloadingAttemptKey;
19215
19353
  pipelineId: PreloadPipelineId;
19216
19354
  status: PreloadingStatus;
19355
+ /**
19356
+ * The action currently performed by this attempt. This differs from
19357
+ * `key.action` after a prerender-until-script attempt is upgraded in place
19358
+ * to a full prerender.
19359
+ */
19360
+ effectiveAction?: SpeculationAction;
19217
19361
  prerenderStatus?: PrerenderFinalStatus;
19218
19362
  /**
19219
19363
  * This is used to give users more information about the name of Mojo interface
@@ -20049,6 +20193,56 @@ export namespace Protocol {
20049
20193
  count: number;
20050
20194
  }
20051
20195
 
20196
+ /**
20197
+ * Details of a stored Private Verification Token.
20198
+ * @experimental
20199
+ */
20200
+ export interface PrivateVerificationToken {
20201
+ /**
20202
+ * Unique identifier of the token in the database.
20203
+ */
20204
+ id: string;
20205
+ /**
20206
+ * Origin of the token issuer.
20207
+ */
20208
+ issuerOrigin: string;
20209
+ /**
20210
+ * Public key ID used to issue the token.
20211
+ */
20212
+ keyId: integer;
20213
+ /**
20214
+ * Expiration timestamp in seconds since the epoch.
20215
+ */
20216
+ expiration: Network.TimeSinceEpoch;
20217
+ /**
20218
+ * Token creation timestamp in seconds since the epoch.
20219
+ */
20220
+ creationTime: Network.TimeSinceEpoch;
20221
+ /**
20222
+ * Token protocol version.
20223
+ */
20224
+ version: integer;
20225
+ /**
20226
+ * Base64-encoded serialized token.
20227
+ */
20228
+ token: string;
20229
+ }
20230
+
20231
+ /**
20232
+ * Configuration for a Private Verification Tokens issuer.
20233
+ * @experimental
20234
+ */
20235
+ export interface PrivateVerificationTokensIssuerConfig {
20236
+ /**
20237
+ * Origin of the token issuer.
20238
+ */
20239
+ issuerOrigin: string;
20240
+ /**
20241
+ * Origins authorized to redeem tokens from this issuer.
20242
+ */
20243
+ redeemerOrigins: string[];
20244
+ }
20245
+
20052
20246
  export type StorageBucketsDurability = ('relaxed' | 'strict');
20053
20247
 
20054
20248
  export interface StorageBucket {
@@ -20071,25 +20265,6 @@ export namespace Protocol {
20071
20265
  durability: StorageBucketsDurability;
20072
20266
  }
20073
20267
 
20074
- /**
20075
- * A single Related Website Set object.
20076
- * @experimental
20077
- */
20078
- export interface RelatedWebsiteSet {
20079
- /**
20080
- * The primary site of this set, along with the ccTLDs if there is any.
20081
- */
20082
- primarySites: string[];
20083
- /**
20084
- * The associated sites of this set, along with the ccTLDs if there is any.
20085
- */
20086
- associatedSites: string[];
20087
- /**
20088
- * The service sites of this set, along with the ccTLDs if there is any.
20089
- */
20090
- serviceSites: string[];
20091
- }
20092
-
20093
20268
  export interface GetStorageKeyForFrameRequest {
20094
20269
  frameId: Page.FrameId;
20095
20270
  }
@@ -20274,6 +20449,26 @@ export namespace Protocol {
20274
20449
  didDeleteTokens: boolean;
20275
20450
  }
20276
20451
 
20452
+ export interface GetPrivateVerificationTokensResponse {
20453
+ tokens: PrivateVerificationToken[];
20454
+ }
20455
+
20456
+ export interface GetPrivateVerificationTokensIssuerConfigsResponse {
20457
+ configs: PrivateVerificationTokensIssuerConfig[];
20458
+ }
20459
+
20460
+ export interface ClearPrivateVerificationTokensRequest {
20461
+ issuerOrigin: string;
20462
+ }
20463
+
20464
+ export interface DeletePrivateVerificationTokenRequest {
20465
+ tokenId: string;
20466
+ }
20467
+
20468
+ export interface SetPrivateVerificationTokensTrackingRequest {
20469
+ enable: boolean;
20470
+ }
20471
+
20277
20472
  export interface SetStorageBucketTrackingRequest {
20278
20473
  storageKey: string;
20279
20474
  enable: boolean;
@@ -20287,10 +20482,6 @@ export namespace Protocol {
20287
20482
  deletedSites: string[];
20288
20483
  }
20289
20484
 
20290
- export interface GetRelatedWebsiteSetsResponse {
20291
- sets: RelatedWebsiteSet[];
20292
- }
20293
-
20294
20485
  /**
20295
20486
  * A cache's contents have been modified.
20296
20487
  */
@@ -21954,6 +22145,10 @@ export namespace Protocol {
21954
22145
  * A hint indicating that executing the tool will result in consequential actions, ex: booking a flight, transferring money.
21955
22146
  */
21956
22147
  consequential?: boolean;
22148
+ /**
22149
+ * If true, indicates that the tool is intended for debugging and developer tooling rather than end-user interactions.
22150
+ */
22151
+ debugging?: boolean;
21957
22152
  /**
21958
22153
  * If the declarative tool was declared with the autosubmit attribute.
21959
22154
  */