devtools-protocol 0.0.1419694 → 0.0.1421213
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 +50 -2
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +33 -0
- package/types/protocol.d.ts +12 -3
@@ -1335,6 +1335,7 @@
|
|
1335
1335
|
"kInlineViolation",
|
1336
1336
|
"kEvalViolation",
|
1337
1337
|
"kURLViolation",
|
1338
|
+
"kSRIViolation",
|
1338
1339
|
"kTrustedTypesSinkViolation",
|
1339
1340
|
"kTrustedTypesPolicyViolation",
|
1340
1341
|
"kWasmEvalViolation"
|
@@ -1559,6 +1560,32 @@
|
|
1559
1560
|
"WriteErrorUnsupportedType"
|
1560
1561
|
]
|
1561
1562
|
},
|
1563
|
+
{
|
1564
|
+
"id": "SRIMessageSignatureError",
|
1565
|
+
"type": "string",
|
1566
|
+
"enum": [
|
1567
|
+
"MissingSignatureHeader",
|
1568
|
+
"MissingSignatureInputHeader",
|
1569
|
+
"InvalidSignatureHeader",
|
1570
|
+
"InvalidSignatureInputHeader",
|
1571
|
+
"SignatureHeaderValueIsNotByteSequence",
|
1572
|
+
"SignatureHeaderValueIsParameterized",
|
1573
|
+
"SignatureHeaderValueIsIncorrectLength",
|
1574
|
+
"SignatureInputHeaderMissingLabel",
|
1575
|
+
"SignatureInputHeaderValueNotInnerList",
|
1576
|
+
"SignatureInputHeaderValueMissingComponents",
|
1577
|
+
"SignatureInputHeaderInvalidComponentType",
|
1578
|
+
"SignatureInputHeaderInvalidComponentName",
|
1579
|
+
"SignatureInputHeaderInvalidHeaderComponentParameter",
|
1580
|
+
"SignatureInputHeaderInvalidDerivedComponentParameter",
|
1581
|
+
"SignatureInputHeaderKeyIdLength",
|
1582
|
+
"SignatureInputHeaderInvalidParameter",
|
1583
|
+
"SignatureInputHeaderMissingRequiredParameters",
|
1584
|
+
"ValidationFailedSignatureExpired",
|
1585
|
+
"ValidationFailedInvalidLength",
|
1586
|
+
"ValidationFailedSignatureMismatch"
|
1587
|
+
]
|
1588
|
+
},
|
1562
1589
|
{
|
1563
1590
|
"id": "AttributionReportingIssueDetails",
|
1564
1591
|
"description": "Details for issues around \"Attribution Reporting API\" usage.\nExplainer: https://github.com/WICG/attribution-reporting-api",
|
@@ -1643,6 +1670,20 @@
|
|
1643
1670
|
}
|
1644
1671
|
]
|
1645
1672
|
},
|
1673
|
+
{
|
1674
|
+
"id": "SRIMessageSignatureIssueDetails",
|
1675
|
+
"type": "object",
|
1676
|
+
"properties": [
|
1677
|
+
{
|
1678
|
+
"name": "error",
|
1679
|
+
"$ref": "SRIMessageSignatureError"
|
1680
|
+
},
|
1681
|
+
{
|
1682
|
+
"name": "request",
|
1683
|
+
"$ref": "AffectedRequest"
|
1684
|
+
}
|
1685
|
+
]
|
1686
|
+
},
|
1646
1687
|
{
|
1647
1688
|
"id": "GenericIssueErrorType",
|
1648
1689
|
"type": "string",
|
@@ -2032,7 +2073,8 @@
|
|
2032
2073
|
"FederatedAuthUserInfoRequestIssue",
|
2033
2074
|
"PropertyRuleIssue",
|
2034
2075
|
"SharedDictionaryIssue",
|
2035
|
-
"SelectElementAccessibilityIssue"
|
2076
|
+
"SelectElementAccessibilityIssue",
|
2077
|
+
"SRIMessageSignatureIssue"
|
2036
2078
|
]
|
2037
2079
|
},
|
2038
2080
|
{
|
@@ -2155,6 +2197,11 @@
|
|
2155
2197
|
"name": "selectElementAccessibilityIssueDetails",
|
2156
2198
|
"optional": true,
|
2157
2199
|
"$ref": "SelectElementAccessibilityIssueDetails"
|
2200
|
+
},
|
2201
|
+
{
|
2202
|
+
"name": "sriMessageSignatureIssueDetails",
|
2203
|
+
"optional": true,
|
2204
|
+
"$ref": "SRIMessageSignatureIssueDetails"
|
2158
2205
|
}
|
2159
2206
|
]
|
2160
2207
|
},
|
@@ -7158,7 +7205,8 @@
|
|
7158
7205
|
"description": "Type of relation to get.",
|
7159
7206
|
"type": "string",
|
7160
7207
|
"enum": [
|
7161
|
-
"PopoverTarget"
|
7208
|
+
"PopoverTarget",
|
7209
|
+
"InterestTarget"
|
7162
7210
|
]
|
7163
7211
|
}
|
7164
7212
|
],
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -691,6 +691,7 @@ experimental domain Audits
|
|
691
691
|
kInlineViolation
|
692
692
|
kEvalViolation
|
693
693
|
kURLViolation
|
694
|
+
kSRIViolation
|
694
695
|
kTrustedTypesSinkViolation
|
695
696
|
kTrustedTypesPolicyViolation
|
696
697
|
kWasmEvalViolation
|
@@ -800,6 +801,29 @@ experimental domain Audits
|
|
800
801
|
WriteErrorTooLongIdField
|
801
802
|
WriteErrorUnsupportedType
|
802
803
|
|
804
|
+
type SRIMessageSignatureError extends string
|
805
|
+
enum
|
806
|
+
MissingSignatureHeader
|
807
|
+
MissingSignatureInputHeader
|
808
|
+
InvalidSignatureHeader
|
809
|
+
InvalidSignatureInputHeader
|
810
|
+
SignatureHeaderValueIsNotByteSequence
|
811
|
+
SignatureHeaderValueIsParameterized
|
812
|
+
SignatureHeaderValueIsIncorrectLength
|
813
|
+
SignatureInputHeaderMissingLabel
|
814
|
+
SignatureInputHeaderValueNotInnerList
|
815
|
+
SignatureInputHeaderValueMissingComponents
|
816
|
+
SignatureInputHeaderInvalidComponentType
|
817
|
+
SignatureInputHeaderInvalidComponentName
|
818
|
+
SignatureInputHeaderInvalidHeaderComponentParameter
|
819
|
+
SignatureInputHeaderInvalidDerivedComponentParameter
|
820
|
+
SignatureInputHeaderKeyIdLength
|
821
|
+
SignatureInputHeaderInvalidParameter
|
822
|
+
SignatureInputHeaderMissingRequiredParameters
|
823
|
+
ValidationFailedSignatureExpired
|
824
|
+
ValidationFailedInvalidLength
|
825
|
+
ValidationFailedSignatureMismatch
|
826
|
+
|
803
827
|
# Details for issues around "Attribution Reporting API" usage.
|
804
828
|
# Explainer: https://github.com/WICG/attribution-reporting-api
|
805
829
|
type AttributionReportingIssueDetails extends object
|
@@ -831,6 +855,11 @@ experimental domain Audits
|
|
831
855
|
SharedDictionaryError sharedDictionaryError
|
832
856
|
AffectedRequest request
|
833
857
|
|
858
|
+
type SRIMessageSignatureIssueDetails extends object
|
859
|
+
properties
|
860
|
+
SRIMessageSignatureError error
|
861
|
+
AffectedRequest request
|
862
|
+
|
834
863
|
type GenericIssueErrorType extends string
|
835
864
|
enum
|
836
865
|
FormLabelForNameError
|
@@ -1075,6 +1104,7 @@ experimental domain Audits
|
|
1075
1104
|
PropertyRuleIssue
|
1076
1105
|
SharedDictionaryIssue
|
1077
1106
|
SelectElementAccessibilityIssue
|
1107
|
+
SRIMessageSignatureIssue
|
1078
1108
|
|
1079
1109
|
# This struct holds a list of optional fields with additional information
|
1080
1110
|
# specific to the kind of issue. When adding a new issue code, please also
|
@@ -1104,6 +1134,7 @@ experimental domain Audits
|
|
1104
1134
|
optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
|
1105
1135
|
optional SharedDictionaryIssueDetails sharedDictionaryIssueDetails
|
1106
1136
|
optional SelectElementAccessibilityIssueDetails selectElementAccessibilityIssueDetails
|
1137
|
+
optional SRIMessageSignatureIssueDetails sriMessageSignatureIssueDetails
|
1107
1138
|
|
1108
1139
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
1109
1140
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
@@ -3388,6 +3419,8 @@ domain DOM
|
|
3388
3419
|
# Get the popover target for a given element. In this case, this given
|
3389
3420
|
# element can only be an HTMLFormControlElement (<input>, <button>).
|
3390
3421
|
PopoverTarget
|
3422
|
+
# Get the interest target for a given element.
|
3423
|
+
InterestTarget
|
3391
3424
|
returns
|
3392
3425
|
# NodeId of the element matching the queried relation.
|
3393
3426
|
NodeId nodeId
|
package/types/protocol.d.ts
CHANGED
@@ -3475,7 +3475,7 @@ export namespace Protocol {
|
|
3475
3475
|
frame: AffectedFrame;
|
3476
3476
|
}
|
3477
3477
|
|
3478
|
-
export type ContentSecurityPolicyViolationType = ('kInlineViolation' | 'kEvalViolation' | 'kURLViolation' | 'kTrustedTypesSinkViolation' | 'kTrustedTypesPolicyViolation' | 'kWasmEvalViolation');
|
3478
|
+
export type ContentSecurityPolicyViolationType = ('kInlineViolation' | 'kEvalViolation' | 'kURLViolation' | 'kSRIViolation' | 'kTrustedTypesSinkViolation' | 'kTrustedTypesPolicyViolation' | 'kWasmEvalViolation');
|
3479
3479
|
|
3480
3480
|
export interface SourceCodeLocation {
|
3481
3481
|
scriptId?: Runtime.ScriptId;
|
@@ -3540,6 +3540,8 @@ export namespace Protocol {
|
|
3540
3540
|
|
3541
3541
|
export type SharedDictionaryError = ('UseErrorCrossOriginNoCorsRequest' | 'UseErrorDictionaryLoadFailure' | 'UseErrorMatchingDictionaryNotUsed' | 'UseErrorUnexpectedContentDictionaryHeader' | 'WriteErrorCossOriginNoCorsRequest' | 'WriteErrorDisallowedBySettings' | 'WriteErrorExpiredResponse' | 'WriteErrorFeatureDisabled' | 'WriteErrorInsufficientResources' | 'WriteErrorInvalidMatchField' | 'WriteErrorInvalidStructuredHeader' | 'WriteErrorNavigationRequest' | 'WriteErrorNoMatchField' | 'WriteErrorNonListMatchDestField' | 'WriteErrorNonSecureContext' | 'WriteErrorNonStringIdField' | 'WriteErrorNonStringInMatchDestList' | 'WriteErrorNonStringMatchField' | 'WriteErrorNonTokenTypeField' | 'WriteErrorRequestAborted' | 'WriteErrorShuttingDown' | 'WriteErrorTooLongIdField' | 'WriteErrorUnsupportedType');
|
3542
3542
|
|
3543
|
+
export type SRIMessageSignatureError = ('MissingSignatureHeader' | 'MissingSignatureInputHeader' | 'InvalidSignatureHeader' | 'InvalidSignatureInputHeader' | 'SignatureHeaderValueIsNotByteSequence' | 'SignatureHeaderValueIsParameterized' | 'SignatureHeaderValueIsIncorrectLength' | 'SignatureInputHeaderMissingLabel' | 'SignatureInputHeaderValueNotInnerList' | 'SignatureInputHeaderValueMissingComponents' | 'SignatureInputHeaderInvalidComponentType' | 'SignatureInputHeaderInvalidComponentName' | 'SignatureInputHeaderInvalidHeaderComponentParameter' | 'SignatureInputHeaderInvalidDerivedComponentParameter' | 'SignatureInputHeaderKeyIdLength' | 'SignatureInputHeaderInvalidParameter' | 'SignatureInputHeaderMissingRequiredParameters' | 'ValidationFailedSignatureExpired' | 'ValidationFailedInvalidLength' | 'ValidationFailedSignatureMismatch');
|
3544
|
+
|
3543
3545
|
/**
|
3544
3546
|
* Details for issues around "Attribution Reporting API" usage.
|
3545
3547
|
* Explainer: https://github.com/WICG/attribution-reporting-api
|
@@ -3577,6 +3579,11 @@ export namespace Protocol {
|
|
3577
3579
|
request: AffectedRequest;
|
3578
3580
|
}
|
3579
3581
|
|
3582
|
+
export interface SRIMessageSignatureIssueDetails {
|
3583
|
+
error: SRIMessageSignatureError;
|
3584
|
+
request: AffectedRequest;
|
3585
|
+
}
|
3586
|
+
|
3580
3587
|
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB');
|
3581
3588
|
|
3582
3589
|
/**
|
@@ -3747,7 +3754,7 @@ export namespace Protocol {
|
|
3747
3754
|
* optional fields in InspectorIssueDetails to convey more specific
|
3748
3755
|
* information about the kind of issue.
|
3749
3756
|
*/
|
3750
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'SelectElementAccessibilityIssue');
|
3757
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'SelectElementAccessibilityIssue' | 'SRIMessageSignatureIssue');
|
3751
3758
|
|
3752
3759
|
/**
|
3753
3760
|
* This struct holds a list of optional fields with additional information
|
@@ -3778,6 +3785,7 @@ export namespace Protocol {
|
|
3778
3785
|
federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
|
3779
3786
|
sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
|
3780
3787
|
selectElementAccessibilityIssueDetails?: SelectElementAccessibilityIssueDetails;
|
3788
|
+
sriMessageSignatureIssueDetails?: SRIMessageSignatureIssueDetails;
|
3781
3789
|
}
|
3782
3790
|
|
3783
3791
|
/**
|
@@ -6986,6 +6994,7 @@ export namespace Protocol {
|
|
6986
6994
|
|
6987
6995
|
export const enum GetElementByRelationRequestRelation {
|
6988
6996
|
PopoverTarget = 'PopoverTarget',
|
6997
|
+
InterestTarget = 'InterestTarget',
|
6989
6998
|
}
|
6990
6999
|
|
6991
7000
|
export interface GetElementByRelationRequest {
|
@@ -6996,7 +7005,7 @@ export namespace Protocol {
|
|
6996
7005
|
/**
|
6997
7006
|
* Type of relation to get. (GetElementByRelationRequestRelation enum)
|
6998
7007
|
*/
|
6999
|
-
relation: ('PopoverTarget');
|
7008
|
+
relation: ('PopoverTarget' | 'InterestTarget');
|
7000
7009
|
}
|
7001
7010
|
|
7002
7011
|
export interface GetElementByRelationResponse {
|