devtools-protocol 0.0.1129085 → 0.0.1130274
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 +21 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +11 -3
- package/types/protocol.d.ts +14 -2
@@ -1454,7 +1454,6 @@
|
|
1454
1454
|
"InvalidHeader",
|
1455
1455
|
"InvalidRegisterTriggerHeader",
|
1456
1456
|
"InvalidEligibleHeader",
|
1457
|
-
"TooManyConcurrentRequests",
|
1458
1457
|
"SourceAndTriggerHeaders",
|
1459
1458
|
"SourceIgnored",
|
1460
1459
|
"TriggerIgnored",
|
@@ -1599,6 +1598,20 @@
|
|
1599
1598
|
}
|
1600
1599
|
]
|
1601
1600
|
},
|
1601
|
+
{
|
1602
|
+
"id": "BounceTrackingIssueDetails",
|
1603
|
+
"description": "This issue warns about sites in the redirect chain of a finished navigation\nthat may be flagged as trackers and have their state cleared if they don't\nreceive a user interaction. Note that in this context 'site' means eTLD+1.\nFor example, if the URL `https://example.test:80/bounce` was in the\nredirect chain, the site reported would be `example.test`.",
|
1604
|
+
"type": "object",
|
1605
|
+
"properties": [
|
1606
|
+
{
|
1607
|
+
"name": "trackingSites",
|
1608
|
+
"type": "array",
|
1609
|
+
"items": {
|
1610
|
+
"type": "string"
|
1611
|
+
}
|
1612
|
+
}
|
1613
|
+
]
|
1614
|
+
},
|
1602
1615
|
{
|
1603
1616
|
"id": "ClientHintIssueReason",
|
1604
1617
|
"type": "string",
|
@@ -1687,7 +1700,8 @@
|
|
1687
1700
|
"GenericIssue",
|
1688
1701
|
"DeprecationIssue",
|
1689
1702
|
"ClientHintIssue",
|
1690
|
-
"FederatedAuthRequestIssue"
|
1703
|
+
"FederatedAuthRequestIssue",
|
1704
|
+
"BounceTrackingIssue"
|
1691
1705
|
]
|
1692
1706
|
},
|
1693
1707
|
{
|
@@ -1774,6 +1788,11 @@
|
|
1774
1788
|
"name": "federatedAuthRequestIssueDetails",
|
1775
1789
|
"optional": true,
|
1776
1790
|
"$ref": "FederatedAuthRequestIssueDetails"
|
1791
|
+
},
|
1792
|
+
{
|
1793
|
+
"name": "bounceTrackingIssueDetails",
|
1794
|
+
"optional": true,
|
1795
|
+
"$ref": "BounceTrackingIssueDetails"
|
1777
1796
|
}
|
1778
1797
|
]
|
1779
1798
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -708,9 +708,6 @@ experimental domain Audits
|
|
708
708
|
InvalidHeader
|
709
709
|
InvalidRegisterTriggerHeader
|
710
710
|
InvalidEligibleHeader
|
711
|
-
# TODO(crbug.com/1431942): Remove this issue once DevTools stops
|
712
|
-
# referencing it
|
713
|
-
TooManyConcurrentRequests
|
714
711
|
SourceAndTriggerHeaders
|
715
712
|
SourceIgnored
|
716
713
|
TriggerIgnored
|
@@ -778,6 +775,15 @@ experimental domain Audits
|
|
778
775
|
# One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
|
779
776
|
string type
|
780
777
|
|
778
|
+
# This issue warns about sites in the redirect chain of a finished navigation
|
779
|
+
# that may be flagged as trackers and have their state cleared if they don't
|
780
|
+
# receive a user interaction. Note that in this context 'site' means eTLD+1.
|
781
|
+
# For example, if the URL `https://example.test:80/bounce` was in the
|
782
|
+
# redirect chain, the site reported would be `example.test`.
|
783
|
+
type BounceTrackingIssueDetails extends object
|
784
|
+
properties
|
785
|
+
array of string trackingSites
|
786
|
+
|
781
787
|
type ClientHintIssueReason extends string
|
782
788
|
enum
|
783
789
|
# Items in the accept-ch meta tag allow list must be valid origins.
|
@@ -854,6 +860,7 @@ experimental domain Audits
|
|
854
860
|
DeprecationIssue
|
855
861
|
ClientHintIssue
|
856
862
|
FederatedAuthRequestIssue
|
863
|
+
BounceTrackingIssue
|
857
864
|
|
858
865
|
# This struct holds a list of optional fields with additional information
|
859
866
|
# specific to the kind of issue. When adding a new issue code, please also
|
@@ -876,6 +883,7 @@ experimental domain Audits
|
|
876
883
|
optional DeprecationIssueDetails deprecationIssueDetails
|
877
884
|
optional ClientHintIssueDetails clientHintIssueDetails
|
878
885
|
optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
|
886
|
+
optional BounceTrackingIssueDetails bounceTrackingIssueDetails
|
879
887
|
|
880
888
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
881
889
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
package/types/protocol.d.ts
CHANGED
@@ -3410,7 +3410,7 @@ export namespace Protocol {
|
|
3410
3410
|
clientSecurityState?: Network.ClientSecurityState;
|
3411
3411
|
}
|
3412
3412
|
|
3413
|
-
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader' | '
|
3413
|
+
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'InvalidEligibleHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders');
|
3414
3414
|
|
3415
3415
|
/**
|
3416
3416
|
* Details for issues around "Attribution Reporting API" usage.
|
@@ -3472,6 +3472,17 @@ export namespace Protocol {
|
|
3472
3472
|
type: string;
|
3473
3473
|
}
|
3474
3474
|
|
3475
|
+
/**
|
3476
|
+
* This issue warns about sites in the redirect chain of a finished navigation
|
3477
|
+
* that may be flagged as trackers and have their state cleared if they don't
|
3478
|
+
* receive a user interaction. Note that in this context 'site' means eTLD+1.
|
3479
|
+
* For example, if the URL `https://example.test:80/bounce` was in the
|
3480
|
+
* redirect chain, the site reported would be `example.test`.
|
3481
|
+
*/
|
3482
|
+
export interface BounceTrackingIssueDetails {
|
3483
|
+
trackingSites: string[];
|
3484
|
+
}
|
3485
|
+
|
3475
3486
|
export type ClientHintIssueReason = ('MetaTagAllowListInvalidOrigin' | 'MetaTagModifiedHTML');
|
3476
3487
|
|
3477
3488
|
export interface FederatedAuthRequestIssueDetails {
|
@@ -3500,7 +3511,7 @@ export namespace Protocol {
|
|
3500
3511
|
* optional fields in InspectorIssueDetails to convey more specific
|
3501
3512
|
* information about the kind of issue.
|
3502
3513
|
*/
|
3503
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue');
|
3514
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'TrustedWebActivityIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue');
|
3504
3515
|
|
3505
3516
|
/**
|
3506
3517
|
* This struct holds a list of optional fields with additional information
|
@@ -3524,6 +3535,7 @@ export namespace Protocol {
|
|
3524
3535
|
deprecationIssueDetails?: DeprecationIssueDetails;
|
3525
3536
|
clientHintIssueDetails?: ClientHintIssueDetails;
|
3526
3537
|
federatedAuthRequestIssueDetails?: FederatedAuthRequestIssueDetails;
|
3538
|
+
bounceTrackingIssueDetails?: BounceTrackingIssueDetails;
|
3527
3539
|
}
|
3528
3540
|
|
3529
3541
|
/**
|