devtools-protocol 0.0.1139346 → 0.0.1139932
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 +0 -47
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +0 -21
- package/types/protocol.d.ts +1 -23
@@ -1330,47 +1330,6 @@
|
|
1330
1330
|
}
|
1331
1331
|
]
|
1332
1332
|
},
|
1333
|
-
{
|
1334
|
-
"id": "TwaQualityEnforcementViolationType",
|
1335
|
-
"type": "string",
|
1336
|
-
"enum": [
|
1337
|
-
"kHttpError",
|
1338
|
-
"kUnavailableOffline",
|
1339
|
-
"kDigitalAssetLinks"
|
1340
|
-
]
|
1341
|
-
},
|
1342
|
-
{
|
1343
|
-
"id": "TrustedWebActivityIssueDetails",
|
1344
|
-
"type": "object",
|
1345
|
-
"properties": [
|
1346
|
-
{
|
1347
|
-
"name": "url",
|
1348
|
-
"description": "The url that triggers the violation.",
|
1349
|
-
"type": "string"
|
1350
|
-
},
|
1351
|
-
{
|
1352
|
-
"name": "violationType",
|
1353
|
-
"$ref": "TwaQualityEnforcementViolationType"
|
1354
|
-
},
|
1355
|
-
{
|
1356
|
-
"name": "httpStatusCode",
|
1357
|
-
"optional": true,
|
1358
|
-
"type": "integer"
|
1359
|
-
},
|
1360
|
-
{
|
1361
|
-
"name": "packageName",
|
1362
|
-
"description": "The package name of the Trusted Web Activity client app. This field is\nonly used when violation type is kDigitalAssetLinks.",
|
1363
|
-
"optional": true,
|
1364
|
-
"type": "string"
|
1365
|
-
},
|
1366
|
-
{
|
1367
|
-
"name": "signature",
|
1368
|
-
"description": "The signature of the Trusted Web Activity client app. This field is only\nused when violation type is kDigitalAssetLinks.",
|
1369
|
-
"optional": true,
|
1370
|
-
"type": "string"
|
1371
|
-
}
|
1372
|
-
]
|
1373
|
-
},
|
1374
1333
|
{
|
1375
1334
|
"id": "LowTextContrastIssueDetails",
|
1376
1335
|
"type": "object",
|
@@ -1696,7 +1655,6 @@
|
|
1696
1655
|
"HeavyAdIssue",
|
1697
1656
|
"ContentSecurityPolicyIssue",
|
1698
1657
|
"SharedArrayBufferIssue",
|
1699
|
-
"TrustedWebActivityIssue",
|
1700
1658
|
"LowTextContrastIssue",
|
1701
1659
|
"CorsIssue",
|
1702
1660
|
"AttributionReportingIssue",
|
@@ -1744,11 +1702,6 @@
|
|
1744
1702
|
"optional": true,
|
1745
1703
|
"$ref": "SharedArrayBufferIssueDetails"
|
1746
1704
|
},
|
1747
|
-
{
|
1748
|
-
"name": "twaQualityEnforcementDetails",
|
1749
|
-
"optional": true,
|
1750
|
-
"$ref": "TrustedWebActivityIssueDetails"
|
1751
|
-
},
|
1752
1705
|
{
|
1753
1706
|
"name": "lowTextContrastIssueDetails",
|
1754
1707
|
"optional": true,
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -658,25 +658,6 @@ experimental domain Audits
|
|
658
658
|
boolean isWarning
|
659
659
|
SharedArrayBufferIssueType type
|
660
660
|
|
661
|
-
type TwaQualityEnforcementViolationType extends string
|
662
|
-
enum
|
663
|
-
kHttpError
|
664
|
-
kUnavailableOffline
|
665
|
-
kDigitalAssetLinks
|
666
|
-
|
667
|
-
type TrustedWebActivityIssueDetails extends object
|
668
|
-
properties
|
669
|
-
# The url that triggers the violation.
|
670
|
-
string url
|
671
|
-
TwaQualityEnforcementViolationType violationType
|
672
|
-
optional integer httpStatusCode
|
673
|
-
# The package name of the Trusted Web Activity client app. This field is
|
674
|
-
# only used when violation type is kDigitalAssetLinks.
|
675
|
-
optional string packageName
|
676
|
-
# The signature of the Trusted Web Activity client app. This field is only
|
677
|
-
# used when violation type is kDigitalAssetLinks.
|
678
|
-
optional string signature
|
679
|
-
|
680
661
|
type LowTextContrastIssueDetails extends object
|
681
662
|
properties
|
682
663
|
DOM.BackendNodeId violatingNodeId
|
@@ -855,7 +836,6 @@ experimental domain Audits
|
|
855
836
|
HeavyAdIssue
|
856
837
|
ContentSecurityPolicyIssue
|
857
838
|
SharedArrayBufferIssue
|
858
|
-
TrustedWebActivityIssue
|
859
839
|
LowTextContrastIssue
|
860
840
|
CorsIssue
|
861
841
|
AttributionReportingIssue
|
@@ -878,7 +858,6 @@ experimental domain Audits
|
|
878
858
|
optional HeavyAdIssueDetails heavyAdIssueDetails
|
879
859
|
optional ContentSecurityPolicyIssueDetails contentSecurityPolicyIssueDetails
|
880
860
|
optional SharedArrayBufferIssueDetails sharedArrayBufferIssueDetails
|
881
|
-
optional TrustedWebActivityIssueDetails twaQualityEnforcementDetails
|
882
861
|
optional LowTextContrastIssueDetails lowTextContrastIssueDetails
|
883
862
|
optional CorsIssueDetails corsIssueDetails
|
884
863
|
optional AttributionReportingIssueDetails attributionReportingIssueDetails
|
package/types/protocol.d.ts
CHANGED
@@ -3371,27 +3371,6 @@ export namespace Protocol {
|
|
3371
3371
|
type: SharedArrayBufferIssueType;
|
3372
3372
|
}
|
3373
3373
|
|
3374
|
-
export type TwaQualityEnforcementViolationType = ('kHttpError' | 'kUnavailableOffline' | 'kDigitalAssetLinks');
|
3375
|
-
|
3376
|
-
export interface TrustedWebActivityIssueDetails {
|
3377
|
-
/**
|
3378
|
-
* The url that triggers the violation.
|
3379
|
-
*/
|
3380
|
-
url: string;
|
3381
|
-
violationType: TwaQualityEnforcementViolationType;
|
3382
|
-
httpStatusCode?: integer;
|
3383
|
-
/**
|
3384
|
-
* The package name of the Trusted Web Activity client app. This field is
|
3385
|
-
* only used when violation type is kDigitalAssetLinks.
|
3386
|
-
*/
|
3387
|
-
packageName?: string;
|
3388
|
-
/**
|
3389
|
-
* The signature of the Trusted Web Activity client app. This field is only
|
3390
|
-
* used when violation type is kDigitalAssetLinks.
|
3391
|
-
*/
|
3392
|
-
signature?: string;
|
3393
|
-
}
|
3394
|
-
|
3395
3374
|
export interface LowTextContrastIssueDetails {
|
3396
3375
|
violatingNodeId: DOM.BackendNodeId;
|
3397
3376
|
violatingNodeSelector: string;
|
@@ -3517,7 +3496,7 @@ export namespace Protocol {
|
|
3517
3496
|
* optional fields in InspectorIssueDetails to convey more specific
|
3518
3497
|
* information about the kind of issue.
|
3519
3498
|
*/
|
3520
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | '
|
3499
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue');
|
3521
3500
|
|
3522
3501
|
/**
|
3523
3502
|
* This struct holds a list of optional fields with additional information
|
@@ -3531,7 +3510,6 @@ export namespace Protocol {
|
|
3531
3510
|
heavyAdIssueDetails?: HeavyAdIssueDetails;
|
3532
3511
|
contentSecurityPolicyIssueDetails?: ContentSecurityPolicyIssueDetails;
|
3533
3512
|
sharedArrayBufferIssueDetails?: SharedArrayBufferIssueDetails;
|
3534
|
-
twaQualityEnforcementDetails?: TrustedWebActivityIssueDetails;
|
3535
3513
|
lowTextContrastIssueDetails?: LowTextContrastIssueDetails;
|
3536
3514
|
corsIssueDetails?: CorsIssueDetails;
|
3537
3515
|
attributionReportingIssueDetails?: AttributionReportingIssueDetails;
|