devtools-protocol 0.0.1289136 → 0.0.1291694
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 -1
- package/package.json +1 -1
- package/pdl/browser_protocol.pdl +33 -0
- package/types/protocol.d.ts +9 -1
@@ -1487,6 +1487,35 @@
|
|
1487
1487
|
"NoRegisterOsTriggerHeader"
|
1488
1488
|
]
|
1489
1489
|
},
|
1490
|
+
{
|
1491
|
+
"id": "SharedDictionaryError",
|
1492
|
+
"type": "string",
|
1493
|
+
"enum": [
|
1494
|
+
"UseErrorCrossOriginNoCorsRequest",
|
1495
|
+
"UseErrorDictionaryLoadFailure",
|
1496
|
+
"UseErrorMatchingDictionaryNotUsed",
|
1497
|
+
"UseErrorUnexpectedContentDictionaryHeader",
|
1498
|
+
"WriteErrorCossOriginNoCorsRequest",
|
1499
|
+
"WriteErrorDisallowedBySettings",
|
1500
|
+
"WriteErrorExpiredResponse",
|
1501
|
+
"WriteErrorFeatureDisabled",
|
1502
|
+
"WriteErrorInsufficientResources",
|
1503
|
+
"WriteErrorInvalidMatchField",
|
1504
|
+
"WriteErrorInvalidStructuredHeader",
|
1505
|
+
"WriteErrorNavigationRequest",
|
1506
|
+
"WriteErrorNoMatchField",
|
1507
|
+
"WriteErrorNonListMatchDestField",
|
1508
|
+
"WriteErrorNonSecureContext",
|
1509
|
+
"WriteErrorNonStringIdField",
|
1510
|
+
"WriteErrorNonStringInMatchDestList",
|
1511
|
+
"WriteErrorNonStringMatchField",
|
1512
|
+
"WriteErrorNonTokenTypeField",
|
1513
|
+
"WriteErrorRequestAborted",
|
1514
|
+
"WriteErrorShuttingDown",
|
1515
|
+
"WriteErrorTooLongIdField",
|
1516
|
+
"WriteErrorUnsupportedType"
|
1517
|
+
]
|
1518
|
+
},
|
1490
1519
|
{
|
1491
1520
|
"id": "AttributionReportingIssueDetails",
|
1492
1521
|
"description": "Details for issues around \"Attribution Reporting API\" usage.\nExplainer: https://github.com/WICG/attribution-reporting-api",
|
@@ -1557,6 +1586,20 @@
|
|
1557
1586
|
}
|
1558
1587
|
]
|
1559
1588
|
},
|
1589
|
+
{
|
1590
|
+
"id": "SharedDictionaryIssueDetails",
|
1591
|
+
"type": "object",
|
1592
|
+
"properties": [
|
1593
|
+
{
|
1594
|
+
"name": "sharedDictionaryError",
|
1595
|
+
"$ref": "SharedDictionaryError"
|
1596
|
+
},
|
1597
|
+
{
|
1598
|
+
"name": "request",
|
1599
|
+
"$ref": "AffectedRequest"
|
1600
|
+
}
|
1601
|
+
]
|
1602
|
+
},
|
1560
1603
|
{
|
1561
1604
|
"id": "GenericIssueErrorType",
|
1562
1605
|
"type": "string",
|
@@ -1871,7 +1914,8 @@
|
|
1871
1914
|
"CookieDeprecationMetadataIssue",
|
1872
1915
|
"StylesheetLoadingIssue",
|
1873
1916
|
"FederatedAuthUserInfoRequestIssue",
|
1874
|
-
"PropertyRuleIssue"
|
1917
|
+
"PropertyRuleIssue",
|
1918
|
+
"SharedDictionaryIssue"
|
1875
1919
|
]
|
1876
1920
|
},
|
1877
1921
|
{
|
@@ -1979,6 +2023,11 @@
|
|
1979
2023
|
"name": "federatedAuthUserInfoRequestIssueDetails",
|
1980
2024
|
"optional": true,
|
1981
2025
|
"$ref": "FederatedAuthUserInfoRequestIssueDetails"
|
2026
|
+
},
|
2027
|
+
{
|
2028
|
+
"name": "sharedDictionaryIssueDetails",
|
2029
|
+
"optional": true,
|
2030
|
+
"$ref": "SharedDictionaryIssueDetails"
|
1982
2031
|
}
|
1983
2032
|
]
|
1984
2033
|
},
|
package/package.json
CHANGED
package/pdl/browser_protocol.pdl
CHANGED
@@ -741,6 +741,32 @@ experimental domain Audits
|
|
741
741
|
NoRegisterOsSourceHeader
|
742
742
|
NoRegisterOsTriggerHeader
|
743
743
|
|
744
|
+
type SharedDictionaryError extends string
|
745
|
+
enum
|
746
|
+
UseErrorCrossOriginNoCorsRequest
|
747
|
+
UseErrorDictionaryLoadFailure
|
748
|
+
UseErrorMatchingDictionaryNotUsed
|
749
|
+
UseErrorUnexpectedContentDictionaryHeader
|
750
|
+
WriteErrorCossOriginNoCorsRequest
|
751
|
+
WriteErrorDisallowedBySettings
|
752
|
+
WriteErrorExpiredResponse
|
753
|
+
WriteErrorFeatureDisabled
|
754
|
+
WriteErrorInsufficientResources
|
755
|
+
WriteErrorInvalidMatchField
|
756
|
+
WriteErrorInvalidStructuredHeader
|
757
|
+
WriteErrorNavigationRequest
|
758
|
+
WriteErrorNoMatchField
|
759
|
+
WriteErrorNonListMatchDestField
|
760
|
+
WriteErrorNonSecureContext
|
761
|
+
WriteErrorNonStringIdField
|
762
|
+
WriteErrorNonStringInMatchDestList
|
763
|
+
WriteErrorNonStringMatchField
|
764
|
+
WriteErrorNonTokenTypeField
|
765
|
+
WriteErrorRequestAborted
|
766
|
+
WriteErrorShuttingDown
|
767
|
+
WriteErrorTooLongIdField
|
768
|
+
WriteErrorUnsupportedType
|
769
|
+
|
744
770
|
# Details for issues around "Attribution Reporting API" usage.
|
745
771
|
# Explainer: https://github.com/WICG/attribution-reporting-api
|
746
772
|
type AttributionReportingIssueDetails extends object
|
@@ -767,6 +793,11 @@ experimental domain Audits
|
|
767
793
|
string url
|
768
794
|
optional SourceCodeLocation location
|
769
795
|
|
796
|
+
type SharedDictionaryIssueDetails extends object
|
797
|
+
properties
|
798
|
+
SharedDictionaryError sharedDictionaryError
|
799
|
+
AffectedRequest request
|
800
|
+
|
770
801
|
type GenericIssueErrorType extends string
|
771
802
|
enum
|
772
803
|
CrossOriginPortalPostMessageError
|
@@ -972,6 +1003,7 @@ experimental domain Audits
|
|
972
1003
|
StylesheetLoadingIssue
|
973
1004
|
FederatedAuthUserInfoRequestIssue
|
974
1005
|
PropertyRuleIssue
|
1006
|
+
SharedDictionaryIssue
|
975
1007
|
|
976
1008
|
# This struct holds a list of optional fields with additional information
|
977
1009
|
# specific to the kind of issue. When adding a new issue code, please also
|
@@ -998,6 +1030,7 @@ experimental domain Audits
|
|
998
1030
|
optional StylesheetLoadingIssueDetails stylesheetLoadingIssueDetails
|
999
1031
|
optional PropertyRuleIssueDetails propertyRuleIssueDetails
|
1000
1032
|
optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
|
1033
|
+
optional SharedDictionaryIssueDetails sharedDictionaryIssueDetails
|
1001
1034
|
|
1002
1035
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
1003
1036
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
package/types/protocol.d.ts
CHANGED
@@ -3474,6 +3474,8 @@ export namespace Protocol {
|
|
3474
3474
|
|
3475
3475
|
export type AttributionReportingIssueType = ('PermissionPolicyDisabled' | 'UntrustworthyReportingOrigin' | 'InsecureContext' | 'InvalidHeader' | 'InvalidRegisterTriggerHeader' | 'SourceAndTriggerHeaders' | 'SourceIgnored' | 'TriggerIgnored' | 'OsSourceIgnored' | 'OsTriggerIgnored' | 'InvalidRegisterOsSourceHeader' | 'InvalidRegisterOsTriggerHeader' | 'WebAndOsHeaders' | 'NoWebOrOsSupport' | 'NavigationRegistrationWithoutTransientUserActivation' | 'InvalidInfoHeader' | 'NoRegisterSourceHeader' | 'NoRegisterTriggerHeader' | 'NoRegisterOsSourceHeader' | 'NoRegisterOsTriggerHeader');
|
3476
3476
|
|
3477
|
+
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');
|
3478
|
+
|
3477
3479
|
/**
|
3478
3480
|
* Details for issues around "Attribution Reporting API" usage.
|
3479
3481
|
* Explainer: https://github.com/WICG/attribution-reporting-api
|
@@ -3506,6 +3508,11 @@ export namespace Protocol {
|
|
3506
3508
|
location?: SourceCodeLocation;
|
3507
3509
|
}
|
3508
3510
|
|
3511
|
+
export interface SharedDictionaryIssueDetails {
|
3512
|
+
sharedDictionaryError: SharedDictionaryError;
|
3513
|
+
request: AffectedRequest;
|
3514
|
+
}
|
3515
|
+
|
3509
3516
|
export type GenericIssueErrorType = ('CrossOriginPortalPostMessageError' | 'FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingId' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInput' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB');
|
3510
3517
|
|
3511
3518
|
/**
|
@@ -3649,7 +3656,7 @@ export namespace Protocol {
|
|
3649
3656
|
* optional fields in InspectorIssueDetails to convey more specific
|
3650
3657
|
* information about the kind of issue.
|
3651
3658
|
*/
|
3652
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue');
|
3659
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'LowTextContrastIssue' | 'CorsIssue' | 'AttributionReportingIssue' | 'QuirksModeIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue');
|
3653
3660
|
|
3654
3661
|
/**
|
3655
3662
|
* This struct holds a list of optional fields with additional information
|
@@ -3677,6 +3684,7 @@ export namespace Protocol {
|
|
3677
3684
|
stylesheetLoadingIssueDetails?: StylesheetLoadingIssueDetails;
|
3678
3685
|
propertyRuleIssueDetails?: PropertyRuleIssueDetails;
|
3679
3686
|
federatedAuthUserInfoRequestIssueDetails?: FederatedAuthUserInfoRequestIssueDetails;
|
3687
|
+
sharedDictionaryIssueDetails?: SharedDictionaryIssueDetails;
|
3680
3688
|
}
|
3681
3689
|
|
3682
3690
|
/**
|