devtools-protocol 0.0.1198794 → 0.0.1200039
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 +48 -4
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +26 -1
- package/types/protocol.d.ts +25 -3
@@ -1734,6 +1734,39 @@
|
|
1734
1734
|
}
|
1735
1735
|
]
|
1736
1736
|
},
|
1737
|
+
{
|
1738
|
+
"id": "PropertyRuleIssueReason",
|
1739
|
+
"type": "string",
|
1740
|
+
"enum": [
|
1741
|
+
"InvalidSyntax",
|
1742
|
+
"InvalidInitialValue",
|
1743
|
+
"InvalidInherits",
|
1744
|
+
"InvalidName"
|
1745
|
+
]
|
1746
|
+
},
|
1747
|
+
{
|
1748
|
+
"id": "PropertyRuleIssueDetails",
|
1749
|
+
"description": "This issue warns about errors in property rules that lead to property\nregistrations being ignored.",
|
1750
|
+
"type": "object",
|
1751
|
+
"properties": [
|
1752
|
+
{
|
1753
|
+
"name": "sourceCodeLocation",
|
1754
|
+
"description": "Source code position of the property rule.",
|
1755
|
+
"$ref": "SourceCodeLocation"
|
1756
|
+
},
|
1757
|
+
{
|
1758
|
+
"name": "propertyRuleIssueReason",
|
1759
|
+
"description": "Reason why the property rule was discarded.",
|
1760
|
+
"$ref": "PropertyRuleIssueReason"
|
1761
|
+
},
|
1762
|
+
{
|
1763
|
+
"name": "propertyValue",
|
1764
|
+
"description": "The value of the property rule property that failed to parse",
|
1765
|
+
"optional": true,
|
1766
|
+
"type": "string"
|
1767
|
+
}
|
1768
|
+
]
|
1769
|
+
},
|
1737
1770
|
{
|
1738
1771
|
"id": "InspectorIssueCode",
|
1739
1772
|
"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.",
|
@@ -1756,7 +1789,8 @@
|
|
1756
1789
|
"FederatedAuthRequestIssue",
|
1757
1790
|
"BounceTrackingIssue",
|
1758
1791
|
"StylesheetLoadingIssue",
|
1759
|
-
"FederatedAuthUserInfoRequestIssue"
|
1792
|
+
"FederatedAuthUserInfoRequestIssue",
|
1793
|
+
"PropertyRuleIssue"
|
1760
1794
|
]
|
1761
1795
|
},
|
1762
1796
|
{
|
@@ -1850,6 +1884,11 @@
|
|
1850
1884
|
"optional": true,
|
1851
1885
|
"$ref": "StylesheetLoadingIssueDetails"
|
1852
1886
|
},
|
1887
|
+
{
|
1888
|
+
"name": "propertyRuleIssueDetails",
|
1889
|
+
"optional": true,
|
1890
|
+
"$ref": "PropertyRuleIssueDetails"
|
1891
|
+
},
|
1853
1892
|
{
|
1854
1893
|
"name": "federatedAuthUserInfoRequestIssueDetails",
|
1855
1894
|
"optional": true,
|
@@ -19792,7 +19831,9 @@
|
|
19792
19831
|
"update",
|
19793
19832
|
"loaded",
|
19794
19833
|
"bid",
|
19795
|
-
"win"
|
19834
|
+
"win",
|
19835
|
+
"additionalBid",
|
19836
|
+
"additionalBidWin"
|
19796
19837
|
]
|
19797
19838
|
},
|
19798
19839
|
{
|
@@ -23951,7 +23992,7 @@
|
|
23951
23992
|
"TriggerBackgrounded",
|
23952
23993
|
"MemoryLimitExceeded",
|
23953
23994
|
"DataSaverEnabled",
|
23954
|
-
"
|
23995
|
+
"TriggerUrlHasEffectiveUrl",
|
23955
23996
|
"ActivatedBeforeStarted",
|
23956
23997
|
"InactivePageRestriction",
|
23957
23998
|
"StartFailed",
|
@@ -23985,7 +24026,10 @@
|
|
23985
24026
|
"ActivatedWithAuxiliaryBrowsingContexts",
|
23986
24027
|
"MaxNumOfRunningEagerPrerendersExceeded",
|
23987
24028
|
"MaxNumOfRunningNonEagerPrerendersExceeded",
|
23988
|
-
"MaxNumOfRunningEmbedderPrerendersExceeded"
|
24029
|
+
"MaxNumOfRunningEmbedderPrerendersExceeded",
|
24030
|
+
"PrerenderingUrlHasEffectiveUrl",
|
24031
|
+
"RedirectedPrerenderingUrlHasEffectiveUrl",
|
24032
|
+
"ActivationUrlHasEffectiveUrl"
|
23989
24033
|
]
|
23990
24034
|
},
|
23991
24035
|
{
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -874,6 +874,24 @@ experimental domain Audits
|
|
874
874
|
# Contains additional info when the failure was due to a request.
|
875
875
|
optional FailedRequestInfo failedRequestInfo
|
876
876
|
|
877
|
+
type PropertyRuleIssueReason extends string
|
878
|
+
enum
|
879
|
+
InvalidSyntax
|
880
|
+
InvalidInitialValue
|
881
|
+
InvalidInherits
|
882
|
+
InvalidName
|
883
|
+
|
884
|
+
# This issue warns about errors in property rules that lead to property
|
885
|
+
# registrations being ignored.
|
886
|
+
type PropertyRuleIssueDetails extends object
|
887
|
+
properties
|
888
|
+
# Source code position of the property rule.
|
889
|
+
SourceCodeLocation sourceCodeLocation
|
890
|
+
# Reason why the property rule was discarded.
|
891
|
+
PropertyRuleIssueReason propertyRuleIssueReason
|
892
|
+
# The value of the property rule property that failed to parse
|
893
|
+
optional string propertyValue
|
894
|
+
|
877
895
|
# A unique identifier for the type of issue. Each type may use one of the
|
878
896
|
# optional fields in InspectorIssueDetails to convey more specific
|
879
897
|
# information about the kind of issue.
|
@@ -898,6 +916,7 @@ experimental domain Audits
|
|
898
916
|
BounceTrackingIssue
|
899
917
|
StylesheetLoadingIssue
|
900
918
|
FederatedAuthUserInfoRequestIssue
|
919
|
+
PropertyRuleIssue
|
901
920
|
|
902
921
|
# This struct holds a list of optional fields with additional information
|
903
922
|
# specific to the kind of issue. When adding a new issue code, please also
|
@@ -921,6 +940,7 @@ experimental domain Audits
|
|
921
940
|
optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
|
922
941
|
optional BounceTrackingIssueDetails bounceTrackingIssueDetails
|
923
942
|
optional StylesheetLoadingIssueDetails stylesheetLoadingIssueDetails
|
943
|
+
optional PropertyRuleIssueDetails propertyRuleIssueDetails
|
924
944
|
optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
|
925
945
|
|
926
946
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
@@ -9337,6 +9357,8 @@ experimental domain Storage
|
|
9337
9357
|
loaded
|
9338
9358
|
bid
|
9339
9359
|
win
|
9360
|
+
additionalBid
|
9361
|
+
additionalBidWin
|
9340
9362
|
|
9341
9363
|
# Ad advertising element inside an interest group.
|
9342
9364
|
type InterestGroupAd extends object
|
@@ -11324,7 +11346,7 @@ experimental domain Preload
|
|
11324
11346
|
TriggerBackgrounded
|
11325
11347
|
MemoryLimitExceeded
|
11326
11348
|
DataSaverEnabled
|
11327
|
-
|
11349
|
+
TriggerUrlHasEffectiveUrl
|
11328
11350
|
ActivatedBeforeStarted
|
11329
11351
|
InactivePageRestriction
|
11330
11352
|
StartFailed
|
@@ -11359,6 +11381,9 @@ experimental domain Preload
|
|
11359
11381
|
MaxNumOfRunningEagerPrerendersExceeded
|
11360
11382
|
MaxNumOfRunningNonEagerPrerendersExceeded
|
11361
11383
|
MaxNumOfRunningEmbedderPrerendersExceeded
|
11384
|
+
PrerenderingUrlHasEffectiveUrl
|
11385
|
+
RedirectedPrerenderingUrlHasEffectiveUrl
|
11386
|
+
ActivationUrlHasEffectiveUrl
|
11362
11387
|
|
11363
11388
|
# Fired when a prerender attempt is completed.
|
11364
11389
|
event prerenderAttemptCompleted
|
package/types/protocol.d.ts
CHANGED
@@ -3582,12 +3582,33 @@ export namespace Protocol {
|
|
3582
3582
|
failedRequestInfo?: FailedRequestInfo;
|
3583
3583
|
}
|
3584
3584
|
|
3585
|
+
export type PropertyRuleIssueReason = ('InvalidSyntax' | 'InvalidInitialValue' | 'InvalidInherits' | 'InvalidName');
|
3586
|
+
|
3587
|
+
/**
|
3588
|
+
* This issue warns about errors in property rules that lead to property
|
3589
|
+
* registrations being ignored.
|
3590
|
+
*/
|
3591
|
+
export interface PropertyRuleIssueDetails {
|
3592
|
+
/**
|
3593
|
+
* Source code position of the property rule.
|
3594
|
+
*/
|
3595
|
+
sourceCodeLocation: SourceCodeLocation;
|
3596
|
+
/**
|
3597
|
+
* Reason why the property rule was discarded.
|
3598
|
+
*/
|
3599
|
+
propertyRuleIssueReason: PropertyRuleIssueReason;
|
3600
|
+
/**
|
3601
|
+
* The value of the property rule property that failed to parse
|
3602
|
+
*/
|
3603
|
+
propertyValue?: string;
|
3604
|
+
}
|
3605
|
+
|
3585
3606
|
/**
|
3586
3607
|
* A unique identifier for the type of issue. Each type may use one of the
|
3587
3608
|
* optional fields in InspectorIssueDetails to convey more specific
|
3588
3609
|
* information about the kind of issue.
|
3589
3610
|
*/
|
3590
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue');
|
3611
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue');
|
3591
3612
|
|
3592
3613
|
/**
|
3593
3614
|
* This struct holds a list of optional fields with additional information
|
@@ -3612,6 +3633,7 @@ export namespace Protocol {
|
|
3612
3633
|
federatedAuthRequestIssueDetails?: FederatedAuthRequestIssueDetails;
|
3613
3634
|
bounceTrackingIssueDetails?: BounceTrackingIssueDetails;
|
3614
3635
|
stylesheetLoadingIssueDetails?: StylesheetLoadingIssueDetails;
|
3636
|
+
propertyRuleIssueDetails?: PropertyRuleIssueDetails;
|
3615
3637
|
federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
|
3616
3638
|
}
|
3617
3639
|
|
@@ -15015,7 +15037,7 @@ export namespace Protocol {
|
|
15015
15037
|
/**
|
15016
15038
|
* Enum of interest group access types.
|
15017
15039
|
*/
|
15018
|
-
export type InterestGroupAccessType = ('join' | 'leave' | 'update' | 'loaded' | 'bid' | 'win');
|
15040
|
+
export type InterestGroupAccessType = ('join' | 'leave' | 'update' | 'loaded' | 'bid' | 'win' | 'additionalBid' | 'additionalBidWin');
|
15019
15041
|
|
15020
15042
|
/**
|
15021
15043
|
* Ad advertising element inside an interest group.
|
@@ -17519,7 +17541,7 @@ export namespace Protocol {
|
|
17519
17541
|
/**
|
17520
17542
|
* List of FinalStatus reasons for Prerender2.
|
17521
17543
|
*/
|
17522
|
-
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | 'MojoBinderPolicy' | 'RendererProcessCrashed' | 'RendererProcessKilled' | 'Download' | 'TriggerDestroyed' | 'NavigationNotCommitted' | 'NavigationBadHttpStatus' | 'ClientCertRequested' | 'NavigationRequestNetworkError' | 'CancelAllHostsForTesting' | 'DidFailLoad' | 'Stop' | 'SslCertificateError' | 'LoginAuthRequested' | 'UaChangeRequiresReload' | 'BlockedByClient' | 'AudioOutputDeviceRequested' | 'MixedContent' | 'TriggerBackgrounded' | 'MemoryLimitExceeded' | 'DataSaverEnabled' | '
|
17544
|
+
export type PrerenderFinalStatus = ('Activated' | 'Destroyed' | 'LowEndDevice' | 'InvalidSchemeRedirect' | 'InvalidSchemeNavigation' | 'InProgressNavigation' | 'NavigationRequestBlockedByCsp' | 'MainFrameNavigation' | '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' | 'ResourceLoadBlockedByClient' | 'SpeculationRuleRemoved' | 'ActivatedWithAuxiliaryBrowsingContexts' | 'MaxNumOfRunningEagerPrerendersExceeded' | 'MaxNumOfRunningNonEagerPrerendersExceeded' | 'MaxNumOfRunningEmbedderPrerendersExceeded' | 'PrerenderingUrlHasEffectiveUrl' | 'RedirectedPrerenderingUrlHasEffectiveUrl' | 'ActivationUrlHasEffectiveUrl');
|
17523
17545
|
|
17524
17546
|
/**
|
17525
17547
|
* Preloading status values, see also PreloadingTriggeringOutcome. This
|