devtools-protocol 0.0.1752859 → 0.0.1755318
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 +28 -2
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +11 -0
- package/pdl/domains/Network.pdl +3 -0
- package/pdl/domains/Preload.pdl +1 -0
- package/types/protocol.d.ts +22 -2
|
@@ -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
|
},
|
|
@@ -16317,6 +16335,13 @@
|
|
|
16317
16335
|
"experimental": true,
|
|
16318
16336
|
"optional": true,
|
|
16319
16337
|
"type": "boolean"
|
|
16338
|
+
},
|
|
16339
|
+
{
|
|
16340
|
+
"name": "adProvenance",
|
|
16341
|
+
"description": "The provenance of an ad resource request, if it is ad-related and\nprovenance is available.",
|
|
16342
|
+
"experimental": true,
|
|
16343
|
+
"optional": true,
|
|
16344
|
+
"$ref": "AdProvenance"
|
|
16320
16345
|
}
|
|
16321
16346
|
]
|
|
16322
16347
|
},
|
|
@@ -26148,7 +26173,8 @@
|
|
|
26148
26173
|
"FormSubmitWhenPrerendering",
|
|
26149
26174
|
"CrossDocumentRestart",
|
|
26150
26175
|
"PrefetchFailedCrossOriginSubframe",
|
|
26151
|
-
"UnexpectedMainFrameNavigation"
|
|
26176
|
+
"UnexpectedMainFrameNavigation",
|
|
26177
|
+
"AudioOutput"
|
|
26152
26178
|
]
|
|
26153
26179
|
},
|
|
26154
26180
|
{
|
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/pdl/domains/Network.pdl
CHANGED
|
@@ -220,6 +220,9 @@ domain Network
|
|
|
220
220
|
experimental optional boolean isSameSite
|
|
221
221
|
# True when the resource request is ad-related.
|
|
222
222
|
experimental optional boolean isAdRelated
|
|
223
|
+
# The provenance of an ad resource request, if it is ad-related and
|
|
224
|
+
# provenance is available.
|
|
225
|
+
experimental optional AdProvenance adProvenance
|
|
223
226
|
|
|
224
227
|
# Details of a signed certificate timestamp (SCT).
|
|
225
228
|
type SignedCertificateTimestamp extends object
|
package/pdl/domains/Preload.pdl
CHANGED
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
|
/**
|
|
@@ -12995,6 +13009,12 @@ export namespace Protocol {
|
|
|
12995
13009
|
* @experimental
|
|
12996
13010
|
*/
|
|
12997
13011
|
isAdRelated?: boolean;
|
|
13012
|
+
/**
|
|
13013
|
+
* The provenance of an ad resource request, if it is ad-related and
|
|
13014
|
+
* provenance is available.
|
|
13015
|
+
* @experimental
|
|
13016
|
+
*/
|
|
13017
|
+
adProvenance?: AdProvenance;
|
|
12998
13018
|
}
|
|
12999
13019
|
|
|
13000
13020
|
/**
|
|
@@ -19389,7 +19409,7 @@ export namespace Protocol {
|
|
|
19389
19409
|
/**
|
|
19390
19410
|
* List of FinalStatus reasons for Prerender2.
|
|
19391
19411
|
*/
|
|
19392
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused' | 'FormSubmitWhenPrerendering' | 'CrossDocumentRestart' | 'PrefetchFailedCrossOriginSubframe' | 'UnexpectedMainFrameNavigation');
|
|
19412
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'NavigationRequestBlockedByCsp' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | 'TriggerUrlHasEffectiveUrl' | 'ActivatedBeforeStarted' | 'InactivePageRestriction' | 'StartFailed' | 'TimeoutBackgrounded' | 'CrossSiteRedirectInInitialNavigation' | 'CrossSiteNavigationInInitialNavigation' | 'SameSiteCrossOriginRedirectNotOptInInInitialNavigation' | 'SameSiteCrossOriginNavigationNotOptInInInitialNavigation' | 'ActivationNavigationParameterMismatch' | 'ActivatedInBackground' | 'EmbedderHostDisallowed' | 'ActivationNavigationDestroyedBeforeSuccess' | 'TabClosedByUserGesture' | 'TabClosedWithoutUserGesture' | 'PrimaryMainFrameRendererProcessCrashed' | 'PrimaryMainFrameRendererProcessKilled' | 'ActivationFramePolicyNotCompatible' | 'PreloadingDisabled' | 'BatterySaverEnabled' | 'ActivatedDuringMainFrameNavigation' | 'PreloadingUnsupportedByWebContents' | 'CrossSiteRedirectInMainFrameNavigation' | 'CrossSiteNavigationInMainFrameNavigation' | 'SameSiteCrossOriginRedirectNotOptInInMainFrameNavigation' | 'SameSiteCrossOriginNavigationNotOptInInMainFrameNavigation' | 'MemoryPressureOnTrigger' | 'MemoryPressureAfterTriggered' | 'PrerenderingDisabledByDevTools' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl' | 'JavaScriptInterfaceAdded' | 'JavaScriptInterfaceRemoved' | 'AllPrerenderingCanceled' | 'WindowClosed' | 'SlowNetwork' | 'OtherPrerenderedPageActivated' | 'V8OptimizerDisabled' | 'PrerenderFailedDuringPrefetch' | 'BrowsingDataRemoved' | 'PrerenderHostReused' | 'FormSubmitWhenPrerendering' | 'CrossDocumentRestart' | 'PrefetchFailedCrossOriginSubframe' | 'UnexpectedMainFrameNavigation' | 'AudioOutput');
|
|
19393
19413
|
|
|
19394
19414
|
/**
|
|
19395
19415
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|