devtools-protocol 0.0.1752859 → 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.
- package/json/browser_protocol.json +19 -1
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +11 -0
- package/types/protocol.d.ts +15 -1
|
@@ -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
|
},
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -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.
|
package/types/protocol.d.ts
CHANGED
|
@@ -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
|
/**
|