devtools-protocol 0.0.1648812 → 0.0.1652909

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.
@@ -608,6 +608,34 @@
608
608
  "Runtime"
609
609
  ],
610
610
  "types": [
611
+ {
612
+ "id": "AdFrameData",
613
+ "description": "Ad frame data.",
614
+ "type": "object",
615
+ "properties": [
616
+ {
617
+ "name": "frameId",
618
+ "description": "The DevTools frame token.",
619
+ "$ref": "Page.FrameId"
620
+ },
621
+ {
622
+ "name": "initialOrigin",
623
+ "description": "The initial origin of the frame. To minimize the payload size, this is\nonly sent once per frame.",
624
+ "optional": true,
625
+ "type": "string"
626
+ },
627
+ {
628
+ "name": "networkBytes",
629
+ "description": "The network bytes of the frame.",
630
+ "type": "number"
631
+ },
632
+ {
633
+ "name": "cpuTime",
634
+ "description": "The CPU time of the frame, in milliseconds.",
635
+ "type": "number"
636
+ }
637
+ ]
638
+ },
611
639
  {
612
640
  "id": "AdMetrics",
613
641
  "description": "Ad metrics for a page.",
@@ -642,6 +670,22 @@
642
670
  "name": "totalAdNetworkBytes",
643
671
  "description": "The total ad network bytes.",
644
672
  "type": "number"
673
+ },
674
+ {
675
+ "name": "updateAdFrames",
676
+ "description": "The list of ad frames that have been updated since the last event.",
677
+ "type": "array",
678
+ "items": {
679
+ "$ref": "AdFrameData"
680
+ }
681
+ },
682
+ {
683
+ "name": "removeAdFrames",
684
+ "description": "The list of ad frame IDs that have been removed since the last event.",
685
+ "type": "array",
686
+ "items": {
687
+ "$ref": "Page.FrameId"
688
+ }
645
689
  }
646
690
  ]
647
691
  }
@@ -2082,6 +2126,7 @@
2082
2126
  "JwksHttpNotFound",
2083
2127
  "JwksInvalidResponse",
2084
2128
  "TokenVerificationSdJwtUnsupportedHeaderAlg",
2129
+ "TokenVerificationSdJwtInvalidTyp",
2085
2130
  "TokenVerificationSdJwtMissingIss",
2086
2131
  "TokenVerificationSdJwtMissingIat",
2087
2132
  "TokenVerificationSdJwtMissingCnf",
@@ -7278,8 +7323,10 @@
7278
7323
  "file-selector-button",
7279
7324
  "details-content",
7280
7325
  "picker",
7326
+ "select-listbox",
7281
7327
  "permission-icon",
7282
7328
  "overscroll-area-parent",
7329
+ "overscroll-backdrop",
7283
7330
  "skeleton"
7284
7331
  ]
7285
7332
  },
@@ -20868,6 +20915,76 @@
20868
20915
  }
20869
20916
  ]
20870
20917
  },
20918
+ {
20919
+ "id": "DisplayCutoutShape",
20920
+ "description": "Supported display cutout shapes.",
20921
+ "type": "string",
20922
+ "enum": [
20923
+ "pill",
20924
+ "notch",
20925
+ "circle",
20926
+ "rectangle"
20927
+ ]
20928
+ },
20929
+ {
20930
+ "id": "DisplayCutoutConfig",
20931
+ "description": "Configuration for a display cutout.",
20932
+ "type": "object",
20933
+ "properties": [
20934
+ {
20935
+ "name": "rect",
20936
+ "description": "A rectangle representing the cutout bounds.",
20937
+ "$ref": "DOM.Rect"
20938
+ },
20939
+ {
20940
+ "name": "shape",
20941
+ "description": "Shape used to draw the cutout.",
20942
+ "$ref": "DisplayCutoutShape"
20943
+ },
20944
+ {
20945
+ "name": "borderRadius",
20946
+ "description": "Border radius for rounded cutout shapes.",
20947
+ "optional": true,
20948
+ "type": "integer"
20949
+ },
20950
+ {
20951
+ "name": "upperRadius",
20952
+ "description": "Upper shoulder radius for notch cutout shapes.",
20953
+ "optional": true,
20954
+ "type": "integer"
20955
+ },
20956
+ {
20957
+ "name": "lowerRadius",
20958
+ "description": "Lower transition radius for notch cutout shapes.",
20959
+ "optional": true,
20960
+ "type": "integer"
20961
+ },
20962
+ {
20963
+ "name": "cx",
20964
+ "description": "Center x coordinate for circle cutout shapes.",
20965
+ "optional": true,
20966
+ "type": "integer"
20967
+ },
20968
+ {
20969
+ "name": "cy",
20970
+ "description": "Center y coordinate for circle cutout shapes.",
20971
+ "optional": true,
20972
+ "type": "integer"
20973
+ },
20974
+ {
20975
+ "name": "radius",
20976
+ "description": "Radius for circle cutout shapes.",
20977
+ "optional": true,
20978
+ "type": "integer"
20979
+ },
20980
+ {
20981
+ "name": "contentColor",
20982
+ "description": "The cutout fill color (default: black).",
20983
+ "optional": true,
20984
+ "$ref": "DOM.RGBA"
20985
+ }
20986
+ ]
20987
+ },
20871
20988
  {
20872
20989
  "id": "WindowControlsOverlayConfig",
20873
20990
  "description": "Configuration for Window Controls Overlay",
@@ -21439,6 +21556,18 @@
21439
21556
  }
21440
21557
  ]
21441
21558
  },
21559
+ {
21560
+ "name": "setShowDisplayCutout",
21561
+ "description": "Add a display cutout overlay.",
21562
+ "parameters": [
21563
+ {
21564
+ "name": "displayCutoutConfig",
21565
+ "description": "display cutout data, null means hide display cutout",
21566
+ "optional": true,
21567
+ "$ref": "DisplayCutoutConfig"
21568
+ }
21569
+ ]
21570
+ },
21442
21571
  {
21443
21572
  "name": "setShowIsolatedElements",
21444
21573
  "description": "Show elements in isolation mode with overlays.",
@@ -23561,6 +23690,12 @@
23561
23690
  "description": "Whether or not universal access should be granted to the isolated world. This is a powerful\noption, use with caution.",
23562
23691
  "optional": true,
23563
23692
  "type": "boolean"
23693
+ },
23694
+ {
23695
+ "name": "contentSecurityPolicy",
23696
+ "description": "An optional content security policy to set for the isolated world.\nIf omitted, any existing CSP for the world will be cleared.\nNote that clearing or updating the CSP does not immediately affect the active\ncontext in the same document because LocalDOMWindow caches the\nContentSecurityPolicy object. The change takes effect on subsequent\nnavigations when a new window context is created.",
23697
+ "optional": true,
23698
+ "type": "string"
23564
23699
  }
23565
23700
  ],
23566
23701
  "returns": [
@@ -29219,7 +29354,7 @@
29219
29354
  },
29220
29355
  {
29221
29356
  "name": "focus",
29222
- "description": "If specified, the option is used to determine if the new target should\nbe focused or not. By default, the focus behavior depends on the\nvalue of the background field. For example, background=false and focus=false\nwill result in the target tab being opened but the browser window remain\nunchanged (if it was in the background, it will remain in the background)\nand background=false with focus=undefined will result in the window being focused.\nUsing background: true and focus: true is not supported and will result in an error.",
29357
+ "description": "If specified, determines whether the new target should be focused.\nBy default, the focus behavior depends on the `background` parameter:\n- If `background` is false (default) and `focus` is omitted, the new target is focused and the browser window is brought to the foreground.\n- If `background` is false and `focus` is false, the target is opened but the browser window's focus remains unchanged (e.g., if the window was in the background, it stays there).\n- If `background` is true, setting `focus` to true is not supported and will result in an error.",
29223
29358
  "experimental": true,
29224
29359
  "optional": true,
29225
29360
  "type": "boolean"
@@ -29900,6 +30035,20 @@
29900
30035
  "experimental": true,
29901
30036
  "optional": true,
29902
30037
  "$ref": "TracingBackend"
30038
+ },
30039
+ {
30040
+ "name": "screenshotMaxSize",
30041
+ "description": "Maximum width and height (in pixels) of each captured screenshot.\nOnly used when the `disabled-by-default-devtools.screenshot` category is\nenabled. Defaults to 500. The combined memory footprint of screenshots\n(`screenshotMaxSize` * `screenshotMaxSize` * 4 * `screenshotMaxCount`)\nis clamped to the existing per-session budget.",
30042
+ "experimental": true,
30043
+ "optional": true,
30044
+ "type": "integer"
30045
+ },
30046
+ {
30047
+ "name": "screenshotMaxCount",
30048
+ "description": "Maximum number of screenshots captured during a single tracing session.\nOnly used when the `disabled-by-default-devtools.screenshot` category is\nenabled. Defaults to 450. Clamped together with `screenshotMaxSize` to\nstay within the per-session screenshot memory budget.",
30049
+ "experimental": true,
30050
+ "optional": true,
30051
+ "type": "integer"
29903
30052
  }
29904
30053
  ]
29905
30054
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1648812",
3
+ "version": "0.0.1652909",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -8,6 +8,19 @@ experimental domain Ads
8
8
  depends on Page
9
9
  depends on Runtime
10
10
 
11
+ # Ad frame data.
12
+ type AdFrameData extends object
13
+ properties
14
+ # The DevTools frame token.
15
+ Page.FrameId frameId
16
+ # The initial origin of the frame. To minimize the payload size, this is
17
+ # only sent once per frame.
18
+ optional string initialOrigin
19
+ # The network bytes of the frame.
20
+ number networkBytes
21
+ # The CPU time of the frame, in milliseconds.
22
+ number cpuTime
23
+
11
24
  # Ad metrics for a page.
12
25
  type AdMetrics extends object
13
26
  properties
@@ -26,6 +39,10 @@ experimental domain Ads
26
39
  number totalAdCpuTime
27
40
  # The total ad network bytes.
28
41
  number totalAdNetworkBytes
42
+ # The list of ad frames that have been updated since the last event.
43
+ array of AdFrameData updateAdFrames
44
+ # The list of ad frame IDs that have been removed since the last event.
45
+ array of Page.FrameId removeAdFrames
29
46
 
30
47
  # Retrieves ad metrics for the current page.
31
48
  command getAdMetrics
@@ -604,6 +604,7 @@ experimental domain Audits
604
604
  JwksHttpNotFound
605
605
  JwksInvalidResponse
606
606
  TokenVerificationSdJwtUnsupportedHeaderAlg
607
+ TokenVerificationSdJwtInvalidTyp
607
608
  TokenVerificationSdJwtMissingIss
608
609
  TokenVerificationSdJwtMissingIat
609
610
  TokenVerificationSdJwtMissingCnf
@@ -76,8 +76,10 @@ domain DOM
76
76
  file-selector-button
77
77
  details-content
78
78
  picker
79
+ select-listbox
79
80
  permission-icon
80
81
  overscroll-area-parent
82
+ overscroll-backdrop
81
83
  skeleton
82
84
 
83
85
  # Shadow root type.
@@ -208,6 +208,36 @@ experimental domain Overlay
208
208
  # The content box highlight outline color (default: transparent).
209
209
  optional DOM.RGBA outlineColor
210
210
 
211
+ # Supported display cutout shapes.
212
+ type DisplayCutoutShape extends string
213
+ enum
214
+ pill
215
+ notch
216
+ circle
217
+ rectangle
218
+
219
+ # Configuration for a display cutout.
220
+ type DisplayCutoutConfig extends object
221
+ properties
222
+ # A rectangle representing the cutout bounds.
223
+ DOM.Rect rect
224
+ # Shape used to draw the cutout.
225
+ DisplayCutoutShape shape
226
+ # Border radius for rounded cutout shapes.
227
+ optional integer borderRadius
228
+ # Upper shoulder radius for notch cutout shapes.
229
+ optional integer upperRadius
230
+ # Lower transition radius for notch cutout shapes.
231
+ optional integer lowerRadius
232
+ # Center x coordinate for circle cutout shapes.
233
+ optional integer cx
234
+ # Center y coordinate for circle cutout shapes.
235
+ optional integer cy
236
+ # Radius for circle cutout shapes.
237
+ optional integer radius
238
+ # The cutout fill color (default: black).
239
+ optional DOM.RGBA contentColor
240
+
211
241
  # Configuration for Window Controls Overlay
212
242
  type WindowControlsOverlayConfig extends object
213
243
  properties
@@ -476,6 +506,12 @@ experimental domain Overlay
476
506
  # hinge data, null means hideHinge
477
507
  optional HingeConfig hingeConfig
478
508
 
509
+ # Add a display cutout overlay.
510
+ command setShowDisplayCutout
511
+ parameters
512
+ # display cutout data, null means hide display cutout
513
+ optional DisplayCutoutConfig displayCutoutConfig
514
+
479
515
  # Show elements in isolation mode with overlays.
480
516
  command setShowIsolatedElements
481
517
  parameters
@@ -640,6 +640,13 @@ domain Page
640
640
  # Whether or not universal access should be granted to the isolated world. This is a powerful
641
641
  # option, use with caution.
642
642
  optional boolean grantUniveralAccess
643
+ # An optional content security policy to set for the isolated world.
644
+ # If omitted, any existing CSP for the world will be cleared.
645
+ # Note that clearing or updating the CSP does not immediately affect the active
646
+ # context in the same document because LocalDOMWindow caches the
647
+ # ContentSecurityPolicy object. The change takes effect on subsequent
648
+ # navigations when a new window context is created.
649
+ optional string contentSecurityPolicy
643
650
  returns
644
651
  # Execution context of the isolated world.
645
652
  Runtime.ExecutionContextId executionContextId
@@ -173,13 +173,11 @@ domain Target
173
173
  # present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
174
174
  # `background: false`. The life-time of the tab is limited to the life-time of the session.
175
175
  experimental optional boolean hidden
176
- # If specified, the option is used to determine if the new target should
177
- # be focused or not. By default, the focus behavior depends on the
178
- # value of the background field. For example, background=false and focus=false
179
- # will result in the target tab being opened but the browser window remain
180
- # unchanged (if it was in the background, it will remain in the background)
181
- # and background=false with focus=undefined will result in the window being focused.
182
- # Using background: true and focus: true is not supported and will result in an error.
176
+ # If specified, determines whether the new target should be focused.
177
+ # By default, the focus behavior depends on the `background` parameter:
178
+ # - If `background` is false (default) and `focus` is omitted, the new target is focused and the browser window is brought to the foreground.
179
+ # - If `background` is false and `focus` is false, the target is opened but the browser window's focus remains unchanged (e.g., if the window was in the background, it stays there).
180
+ # - If `background` is true, setting `focus` to true is not supported and will result in an error.
183
181
  experimental optional boolean focus
184
182
  returns
185
183
  # The id of the page opened.
@@ -130,6 +130,17 @@ domain Tracing
130
130
  experimental optional binary perfettoConfig
131
131
  # Backend type (defaults to `auto`)
132
132
  experimental optional TracingBackend tracingBackend
133
+ # Maximum width and height (in pixels) of each captured screenshot.
134
+ # Only used when the `disabled-by-default-devtools.screenshot` category is
135
+ # enabled. Defaults to 500. The combined memory footprint of screenshots
136
+ # (`screenshotMaxSize` * `screenshotMaxSize` * 4 * `screenshotMaxCount`)
137
+ # is clamped to the existing per-session budget.
138
+ experimental optional integer screenshotMaxSize
139
+ # Maximum number of screenshots captured during a single tracing session.
140
+ # Only used when the `disabled-by-default-devtools.screenshot` category is
141
+ # enabled. Defaults to 450. Clamped together with `screenshotMaxSize` to
142
+ # stay within the per-session screenshot memory budget.
143
+ experimental optional integer screenshotMaxCount
133
144
 
134
145
  experimental event bufferUsage
135
146
  parameters
@@ -4779,6 +4779,13 @@ export namespace ProtocolMapping {
4779
4779
  paramsType: [Protocol.Overlay.SetShowHingeRequest?];
4780
4780
  returnType: void;
4781
4781
  };
4782
+ /**
4783
+ * Add a display cutout overlay.
4784
+ */
4785
+ 'Overlay.setShowDisplayCutout': {
4786
+ paramsType: [Protocol.Overlay.SetShowDisplayCutoutRequest?];
4787
+ returnType: void;
4788
+ };
4782
4789
  /**
4783
4790
  * Show elements in isolation mode with overlays.
4784
4791
  */
@@ -3681,6 +3681,11 @@ export namespace ProtocolProxyApi {
3681
3681
  */
3682
3682
  setShowHinge(params: Protocol.Overlay.SetShowHingeRequest): Promise<void>;
3683
3683
 
3684
+ /**
3685
+ * Add a display cutout overlay.
3686
+ */
3687
+ setShowDisplayCutout(params: Protocol.Overlay.SetShowDisplayCutoutRequest): Promise<void>;
3688
+
3684
3689
  /**
3685
3690
  * Show elements in isolation mode with overlays.
3686
3691
  */
@@ -3945,6 +3945,11 @@ export namespace ProtocolTestsProxyApi {
3945
3945
  */
3946
3946
  setShowHinge(params: Protocol.Overlay.SetShowHingeRequest): Promise<{id: number, result: void, sessionId: string}>;
3947
3947
 
3948
+ /**
3949
+ * Add a display cutout overlay.
3950
+ */
3951
+ setShowDisplayCutout(params: Protocol.Overlay.SetShowDisplayCutoutRequest): Promise<{id: number, result: void, sessionId: string}>;
3952
+
3948
3953
  /**
3949
3954
  * Show elements in isolation mode with overlays.
3950
3955
  */
@@ -3124,6 +3124,29 @@ export namespace Protocol {
3124
3124
  */
3125
3125
  export namespace Ads {
3126
3126
 
3127
+ /**
3128
+ * Ad frame data.
3129
+ */
3130
+ export interface AdFrameData {
3131
+ /**
3132
+ * The DevTools frame token.
3133
+ */
3134
+ frameId: Page.FrameId;
3135
+ /**
3136
+ * The initial origin of the frame. To minimize the payload size, this is
3137
+ * only sent once per frame.
3138
+ */
3139
+ initialOrigin?: string;
3140
+ /**
3141
+ * The network bytes of the frame.
3142
+ */
3143
+ networkBytes: number;
3144
+ /**
3145
+ * The CPU time of the frame, in milliseconds.
3146
+ */
3147
+ cpuTime: number;
3148
+ }
3149
+
3127
3150
  /**
3128
3151
  * Ad metrics for a page.
3129
3152
  */
@@ -3155,6 +3178,14 @@ export namespace Protocol {
3155
3178
  * The total ad network bytes.
3156
3179
  */
3157
3180
  totalAdNetworkBytes: number;
3181
+ /**
3182
+ * The list of ad frames that have been updated since the last event.
3183
+ */
3184
+ updateAdFrames: AdFrameData[];
3185
+ /**
3186
+ * The list of ad frame IDs that have been removed since the last event.
3187
+ */
3188
+ removeAdFrames: Page.FrameId[];
3158
3189
  }
3159
3190
 
3160
3191
  export interface GetAdMetricsResponse {
@@ -3837,7 +3868,7 @@ export namespace Protocol {
3837
3868
  * Should be updated alongside EmailVerificationRequestResult in
3838
3869
  * third_party/blink/public/mojom/devtools/inspector_issue.mojom.
3839
3870
  */
3840
- export type EmailVerificationRequestIssueReason = ('InvalidEmail' | 'DnsFetchFailed' | 'DnsInvalidRecord' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'WellKnownMissingIssuanceEndpoint' | 'WellKnownIssuanceEndpointCrossOrigin' | 'WellKnownUnsupportedSigningAlgorithm' | 'TokenHttpNotFound' | 'TokenNoResponse' | 'TokenInvalidResponse' | 'TokenInvalidContentType' | 'TokenMalformedSdJwt' | 'TokenInvalidSdJwt' | 'KeyBindingSigningFailed' | 'RpOriginIsOpaque' | 'WellKnownMissingAccountsEndpoint' | 'UserLoggedOut' | 'WellKnownAccountsEndpointCrossOrigin' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsInvalidContentType' | 'AccountsEmptyList' | 'EmailVerificationWellKnownHttpNotFound' | 'EmailVerificationWellKnownNoResponse' | 'EmailVerificationWellKnownInvalidResponse' | 'EmailVerificationWellKnownInvalidContentType' | 'JwksHttpNotFound' | 'JwksInvalidResponse' | 'TokenVerificationSdJwtUnsupportedHeaderAlg' | 'TokenVerificationSdJwtMissingIss' | 'TokenVerificationSdJwtMissingIat' | 'TokenVerificationSdJwtMissingCnf' | 'TokenVerificationSdJwtMissingEmail' | 'TokenVerificationSdJwtInvalidIssuedAt' | 'TokenVerificationSdJwtInvalidIssuer' | 'TokenVerificationSdJwtJwksMissingKeys' | 'TokenVerificationSdJwtSignatureFailed' | 'TokenVerificationSdJwtInvalidEmailVerified' | 'TokenVerificationSdJwtInvalidEmail' | 'TokenVerificationSdJwtInvalidHolderKey' | 'TokenVerificationKbInvalidTyp' | 'TokenVerificationKbMissingAud' | 'TokenVerificationKbMissingNonce' | 'TokenVerificationKbMissingIat' | 'TokenVerificationKbMissingSdHash' | 'TokenVerificationKbInvalidIssuedAt' | 'TokenVerificationKbInvalidAudience' | 'TokenVerificationKbInvalidNonce' | 'TokenVerificationKbInvalidSdHash' | 'TokenVerificationKbMissingCnf' | 'TokenVerificationKbSignatureFailed');
3871
+ export type EmailVerificationRequestIssueReason = ('InvalidEmail' | 'DnsFetchFailed' | 'DnsInvalidRecord' | 'WellKnownHttpNotFound' | 'WellKnownNoResponse' | 'WellKnownInvalidResponse' | 'WellKnownListEmpty' | 'WellKnownInvalidContentType' | 'WellKnownMissingIssuanceEndpoint' | 'WellKnownIssuanceEndpointCrossOrigin' | 'WellKnownUnsupportedSigningAlgorithm' | 'TokenHttpNotFound' | 'TokenNoResponse' | 'TokenInvalidResponse' | 'TokenInvalidContentType' | 'TokenMalformedSdJwt' | 'TokenInvalidSdJwt' | 'KeyBindingSigningFailed' | 'RpOriginIsOpaque' | 'WellKnownMissingAccountsEndpoint' | 'UserLoggedOut' | 'WellKnownAccountsEndpointCrossOrigin' | 'AccountsHttpNotFound' | 'AccountsNoResponse' | 'AccountsInvalidResponse' | 'AccountsInvalidContentType' | 'AccountsEmptyList' | 'EmailVerificationWellKnownHttpNotFound' | 'EmailVerificationWellKnownNoResponse' | 'EmailVerificationWellKnownInvalidResponse' | 'EmailVerificationWellKnownInvalidContentType' | 'JwksHttpNotFound' | 'JwksInvalidResponse' | 'TokenVerificationSdJwtUnsupportedHeaderAlg' | 'TokenVerificationSdJwtInvalidTyp' | 'TokenVerificationSdJwtMissingIss' | 'TokenVerificationSdJwtMissingIat' | 'TokenVerificationSdJwtMissingCnf' | 'TokenVerificationSdJwtMissingEmail' | 'TokenVerificationSdJwtInvalidIssuedAt' | 'TokenVerificationSdJwtInvalidIssuer' | 'TokenVerificationSdJwtJwksMissingKeys' | 'TokenVerificationSdJwtSignatureFailed' | 'TokenVerificationSdJwtInvalidEmailVerified' | 'TokenVerificationSdJwtInvalidEmail' | 'TokenVerificationSdJwtInvalidHolderKey' | 'TokenVerificationKbInvalidTyp' | 'TokenVerificationKbMissingAud' | 'TokenVerificationKbMissingNonce' | 'TokenVerificationKbMissingIat' | 'TokenVerificationKbMissingSdHash' | 'TokenVerificationKbInvalidIssuedAt' | 'TokenVerificationKbInvalidAudience' | 'TokenVerificationKbInvalidNonce' | 'TokenVerificationKbInvalidSdHash' | 'TokenVerificationKbMissingCnf' | 'TokenVerificationKbSignatureFailed');
3841
3872
 
3842
3873
  /**
3843
3874
  * This issue tracks client hints related issues. It's used to deprecate old
@@ -7020,7 +7051,7 @@ export namespace Protocol {
7020
7051
  /**
7021
7052
  * Pseudo element type.
7022
7053
  */
7023
- export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'expand-icon' | 'picker-icon' | 'interest-button' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon' | 'overscroll-area-parent' | 'skeleton');
7054
+ export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'expand-icon' | 'picker-icon' | 'interest-button' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-group-children' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'select-listbox' | 'permission-icon' | 'overscroll-area-parent' | 'overscroll-backdrop' | 'skeleton');
7024
7055
 
7025
7056
  /**
7026
7057
  * Shadow root type.
@@ -16102,6 +16133,53 @@ export namespace Protocol {
16102
16133
  outlineColor?: DOM.RGBA;
16103
16134
  }
16104
16135
 
16136
+ /**
16137
+ * Supported display cutout shapes.
16138
+ */
16139
+ export type DisplayCutoutShape = ('pill' | 'notch' | 'circle' | 'rectangle');
16140
+
16141
+ /**
16142
+ * Configuration for a display cutout.
16143
+ */
16144
+ export interface DisplayCutoutConfig {
16145
+ /**
16146
+ * A rectangle representing the cutout bounds.
16147
+ */
16148
+ rect: DOM.Rect;
16149
+ /**
16150
+ * Shape used to draw the cutout.
16151
+ */
16152
+ shape: DisplayCutoutShape;
16153
+ /**
16154
+ * Border radius for rounded cutout shapes.
16155
+ */
16156
+ borderRadius?: integer;
16157
+ /**
16158
+ * Upper shoulder radius for notch cutout shapes.
16159
+ */
16160
+ upperRadius?: integer;
16161
+ /**
16162
+ * Lower transition radius for notch cutout shapes.
16163
+ */
16164
+ lowerRadius?: integer;
16165
+ /**
16166
+ * Center x coordinate for circle cutout shapes.
16167
+ */
16168
+ cx?: integer;
16169
+ /**
16170
+ * Center y coordinate for circle cutout shapes.
16171
+ */
16172
+ cy?: integer;
16173
+ /**
16174
+ * Radius for circle cutout shapes.
16175
+ */
16176
+ radius?: integer;
16177
+ /**
16178
+ * The cutout fill color (default: black).
16179
+ */
16180
+ contentColor?: DOM.RGBA;
16181
+ }
16182
+
16105
16183
  /**
16106
16184
  * Configuration for Window Controls Overlay
16107
16185
  */
@@ -16459,6 +16537,13 @@ export namespace Protocol {
16459
16537
  hingeConfig?: HingeConfig;
16460
16538
  }
16461
16539
 
16540
+ export interface SetShowDisplayCutoutRequest {
16541
+ /**
16542
+ * display cutout data, null means hide display cutout
16543
+ */
16544
+ displayCutoutConfig?: DisplayCutoutConfig;
16545
+ }
16546
+
16462
16547
  export interface SetShowIsolatedElementsRequest {
16463
16548
  /**
16464
16549
  * An array of node identifiers and descriptors for the highlight appearance.
@@ -17591,6 +17676,15 @@ export namespace Protocol {
17591
17676
  * option, use with caution.
17592
17677
  */
17593
17678
  grantUniveralAccess?: boolean;
17679
+ /**
17680
+ * An optional content security policy to set for the isolated world.
17681
+ * If omitted, any existing CSP for the world will be cleared.
17682
+ * Note that clearing or updating the CSP does not immediately affect the active
17683
+ * context in the same document because LocalDOMWindow caches the
17684
+ * ContentSecurityPolicy object. The change takes effect on subsequent
17685
+ * navigations when a new window context is created.
17686
+ */
17687
+ contentSecurityPolicy?: string;
17594
17688
  }
17595
17689
 
17596
17690
  export interface CreateIsolatedWorldResponse {
@@ -21093,13 +21187,11 @@ export namespace Protocol {
21093
21187
  */
21094
21188
  hidden?: boolean;
21095
21189
  /**
21096
- * If specified, the option is used to determine if the new target should
21097
- * be focused or not. By default, the focus behavior depends on the
21098
- * value of the background field. For example, background=false and focus=false
21099
- * will result in the target tab being opened but the browser window remain
21100
- * unchanged (if it was in the background, it will remain in the background)
21101
- * and background=false with focus=undefined will result in the window being focused.
21102
- * Using background: true and focus: true is not supported and will result in an error.
21190
+ * If specified, determines whether the new target should be focused.
21191
+ * By default, the focus behavior depends on the `background` parameter:
21192
+ * - If `background` is false (default) and `focus` is omitted, the new target is focused and the browser window is brought to the foreground.
21193
+ * - If `background` is false and `focus` is false, the target is opened but the browser window's focus remains unchanged (e.g., if the window was in the background, it stays there).
21194
+ * - If `background` is true, setting `focus` to true is not supported and will result in an error.
21103
21195
  * @experimental
21104
21196
  */
21105
21197
  focus?: boolean;
@@ -21568,6 +21660,23 @@ export namespace Protocol {
21568
21660
  * @experimental
21569
21661
  */
21570
21662
  tracingBackend?: TracingBackend;
21663
+ /**
21664
+ * Maximum width and height (in pixels) of each captured screenshot.
21665
+ * Only used when the `disabled-by-default-devtools.screenshot` category is
21666
+ * enabled. Defaults to 500. The combined memory footprint of screenshots
21667
+ * (`screenshotMaxSize` * `screenshotMaxSize` * 4 * `screenshotMaxCount`)
21668
+ * is clamped to the existing per-session budget.
21669
+ * @experimental
21670
+ */
21671
+ screenshotMaxSize?: integer;
21672
+ /**
21673
+ * Maximum number of screenshots captured during a single tracing session.
21674
+ * Only used when the `disabled-by-default-devtools.screenshot` category is
21675
+ * enabled. Defaults to 450. Clamped together with `screenshotMaxSize` to
21676
+ * stay within the per-session screenshot memory budget.
21677
+ * @experimental
21678
+ */
21679
+ screenshotMaxCount?: integer;
21571
21680
  }
21572
21681
 
21573
21682
  /**