devtools-protocol 0.0.1129676 → 0.0.1131670
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 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +13 -0
- package/types/protocol.d.ts +17 -1
@@ -1598,6 +1598,20 @@
|
|
1598
1598
|
}
|
1599
1599
|
]
|
1600
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
|
+
},
|
1601
1615
|
{
|
1602
1616
|
"id": "ClientHintIssueReason",
|
1603
1617
|
"type": "string",
|
@@ -1686,7 +1700,8 @@
|
|
1686
1700
|
"GenericIssue",
|
1687
1701
|
"DeprecationIssue",
|
1688
1702
|
"ClientHintIssue",
|
1689
|
-
"FederatedAuthRequestIssue"
|
1703
|
+
"FederatedAuthRequestIssue",
|
1704
|
+
"BounceTrackingIssue"
|
1690
1705
|
]
|
1691
1706
|
},
|
1692
1707
|
{
|
@@ -1773,6 +1788,11 @@
|
|
1773
1788
|
"name": "federatedAuthRequestIssueDetails",
|
1774
1789
|
"optional": true,
|
1775
1790
|
"$ref": "FederatedAuthRequestIssueDetails"
|
1791
|
+
},
|
1792
|
+
{
|
1793
|
+
"name": "bounceTrackingIssueDetails",
|
1794
|
+
"optional": true,
|
1795
|
+
"$ref": "BounceTrackingIssueDetails"
|
1776
1796
|
}
|
1777
1797
|
]
|
1778
1798
|
},
|
@@ -2880,6 +2900,13 @@
|
|
2880
2900
|
"name": "endColumn",
|
2881
2901
|
"description": "Column offset of the end of the stylesheet within the resource (zero based).",
|
2882
2902
|
"type": "number"
|
2903
|
+
},
|
2904
|
+
{
|
2905
|
+
"name": "loadingFailed",
|
2906
|
+
"description": "If the style sheet was loaded from a network resource, this indicates when the resource failed to load",
|
2907
|
+
"experimental": true,
|
2908
|
+
"optional": true,
|
2909
|
+
"type": "boolean"
|
2883
2910
|
}
|
2884
2911
|
]
|
2885
2912
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -775,6 +775,15 @@ experimental domain Audits
|
|
775
775
|
# One of the deprecation names from third_party/blink/renderer/core/frame/deprecation/deprecation.json5
|
776
776
|
string type
|
777
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
|
+
|
778
787
|
type ClientHintIssueReason extends string
|
779
788
|
enum
|
780
789
|
# Items in the accept-ch meta tag allow list must be valid origins.
|
@@ -851,6 +860,7 @@ experimental domain Audits
|
|
851
860
|
DeprecationIssue
|
852
861
|
ClientHintIssue
|
853
862
|
FederatedAuthRequestIssue
|
863
|
+
BounceTrackingIssue
|
854
864
|
|
855
865
|
# This struct holds a list of optional fields with additional information
|
856
866
|
# specific to the kind of issue. When adding a new issue code, please also
|
@@ -873,6 +883,7 @@ experimental domain Audits
|
|
873
883
|
optional DeprecationIssueDetails deprecationIssueDetails
|
874
884
|
optional ClientHintIssueDetails clientHintIssueDetails
|
875
885
|
optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
|
886
|
+
optional BounceTrackingIssueDetails bounceTrackingIssueDetails
|
876
887
|
|
877
888
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
878
889
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
@@ -1401,6 +1412,8 @@ experimental domain CSS
|
|
1401
1412
|
number endLine
|
1402
1413
|
# Column offset of the end of the stylesheet within the resource (zero based).
|
1403
1414
|
number endColumn
|
1415
|
+
# If the style sheet was loaded from a network resource, this indicates when the resource failed to load
|
1416
|
+
experimental optional boolean loadingFailed
|
1404
1417
|
|
1405
1418
|
# CSS rule representation.
|
1406
1419
|
type CSSRule extends object
|
package/types/protocol.d.ts
CHANGED
@@ -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
|
/**
|
@@ -4241,6 +4253,10 @@ export namespace Protocol {
|
|
4241
4253
|
* Column offset of the end of the stylesheet within the resource (zero based).
|
4242
4254
|
*/
|
4243
4255
|
endColumn: number;
|
4256
|
+
/**
|
4257
|
+
* If the style sheet was loaded from a network resource, this indicates when the resource failed to load
|
4258
|
+
*/
|
4259
|
+
loadingFailed?: boolean;
|
4244
4260
|
}
|
4245
4261
|
|
4246
4262
|
/**
|