devtools-protocol 0.0.1695952 → 0.0.1696802
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 +56 -1
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +17 -0
- package/pdl/domains/DOM.pdl +9 -0
- package/types/protocol-mapping.d.ts +8 -0
- package/types/protocol-proxy-api.d.ts +6 -0
- package/types/protocol-tests-proxy-api.d.ts +6 -0
- package/types/protocol.d.ts +27 -1
|
@@ -2405,6 +2405,33 @@
|
|
|
2405
2405
|
}
|
|
2406
2406
|
]
|
|
2407
2407
|
},
|
|
2408
|
+
{
|
|
2409
|
+
"id": "WebInstallIssueReason",
|
|
2410
|
+
"type": "string",
|
|
2411
|
+
"enum": [
|
|
2412
|
+
"ManifestParsingOrNetworkError",
|
|
2413
|
+
"StartUrlInvalid",
|
|
2414
|
+
"ManifestMissingNameOrShortName",
|
|
2415
|
+
"ManifestMissingId",
|
|
2416
|
+
"NoManifest"
|
|
2417
|
+
]
|
|
2418
|
+
},
|
|
2419
|
+
{
|
|
2420
|
+
"id": "WebInstallIssueDetails",
|
|
2421
|
+
"description": "This issue reports a failure involving a web app manifest used by a Web\nInstall operation.",
|
|
2422
|
+
"type": "object",
|
|
2423
|
+
"properties": [
|
|
2424
|
+
{
|
|
2425
|
+
"name": "manifestUrl",
|
|
2426
|
+
"optional": true,
|
|
2427
|
+
"type": "string"
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"name": "reason",
|
|
2431
|
+
"$ref": "WebInstallIssueReason"
|
|
2432
|
+
}
|
|
2433
|
+
]
|
|
2434
|
+
},
|
|
2408
2435
|
{
|
|
2409
2436
|
"id": "SelectivePermissionsInterventionIssueDetails",
|
|
2410
2437
|
"description": "The issue warns about blocked calls to privacy sensitive APIs via the\nSelective Permissions Intervention.",
|
|
@@ -2484,7 +2511,8 @@
|
|
|
2484
2511
|
"PerformanceIssue",
|
|
2485
2512
|
"SelectivePermissionsInterventionIssue",
|
|
2486
2513
|
"EmailVerificationRequestIssue",
|
|
2487
|
-
"LazyLoadImageIssue"
|
|
2514
|
+
"LazyLoadImageIssue",
|
|
2515
|
+
"WebInstallIssue"
|
|
2488
2516
|
]
|
|
2489
2517
|
},
|
|
2490
2518
|
{
|
|
@@ -2642,6 +2670,11 @@
|
|
|
2642
2670
|
"name": "lazyLoadImageIssueDetails",
|
|
2643
2671
|
"optional": true,
|
|
2644
2672
|
"$ref": "LazyLoadImageIssueDetails"
|
|
2673
|
+
},
|
|
2674
|
+
{
|
|
2675
|
+
"name": "webInstallIssueDetails",
|
|
2676
|
+
"optional": true,
|
|
2677
|
+
"$ref": "WebInstallIssueDetails"
|
|
2645
2678
|
}
|
|
2646
2679
|
]
|
|
2647
2680
|
},
|
|
@@ -8973,6 +9006,28 @@
|
|
|
8973
9006
|
}
|
|
8974
9007
|
]
|
|
8975
9008
|
},
|
|
9009
|
+
{
|
|
9010
|
+
"name": "getImplicitAnchorCandidates",
|
|
9011
|
+
"description": "Returns candidate nodes that are configured as triggers for the given popover.",
|
|
9012
|
+
"experimental": true,
|
|
9013
|
+
"parameters": [
|
|
9014
|
+
{
|
|
9015
|
+
"name": "nodeId",
|
|
9016
|
+
"description": "Id of the popover HTMLElement.",
|
|
9017
|
+
"$ref": "NodeId"
|
|
9018
|
+
}
|
|
9019
|
+
],
|
|
9020
|
+
"returns": [
|
|
9021
|
+
{
|
|
9022
|
+
"name": "backendNodeIds",
|
|
9023
|
+
"description": "Candidate elements that can invoke this popover.",
|
|
9024
|
+
"type": "array",
|
|
9025
|
+
"items": {
|
|
9026
|
+
"$ref": "BackendNodeId"
|
|
9027
|
+
}
|
|
9028
|
+
}
|
|
9029
|
+
]
|
|
9030
|
+
},
|
|
8976
9031
|
{
|
|
8977
9032
|
"name": "forceShowInterest",
|
|
8978
9033
|
"description": "When enabling, this API forces an element to gain interest in its target,\nkeeping interest active until disabled.",
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -741,6 +741,21 @@ experimental domain Audits
|
|
|
741
741
|
# Used for messages about activation disabled reason
|
|
742
742
|
optional string disableReason
|
|
743
743
|
|
|
744
|
+
type WebInstallIssueReason extends string
|
|
745
|
+
enum
|
|
746
|
+
ManifestParsingOrNetworkError
|
|
747
|
+
StartUrlInvalid
|
|
748
|
+
ManifestMissingNameOrShortName
|
|
749
|
+
ManifestMissingId
|
|
750
|
+
NoManifest
|
|
751
|
+
|
|
752
|
+
# This issue reports a failure involving a web app manifest used by a Web
|
|
753
|
+
# Install operation.
|
|
754
|
+
type WebInstallIssueDetails extends object
|
|
755
|
+
properties
|
|
756
|
+
optional string manifestUrl
|
|
757
|
+
WebInstallIssueReason reason
|
|
758
|
+
|
|
744
759
|
# The issue warns about blocked calls to privacy sensitive APIs via the
|
|
745
760
|
# Selective Permissions Intervention.
|
|
746
761
|
type SelectivePermissionsInterventionIssueDetails extends object
|
|
@@ -798,6 +813,7 @@ experimental domain Audits
|
|
|
798
813
|
SelectivePermissionsInterventionIssue
|
|
799
814
|
EmailVerificationRequestIssue
|
|
800
815
|
LazyLoadImageIssue
|
|
816
|
+
WebInstallIssue
|
|
801
817
|
|
|
802
818
|
# This struct holds a list of optional fields with additional information
|
|
803
819
|
# specific to the kind of issue. When adding a new issue code, please also
|
|
@@ -834,6 +850,7 @@ experimental domain Audits
|
|
|
834
850
|
optional SelectivePermissionsInterventionIssueDetails selectivePermissionsInterventionIssueDetails
|
|
835
851
|
optional EmailVerificationRequestIssueDetails emailVerificationRequestIssueDetails
|
|
836
852
|
optional LazyLoadImageIssueDetails lazyLoadImageIssueDetails
|
|
853
|
+
optional WebInstallIssueDetails webInstallIssueDetails
|
|
837
854
|
|
|
838
855
|
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
|
|
839
856
|
# exceptions, CDP message, console messages, etc.) to reference an issue.
|
package/pdl/domains/DOM.pdl
CHANGED
|
@@ -827,6 +827,15 @@ domain DOM
|
|
|
827
827
|
# List of popovers that were closed in order to respect popover stacking order.
|
|
828
828
|
array of NodeId nodeIds
|
|
829
829
|
|
|
830
|
+
# Returns candidate nodes that are configured as triggers for the given popover.
|
|
831
|
+
experimental command getImplicitAnchorCandidates
|
|
832
|
+
parameters
|
|
833
|
+
# Id of the popover HTMLElement.
|
|
834
|
+
NodeId nodeId
|
|
835
|
+
returns
|
|
836
|
+
# Candidate elements that can invoke this popover.
|
|
837
|
+
array of BackendNodeId backendNodeIds
|
|
838
|
+
|
|
830
839
|
# When enabling, this API forces an element to gain interest in its target,
|
|
831
840
|
# keeping interest active until disabled.
|
|
832
841
|
experimental command forceShowInterest
|
|
@@ -3045,6 +3045,14 @@ export namespace ProtocolMapping {
|
|
|
3045
3045
|
paramsType: [Protocol.DOM.ForceShowPopoverRequest];
|
|
3046
3046
|
returnType: Protocol.DOM.ForceShowPopoverResponse;
|
|
3047
3047
|
};
|
|
3048
|
+
/**
|
|
3049
|
+
* Returns candidate nodes that are configured as triggers for the given popover.
|
|
3050
|
+
* @experimental
|
|
3051
|
+
*/
|
|
3052
|
+
'DOM.getImplicitAnchorCandidates': {
|
|
3053
|
+
paramsType: [Protocol.DOM.GetImplicitAnchorCandidatesRequest];
|
|
3054
|
+
returnType: Protocol.DOM.GetImplicitAnchorCandidatesResponse;
|
|
3055
|
+
};
|
|
3048
3056
|
/**
|
|
3049
3057
|
* When enabling, this API forces an element to gain interest in its target,
|
|
3050
3058
|
* keeping interest active until disabled.
|
|
@@ -1879,6 +1879,12 @@ export namespace ProtocolProxyApi {
|
|
|
1879
1879
|
*/
|
|
1880
1880
|
forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<Protocol.DOM.ForceShowPopoverResponse>;
|
|
1881
1881
|
|
|
1882
|
+
/**
|
|
1883
|
+
* Returns candidate nodes that are configured as triggers for the given popover.
|
|
1884
|
+
* @experimental
|
|
1885
|
+
*/
|
|
1886
|
+
getImplicitAnchorCandidates(params: Protocol.DOM.GetImplicitAnchorCandidatesRequest): Promise<Protocol.DOM.GetImplicitAnchorCandidatesResponse>;
|
|
1887
|
+
|
|
1882
1888
|
/**
|
|
1883
1889
|
* When enabling, this API forces an element to gain interest in its target,
|
|
1884
1890
|
* keeping interest active until disabled.
|
|
@@ -1969,6 +1969,12 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1969
1969
|
*/
|
|
1970
1970
|
forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<{id: number, result: Protocol.DOM.ForceShowPopoverResponse, sessionId: string}>;
|
|
1971
1971
|
|
|
1972
|
+
/**
|
|
1973
|
+
* Returns candidate nodes that are configured as triggers for the given popover.
|
|
1974
|
+
* @experimental
|
|
1975
|
+
*/
|
|
1976
|
+
getImplicitAnchorCandidates(params: Protocol.DOM.GetImplicitAnchorCandidatesRequest): Promise<{id: number, result: Protocol.DOM.GetImplicitAnchorCandidatesResponse, sessionId: string}>;
|
|
1977
|
+
|
|
1972
1978
|
/**
|
|
1973
1979
|
* When enabling, this API forces an element to gain interest in its target,
|
|
1974
1980
|
* keeping interest active until disabled.
|
package/types/protocol.d.ts
CHANGED
|
@@ -4039,6 +4039,17 @@ export namespace Protocol {
|
|
|
4039
4039
|
disableReason?: string;
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
+
export type WebInstallIssueReason = ('ManifestParsingOrNetworkError' | 'StartUrlInvalid' | 'ManifestMissingNameOrShortName' | 'ManifestMissingId' | 'NoManifest');
|
|
4043
|
+
|
|
4044
|
+
/**
|
|
4045
|
+
* This issue reports a failure involving a web app manifest used by a Web
|
|
4046
|
+
* Install operation.
|
|
4047
|
+
*/
|
|
4048
|
+
export interface WebInstallIssueDetails {
|
|
4049
|
+
manifestUrl?: string;
|
|
4050
|
+
reason: WebInstallIssueReason;
|
|
4051
|
+
}
|
|
4052
|
+
|
|
4042
4053
|
/**
|
|
4043
4054
|
* The issue warns about blocked calls to privacy sensitive APIs via the
|
|
4044
4055
|
* Selective Permissions Intervention.
|
|
@@ -4081,7 +4092,7 @@ export namespace Protocol {
|
|
|
4081
4092
|
* optional fields in InspectorIssueDetails to convey more specific
|
|
4082
4093
|
* information about the kind of issue.
|
|
4083
4094
|
*/
|
|
4084
|
-
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue' | 'EmailVerificationRequestIssue' | 'LazyLoadImageIssue');
|
|
4095
|
+
export type InspectorIssueCode = ('CookieIssue' | 'MixedContentIssue' | 'BlockedByResponseIssue' | 'HeavyAdIssue' | 'ContentSecurityPolicyIssue' | 'SharedArrayBufferIssue' | 'CorsIssue' | 'QuirksModeIssue' | 'PartitioningBlobURLIssue' | 'NavigatorUserAgentIssue' | 'GenericIssue' | 'DeprecationIssue' | 'ClientHintIssue' | 'FederatedAuthRequestIssue' | 'BounceTrackingIssue' | 'CookieDeprecationMetadataIssue' | 'StylesheetLoadingIssue' | 'FederatedAuthUserInfoRequestIssue' | 'PropertyRuleIssue' | 'SharedDictionaryIssue' | 'ElementAccessibilityIssue' | 'SRIMessageSignatureIssue' | 'UnencodedDigestIssue' | 'ConnectionAllowlistIssue' | 'UserReidentificationIssue' | 'PermissionElementIssue' | 'PerformanceIssue' | 'SelectivePermissionsInterventionIssue' | 'EmailVerificationRequestIssue' | 'LazyLoadImageIssue' | 'WebInstallIssue');
|
|
4085
4096
|
|
|
4086
4097
|
/**
|
|
4087
4098
|
* This struct holds a list of optional fields with additional information
|
|
@@ -4122,6 +4133,7 @@ export namespace Protocol {
|
|
|
4122
4133
|
selectivePermissionsInterventionIssueDetails?: SelectivePermissionsInterventionIssueDetails;
|
|
4123
4134
|
emailVerificationRequestIssueDetails?: EmailVerificationRequestIssueDetails;
|
|
4124
4135
|
lazyLoadImageIssueDetails?: LazyLoadImageIssueDetails;
|
|
4136
|
+
webInstallIssueDetails?: WebInstallIssueDetails;
|
|
4125
4137
|
}
|
|
4126
4138
|
|
|
4127
4139
|
/**
|
|
@@ -8181,6 +8193,20 @@ export namespace Protocol {
|
|
|
8181
8193
|
nodeIds: NodeId[];
|
|
8182
8194
|
}
|
|
8183
8195
|
|
|
8196
|
+
export interface GetImplicitAnchorCandidatesRequest {
|
|
8197
|
+
/**
|
|
8198
|
+
* Id of the popover HTMLElement.
|
|
8199
|
+
*/
|
|
8200
|
+
nodeId: NodeId;
|
|
8201
|
+
}
|
|
8202
|
+
|
|
8203
|
+
export interface GetImplicitAnchorCandidatesResponse {
|
|
8204
|
+
/**
|
|
8205
|
+
* Candidate elements that can invoke this popover.
|
|
8206
|
+
*/
|
|
8207
|
+
backendNodeIds: BackendNodeId[];
|
|
8208
|
+
}
|
|
8209
|
+
|
|
8184
8210
|
export interface ForceShowInterestRequest {
|
|
8185
8211
|
/**
|
|
8186
8212
|
* Id of the interest invoker HTMLElement.
|