devtools-protocol 0.0.1286932 → 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.
@@ -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
|
},
|
@@ -2107,6 +2156,31 @@
|
|
2107
2156
|
}
|
2108
2157
|
]
|
2109
2158
|
},
|
2159
|
+
{
|
2160
|
+
"domain": "Extensions",
|
2161
|
+
"description": "Defines commands and events for browser extensions. Available if the client\nis connected using the --remote-debugging-pipe flag and\nthe --enable-unsafe-extension-debugging flag is set.",
|
2162
|
+
"experimental": true,
|
2163
|
+
"commands": [
|
2164
|
+
{
|
2165
|
+
"name": "loadUnpacked",
|
2166
|
+
"description": "Installs an unpacked extension from the filesystem similar to\n--load-extension CLI flags. Returns extension ID once the extension\nhas been installed.",
|
2167
|
+
"parameters": [
|
2168
|
+
{
|
2169
|
+
"name": "path",
|
2170
|
+
"description": "Absolute file path.",
|
2171
|
+
"type": "string"
|
2172
|
+
}
|
2173
|
+
],
|
2174
|
+
"returns": [
|
2175
|
+
{
|
2176
|
+
"name": "id",
|
2177
|
+
"description": "Extension id.",
|
2178
|
+
"type": "string"
|
2179
|
+
}
|
2180
|
+
]
|
2181
|
+
}
|
2182
|
+
]
|
2183
|
+
},
|
2110
2184
|
{
|
2111
2185
|
"domain": "Autofill",
|
2112
2186
|
"description": "Defines commands and events for Autofill.",
|
@@ -18331,7 +18405,7 @@
|
|
18331
18405
|
},
|
18332
18406
|
{
|
18333
18407
|
"name": "getAppManifest",
|
18334
|
-
"description": "Gets the processed manifest for this current document.\n This API always waits for the manifest to be loaded.\n If manifestId is provided, and it does not match the manifest of the\n current document, this API errors out.\n If there
|
18408
|
+
"description": "Gets the processed manifest for this current document.\n This API always waits for the manifest to be loaded.\n If manifestId is provided, and it does not match the manifest of the\n current document, this API errors out.\n If there is not a loaded page, this API errors out immediately.",
|
18335
18409
|
"parameters": [
|
18336
18410
|
{
|
18337
18411
|
"name": "manifestId",
|
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.
|
@@ -1059,6 +1092,21 @@ experimental domain Audits
|
|
1059
1092
|
parameters
|
1060
1093
|
InspectorIssue issue
|
1061
1094
|
|
1095
|
+
# Defines commands and events for browser extensions. Available if the client
|
1096
|
+
# is connected using the --remote-debugging-pipe flag and
|
1097
|
+
# the --enable-unsafe-extension-debugging flag is set.
|
1098
|
+
experimental domain Extensions
|
1099
|
+
# Installs an unpacked extension from the filesystem similar to
|
1100
|
+
# --load-extension CLI flags. Returns extension ID once the extension
|
1101
|
+
# has been installed.
|
1102
|
+
command loadUnpacked
|
1103
|
+
parameters
|
1104
|
+
# Absolute file path.
|
1105
|
+
string path
|
1106
|
+
returns
|
1107
|
+
# Extension id.
|
1108
|
+
string id
|
1109
|
+
|
1062
1110
|
# Defines commands and events for Autofill.
|
1063
1111
|
experimental domain Autofill
|
1064
1112
|
type CreditCard extends object
|
@@ -8440,7 +8488,7 @@ domain Page
|
|
8440
8488
|
# This API always waits for the manifest to be loaded.
|
8441
8489
|
# If manifestId is provided, and it does not match the manifest of the
|
8442
8490
|
# current document, this API errors out.
|
8443
|
-
# If there
|
8491
|
+
# If there is not a loaded page, this API errors out immediately.
|
8444
8492
|
command getAppManifest
|
8445
8493
|
parameters
|
8446
8494
|
optional string manifestId
|
@@ -1502,6 +1502,15 @@ export namespace ProtocolMapping {
|
|
1502
1502
|
paramsType: [];
|
1503
1503
|
returnType: Protocol.Audits.CheckFormsIssuesResponse;
|
1504
1504
|
};
|
1505
|
+
/**
|
1506
|
+
* Installs an unpacked extension from the filesystem similar to
|
1507
|
+
* --load-extension CLI flags. Returns extension ID once the extension
|
1508
|
+
* has been installed.
|
1509
|
+
*/
|
1510
|
+
'Extensions.loadUnpacked': {
|
1511
|
+
paramsType: [Protocol.Extensions.LoadUnpackedRequest];
|
1512
|
+
returnType: Protocol.Extensions.LoadUnpackedResponse;
|
1513
|
+
};
|
1505
1514
|
/**
|
1506
1515
|
* Trigger autofill on a form identified by the fieldId.
|
1507
1516
|
* If the field and related form cannot be autofilled, returns an error.
|
@@ -3716,7 +3725,7 @@ export namespace ProtocolMapping {
|
|
3716
3725
|
* This API always waits for the manifest to be loaded.
|
3717
3726
|
* If manifestId is provided, and it does not match the manifest of the
|
3718
3727
|
* current document, this API errors out.
|
3719
|
-
* If there
|
3728
|
+
* If there is not a loaded page, this API errors out immediately.
|
3720
3729
|
*/
|
3721
3730
|
'Page.getAppManifest': {
|
3722
3731
|
paramsType: [Protocol.Page.GetAppManifestRequest?];
|
@@ -28,6 +28,8 @@ export namespace ProtocolProxyApi {
|
|
28
28
|
|
29
29
|
Audits: AuditsApi;
|
30
30
|
|
31
|
+
Extensions: ExtensionsApi;
|
32
|
+
|
31
33
|
Autofill: AutofillApi;
|
32
34
|
|
33
35
|
BackgroundService: BackgroundServiceApi;
|
@@ -805,6 +807,16 @@ export namespace ProtocolProxyApi {
|
|
805
807
|
|
806
808
|
}
|
807
809
|
|
810
|
+
export interface ExtensionsApi {
|
811
|
+
/**
|
812
|
+
* Installs an unpacked extension from the filesystem similar to
|
813
|
+
* --load-extension CLI flags. Returns extension ID once the extension
|
814
|
+
* has been installed.
|
815
|
+
*/
|
816
|
+
loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<Protocol.Extensions.LoadUnpackedResponse>;
|
817
|
+
|
818
|
+
}
|
819
|
+
|
808
820
|
export interface AutofillApi {
|
809
821
|
/**
|
810
822
|
* Trigger autofill on a form identified by the fieldId.
|
@@ -2845,7 +2857,7 @@ export namespace ProtocolProxyApi {
|
|
2845
2857
|
* This API always waits for the manifest to be loaded.
|
2846
2858
|
* If manifestId is provided, and it does not match the manifest of the
|
2847
2859
|
* current document, this API errors out.
|
2848
|
-
* If there
|
2860
|
+
* If there is not a loaded page, this API errors out immediately.
|
2849
2861
|
*/
|
2850
2862
|
getAppManifest(params: Protocol.Page.GetAppManifestRequest): Promise<Protocol.Page.GetAppManifestResponse>;
|
2851
2863
|
|
@@ -28,6 +28,8 @@ export namespace ProtocolTestsProxyApi {
|
|
28
28
|
|
29
29
|
Audits: AuditsApi;
|
30
30
|
|
31
|
+
Extensions: ExtensionsApi;
|
32
|
+
|
31
33
|
Autofill: AutofillApi;
|
32
34
|
|
33
35
|
BackgroundService: BackgroundServiceApi;
|
@@ -863,6 +865,16 @@ export namespace ProtocolTestsProxyApi {
|
|
863
865
|
|
864
866
|
}
|
865
867
|
|
868
|
+
export interface ExtensionsApi {
|
869
|
+
/**
|
870
|
+
* Installs an unpacked extension from the filesystem similar to
|
871
|
+
* --load-extension CLI flags. Returns extension ID once the extension
|
872
|
+
* has been installed.
|
873
|
+
*/
|
874
|
+
loadUnpacked(params: Protocol.Extensions.LoadUnpackedRequest): Promise<{id: number, result: Protocol.Extensions.LoadUnpackedResponse, sessionId: string}>;
|
875
|
+
|
876
|
+
}
|
877
|
+
|
866
878
|
export interface AutofillApi {
|
867
879
|
/**
|
868
880
|
* Trigger autofill on a form identified by the fieldId.
|
@@ -3053,7 +3065,7 @@ export namespace ProtocolTestsProxyApi {
|
|
3053
3065
|
* This API always waits for the manifest to be loaded.
|
3054
3066
|
* If manifestId is provided, and it does not match the manifest of the
|
3055
3067
|
* current document, this API errors out.
|
3056
|
-
* If there
|
3068
|
+
* If there is not a loaded page, this API errors out immediately.
|
3057
3069
|
*/
|
3058
3070
|
getAppManifest(params: Protocol.Page.GetAppManifestRequest): Promise<{id: number, result: Protocol.Page.GetAppManifestResponse, sessionId: string}>;
|
3059
3071
|
|
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
|
/**
|
@@ -3754,6 +3762,28 @@ export namespace Protocol {
|
|
3754
3762
|
}
|
3755
3763
|
}
|
3756
3764
|
|
3765
|
+
/**
|
3766
|
+
* Defines commands and events for browser extensions. Available if the client
|
3767
|
+
* is connected using the --remote-debugging-pipe flag and
|
3768
|
+
* the --enable-unsafe-extension-debugging flag is set.
|
3769
|
+
*/
|
3770
|
+
export namespace Extensions {
|
3771
|
+
|
3772
|
+
export interface LoadUnpackedRequest {
|
3773
|
+
/**
|
3774
|
+
* Absolute file path.
|
3775
|
+
*/
|
3776
|
+
path: string;
|
3777
|
+
}
|
3778
|
+
|
3779
|
+
export interface LoadUnpackedResponse {
|
3780
|
+
/**
|
3781
|
+
* Extension id.
|
3782
|
+
*/
|
3783
|
+
id: string;
|
3784
|
+
}
|
3785
|
+
}
|
3786
|
+
|
3757
3787
|
/**
|
3758
3788
|
* Defines commands and events for Autofill.
|
3759
3789
|
*/
|