devtools-protocol 0.0.1751165 → 0.0.1754134

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.
@@ -2490,6 +2490,18 @@
2490
2490
  }
2491
2491
  ]
2492
2492
  },
2493
+ {
2494
+ "id": "ViewportFitCoverMissingSafeAreaInsetTopIssueDetails",
2495
+ "description": "Details for issues about a page that declares viewport-fit=cover, receives\na non-zero top safe-area inset (e.g. a device cutout or system status bar),\nbut does not consume env(safe-area-inset-top) anywhere in its CSS while\nhaving DOM content likely to be occluded by that inset.",
2496
+ "type": "object",
2497
+ "properties": [
2498
+ {
2499
+ "name": "frameId",
2500
+ "description": "The frame that triggered the issue.",
2501
+ "$ref": "Page.FrameId"
2502
+ }
2503
+ ]
2504
+ },
2493
2505
  {
2494
2506
  "id": "InspectorIssueCode",
2495
2507
  "description": "A unique identifier for the type of issue. Each type may use one of the\noptional fields in InspectorIssueDetails to convey more specific\ninformation about the kind of issue.",
@@ -2525,7 +2537,8 @@
2525
2537
  "SelectivePermissionsInterventionIssue",
2526
2538
  "EmailVerificationRequestIssue",
2527
2539
  "LazyLoadImageIssue",
2528
- "WebInstallIssue"
2540
+ "WebInstallIssue",
2541
+ "ViewportFitCoverMissingSafeAreaInsetTopIssue"
2529
2542
  ]
2530
2543
  },
2531
2544
  {
@@ -2688,6 +2701,11 @@
2688
2701
  "name": "webInstallIssueDetails",
2689
2702
  "optional": true,
2690
2703
  "$ref": "WebInstallIssueDetails"
2704
+ },
2705
+ {
2706
+ "name": "viewportFitCoverMissingSafeAreaInsetTopIssueDetails",
2707
+ "optional": true,
2708
+ "$ref": "ViewportFitCoverMissingSafeAreaInsetTopIssueDetails"
2691
2709
  }
2692
2710
  ]
2693
2711
  },
@@ -11491,18 +11509,6 @@
11491
11509
  }
11492
11510
  ]
11493
11511
  },
11494
- {
11495
- "name": "setVirtualKeyboardGeometryOverride",
11496
- "description": "Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The\nprovided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and\nenv(keyboard-inset-*) values on the inspected frame. The override applies independently of\nnavigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without\nmutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the\noverride.",
11497
- "experimental": true,
11498
- "parameters": [
11499
- {
11500
- "name": "keyboardRect",
11501
- "optional": true,
11502
- "$ref": "DOM.Rect"
11503
- }
11504
- ]
11505
- },
11506
11512
  {
11507
11513
  "name": "setDeviceMetricsOverride",
11508
11514
  "description": "Overrides the values of device screen dimensions (window.screen.width, window.screen.height,\nwindow.innerWidth, window.innerHeight, and \"device-width\"/\"device-height\"-related CSS media\nquery results).",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1751165",
3
+ "version": "0.0.1754134",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -780,6 +780,15 @@ experimental domain Audits
780
780
  # Frame containing the image.
781
781
  Page.FrameId frameId
782
782
 
783
+ # Details for issues about a page that declares viewport-fit=cover, receives
784
+ # a non-zero top safe-area inset (e.g. a device cutout or system status bar),
785
+ # but does not consume env(safe-area-inset-top) anywhere in its CSS while
786
+ # having DOM content likely to be occluded by that inset.
787
+ type ViewportFitCoverMissingSafeAreaInsetTopIssueDetails extends object
788
+ properties
789
+ # The frame that triggered the issue.
790
+ Page.FrameId frameId
791
+
783
792
  # A unique identifier for the type of issue. Each type may use one of the
784
793
  # optional fields in InspectorIssueDetails to convey more specific
785
794
  # information about the kind of issue.
@@ -817,6 +826,7 @@ experimental domain Audits
817
826
  EmailVerificationRequestIssue
818
827
  LazyLoadImageIssue
819
828
  WebInstallIssue
829
+ ViewportFitCoverMissingSafeAreaInsetTopIssue
820
830
 
821
831
  # This struct holds a list of optional fields with additional information
822
832
  # specific to the kind of issue. When adding a new issue code, please also
@@ -854,6 +864,7 @@ experimental domain Audits
854
864
  optional EmailVerificationRequestIssueDetails emailVerificationRequestIssueDetails
855
865
  optional LazyLoadImageIssueDetails lazyLoadImageIssueDetails
856
866
  optional WebInstallIssueDetails webInstallIssueDetails
867
+ optional ViewportFitCoverMissingSafeAreaInsetTopIssueDetails viewportFitCoverMissingSafeAreaInsetTopIssueDetails
857
868
 
858
869
  # A unique id for a DevTools inspector issue. Allows other entities (e.g.
859
870
  # exceptions, CDP message, console messages, etc.) to reference an issue.
@@ -258,16 +258,6 @@ domain Emulation
258
258
  parameters
259
259
  SafeAreaInsets insets
260
260
 
261
- # Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
262
- # provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
263
- # env(keyboard-inset-*) values on the inspected frame. The override applies independently of
264
- # navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
265
- # mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
266
- # override.
267
- experimental command setVirtualKeyboardGeometryOverride
268
- parameters
269
- optional DOM.Rect keyboardRect
270
-
271
261
  # Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
272
262
  # window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
273
263
  # query results).
@@ -3367,19 +3367,6 @@ export namespace ProtocolMapping {
3367
3367
  paramsType: [Protocol.Emulation.SetSafeAreaInsetsOverrideRequest];
3368
3368
  returnType: void;
3369
3369
  };
3370
- /**
3371
- * Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
3372
- * provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
3373
- * env(keyboard-inset-*) values on the inspected frame. The override applies independently of
3374
- * navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
3375
- * mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
3376
- * override.
3377
- * @experimental
3378
- */
3379
- 'Emulation.setVirtualKeyboardGeometryOverride': {
3380
- paramsType: [Protocol.Emulation.SetVirtualKeyboardGeometryOverrideRequest?];
3381
- returnType: void;
3382
- };
3383
3370
  /**
3384
3371
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
3385
3372
  * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
@@ -2256,17 +2256,6 @@ export namespace ProtocolProxyApi {
2256
2256
  */
2257
2257
  setSafeAreaInsetsOverride(params: Protocol.Emulation.SetSafeAreaInsetsOverrideRequest): Promise<void>;
2258
2258
 
2259
- /**
2260
- * Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
2261
- * provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
2262
- * env(keyboard-inset-*) values on the inspected frame. The override applies independently of
2263
- * navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
2264
- * mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
2265
- * override.
2266
- * @experimental
2267
- */
2268
- setVirtualKeyboardGeometryOverride(params: Protocol.Emulation.SetVirtualKeyboardGeometryOverrideRequest): Promise<void>;
2269
-
2270
2259
  /**
2271
2260
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
2272
2261
  * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
@@ -2394,17 +2394,6 @@ export namespace ProtocolTestsProxyApi {
2394
2394
  */
2395
2395
  setSafeAreaInsetsOverride(params: Protocol.Emulation.SetSafeAreaInsetsOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
2396
2396
 
2397
- /**
2398
- * Overrides virtual keyboard geometry in CSS pixels, relative to the top-level viewport. The
2399
- * provided rect is used for navigator.virtualKeyboard.boundingRect, geometrychange events, and
2400
- * env(keyboard-inset-*) values on the inspected frame. The override applies independently of
2401
- * navigator.virtualKeyboard.overlaysContent so clients can preview overlay geometry without
2402
- * mutating page state. Values are rounded to the nearest CSS pixel. Omitting the rect clears the
2403
- * override.
2404
- * @experimental
2405
- */
2406
- setVirtualKeyboardGeometryOverride(params: Protocol.Emulation.SetVirtualKeyboardGeometryOverrideRequest): Promise<{id: number, result: void, sessionId: string}>;
2407
-
2408
2397
  /**
2409
2398
  * Overrides the values of device screen dimensions (window.screen.width, window.screen.height,
2410
2399
  * window.innerWidth, window.innerHeight, and "device-width"/"device-height"-related CSS media
@@ -4121,12 +4121,25 @@ export namespace Protocol {
4121
4121
  frameId: Page.FrameId;
4122
4122
  }
4123
4123
 
4124
+ /**
4125
+ * Details for issues about a page that declares viewport-fit=cover, receives
4126
+ * a non-zero top safe-area inset (e.g. a device cutout or system status bar),
4127
+ * but does not consume env(safe-area-inset-top) anywhere in its CSS while
4128
+ * having DOM content likely to be occluded by that inset.
4129
+ */
4130
+ export interface ViewportFitCoverMissingSafeAreaInsetTopIssueDetails {
4131
+ /**
4132
+ * The frame that triggered the issue.
4133
+ */
4134
+ frameId: Page.FrameId;
4135
+ }
4136
+
4124
4137
  /**
4125
4138
  * A unique identifier for the type of issue. Each type may use one of the
4126
4139
  * optional fields in InspectorIssueDetails to convey more specific
4127
4140
  * information about the kind of issue.
4128
4141
  */
4129
- export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue' | 'EmailVerificationRequestIssue' | 'LazyLoadImageIssue' | 'WebInstallIssue');
4142
+ export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue' | 'EmailVerificationRequestIssue' | 'LazyLoadImageIssue' | 'WebInstallIssue' | 'ViewportFitCoverMissingSafeAreaInsetTopIssue');
4130
4143
 
4131
4144
  /**
4132
4145
  * This struct holds a list of optional fields with additional information
@@ -4168,6 +4181,7 @@ export namespace Protocol {
4168
4181
  emailVerificationRequestIssueDetails?: EmailVerificationRequestIssueDetails;
4169
4182
  lazyLoadImageIssueDetails?: LazyLoadImageIssueDetails;
4170
4183
  webInstallIssueDetails?: WebInstallIssueDetails;
4184
+ viewportFitCoverMissingSafeAreaInsetTopIssueDetails?: ViewportFitCoverMissingSafeAreaInsetTopIssueDetails;
4171
4185
  }
4172
4186
 
4173
4187
  /**
@@ -9804,10 +9818,6 @@ export namespace Protocol {
9804
9818
  insets: SafeAreaInsets;
9805
9819
  }
9806
9820
 
9807
- export interface SetVirtualKeyboardGeometryOverrideRequest {
9808
- keyboardRect?: DOM.Rect;
9809
- }
9810
-
9811
9821
  export const enum SetDeviceMetricsOverrideRequestScrollbarType {
9812
9822
  Overlay = 'overlay',
9813
9823
  Default = 'default',