devtools-protocol 0.0.1695952 → 0.0.1697629
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 +105 -1
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +17 -0
- package/pdl/domains/DOM.pdl +40 -0
- package/types/protocol-mapping.d.ts +29 -0
- package/types/protocol-proxy-api.d.ts +23 -0
- package/types/protocol-tests-proxy-api.d.ts +23 -0
- package/types/protocol.d.ts +62 -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.",
|
|
@@ -8989,6 +9044,55 @@
|
|
|
8989
9044
|
"type": "boolean"
|
|
8990
9045
|
}
|
|
8991
9046
|
]
|
|
9047
|
+
},
|
|
9048
|
+
{
|
|
9049
|
+
"name": "setTextMarker",
|
|
9050
|
+
"description": "Sets a spelling or grammar error marker on the given range of text.\nSee https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md\nNote: exactly one between nodeId, backendNodeId and objectId should be passed\nto identify the node.",
|
|
9051
|
+
"experimental": true,
|
|
9052
|
+
"parameters": [
|
|
9053
|
+
{
|
|
9054
|
+
"name": "nodeId",
|
|
9055
|
+
"description": "Identifier of the node.",
|
|
9056
|
+
"optional": true,
|
|
9057
|
+
"$ref": "NodeId"
|
|
9058
|
+
},
|
|
9059
|
+
{
|
|
9060
|
+
"name": "backendNodeId",
|
|
9061
|
+
"description": "Identifier of the backend node.",
|
|
9062
|
+
"optional": true,
|
|
9063
|
+
"$ref": "BackendNodeId"
|
|
9064
|
+
},
|
|
9065
|
+
{
|
|
9066
|
+
"name": "objectId",
|
|
9067
|
+
"description": "JavaScript object id of the node wrapper.",
|
|
9068
|
+
"optional": true,
|
|
9069
|
+
"$ref": "Runtime.RemoteObjectId"
|
|
9070
|
+
},
|
|
9071
|
+
{
|
|
9072
|
+
"name": "type",
|
|
9073
|
+
"description": "The type of marker to set on the given range of text.",
|
|
9074
|
+
"type": "string",
|
|
9075
|
+
"enum": [
|
|
9076
|
+
"spelling",
|
|
9077
|
+
"grammar"
|
|
9078
|
+
]
|
|
9079
|
+
},
|
|
9080
|
+
{
|
|
9081
|
+
"name": "start",
|
|
9082
|
+
"description": "Start offset into the element's rendered text in UTF-16 code units.\nFor a text control, an offset into the control's value.\nOffsets count text in DOM order and do not enter shadow trees.\nTo mark text inside a shadow tree, pass the element inside the shadow tree.",
|
|
9083
|
+
"type": "integer"
|
|
9084
|
+
},
|
|
9085
|
+
{
|
|
9086
|
+
"name": "end",
|
|
9087
|
+
"description": "End offset (exclusive) in the same units and space as start.",
|
|
9088
|
+
"type": "integer"
|
|
9089
|
+
}
|
|
9090
|
+
]
|
|
9091
|
+
},
|
|
9092
|
+
{
|
|
9093
|
+
"name": "clearTextMarkers",
|
|
9094
|
+
"description": "Clears the spelling and grammar error text markers overlapping the ranges\nset by setTextMarker in this session. These markers are also removed when\nthe DOM domain is disabled or the session ends.",
|
|
9095
|
+
"experimental": true
|
|
8992
9096
|
}
|
|
8993
9097
|
],
|
|
8994
9098
|
"events": [
|
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
|
|
@@ -836,6 +845,37 @@ domain DOM
|
|
|
836
845
|
# If true, opens and holds interest. If false, releases forced interest.
|
|
837
846
|
boolean enable
|
|
838
847
|
|
|
848
|
+
# Sets a spelling or grammar error marker on the given range of text.
|
|
849
|
+
# See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
850
|
+
# Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
851
|
+
# to identify the node.
|
|
852
|
+
experimental command setTextMarker
|
|
853
|
+
parameters
|
|
854
|
+
# Identifier of the node.
|
|
855
|
+
optional NodeId nodeId
|
|
856
|
+
# Identifier of the backend node.
|
|
857
|
+
optional BackendNodeId backendNodeId
|
|
858
|
+
# JavaScript object id of the node wrapper.
|
|
859
|
+
optional Runtime.RemoteObjectId objectId
|
|
860
|
+
# The type of marker to set on the given range of text.
|
|
861
|
+
enum type
|
|
862
|
+
# A spelling error marker, rendered as ::spelling-error
|
|
863
|
+
spelling
|
|
864
|
+
# A grammar error marker, rendered as ::grammar-error
|
|
865
|
+
grammar
|
|
866
|
+
# Start offset into the element's rendered text in UTF-16 code units.
|
|
867
|
+
# For a text control, an offset into the control's value.
|
|
868
|
+
# Offsets count text in DOM order and do not enter shadow trees.
|
|
869
|
+
# To mark text inside a shadow tree, pass the element inside the shadow tree.
|
|
870
|
+
integer start
|
|
871
|
+
# End offset (exclusive) in the same units and space as start.
|
|
872
|
+
integer end
|
|
873
|
+
|
|
874
|
+
# Clears the spelling and grammar error text markers overlapping the ranges
|
|
875
|
+
# set by setTextMarker in this session. These markers are also removed when
|
|
876
|
+
# the DOM domain is disabled or the session ends.
|
|
877
|
+
experimental command clearTextMarkers
|
|
878
|
+
|
|
839
879
|
# Fired when `Element`'s attribute is modified.
|
|
840
880
|
event attributeModified
|
|
841
881
|
parameters
|
|
@@ -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.
|
|
@@ -3054,6 +3062,27 @@ export namespace ProtocolMapping {
|
|
|
3054
3062
|
paramsType: [Protocol.DOM.ForceShowInterestRequest];
|
|
3055
3063
|
returnType: void;
|
|
3056
3064
|
};
|
|
3065
|
+
/**
|
|
3066
|
+
* Sets a spelling or grammar error marker on the given range of text.
|
|
3067
|
+
* See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
3068
|
+
* Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
3069
|
+
* to identify the node.
|
|
3070
|
+
* @experimental
|
|
3071
|
+
*/
|
|
3072
|
+
'DOM.setTextMarker': {
|
|
3073
|
+
paramsType: [Protocol.DOM.SetTextMarkerRequest];
|
|
3074
|
+
returnType: void;
|
|
3075
|
+
};
|
|
3076
|
+
/**
|
|
3077
|
+
* Clears the spelling and grammar error text markers overlapping the ranges
|
|
3078
|
+
* set by setTextMarker in this session. These markers are also removed when
|
|
3079
|
+
* the DOM domain is disabled or the session ends.
|
|
3080
|
+
* @experimental
|
|
3081
|
+
*/
|
|
3082
|
+
'DOM.clearTextMarkers': {
|
|
3083
|
+
paramsType: [];
|
|
3084
|
+
returnType: void;
|
|
3085
|
+
};
|
|
3057
3086
|
/**
|
|
3058
3087
|
* Returns event listeners of the given object.
|
|
3059
3088
|
*/
|
|
@@ -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.
|
|
@@ -1886,6 +1892,23 @@ export namespace ProtocolProxyApi {
|
|
|
1886
1892
|
*/
|
|
1887
1893
|
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<void>;
|
|
1888
1894
|
|
|
1895
|
+
/**
|
|
1896
|
+
* Sets a spelling or grammar error marker on the given range of text.
|
|
1897
|
+
* See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
1898
|
+
* Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
1899
|
+
* to identify the node.
|
|
1900
|
+
* @experimental
|
|
1901
|
+
*/
|
|
1902
|
+
setTextMarker(params: Protocol.DOM.SetTextMarkerRequest): Promise<void>;
|
|
1903
|
+
|
|
1904
|
+
/**
|
|
1905
|
+
* Clears the spelling and grammar error text markers overlapping the ranges
|
|
1906
|
+
* set by setTextMarker in this session. These markers are also removed when
|
|
1907
|
+
* the DOM domain is disabled or the session ends.
|
|
1908
|
+
* @experimental
|
|
1909
|
+
*/
|
|
1910
|
+
clearTextMarkers(): Promise<void>;
|
|
1911
|
+
|
|
1889
1912
|
/**
|
|
1890
1913
|
* Fired when `Element`'s attribute is modified.
|
|
1891
1914
|
*/
|
|
@@ -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.
|
|
@@ -1976,6 +1982,23 @@ export namespace ProtocolTestsProxyApi {
|
|
|
1976
1982
|
*/
|
|
1977
1983
|
forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1978
1984
|
|
|
1985
|
+
/**
|
|
1986
|
+
* Sets a spelling or grammar error marker on the given range of text.
|
|
1987
|
+
* See https://github.com/Igalia/explainers/blob/main/force-spelling-grammar-markers/README.md
|
|
1988
|
+
* Note: exactly one between nodeId, backendNodeId and objectId should be passed
|
|
1989
|
+
* to identify the node.
|
|
1990
|
+
* @experimental
|
|
1991
|
+
*/
|
|
1992
|
+
setTextMarker(params: Protocol.DOM.SetTextMarkerRequest): Promise<{id: number, result: void, sessionId: string}>;
|
|
1993
|
+
|
|
1994
|
+
/**
|
|
1995
|
+
* Clears the spelling and grammar error text markers overlapping the ranges
|
|
1996
|
+
* set by setTextMarker in this session. These markers are also removed when
|
|
1997
|
+
* the DOM domain is disabled or the session ends.
|
|
1998
|
+
* @experimental
|
|
1999
|
+
*/
|
|
2000
|
+
clearTextMarkers(): Promise<{id: number, result: void, sessionId: string}>;
|
|
2001
|
+
|
|
1979
2002
|
/**
|
|
1980
2003
|
* Fired when `Element`'s attribute is modified.
|
|
1981
2004
|
*/
|
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.
|
|
@@ -8192,6 +8218,41 @@ export namespace Protocol {
|
|
|
8192
8218
|
enable: boolean;
|
|
8193
8219
|
}
|
|
8194
8220
|
|
|
8221
|
+
export const enum SetTextMarkerRequestType {
|
|
8222
|
+
Spelling = 'spelling',
|
|
8223
|
+
Grammar = 'grammar',
|
|
8224
|
+
}
|
|
8225
|
+
|
|
8226
|
+
export interface SetTextMarkerRequest {
|
|
8227
|
+
/**
|
|
8228
|
+
* Identifier of the node.
|
|
8229
|
+
*/
|
|
8230
|
+
nodeId?: NodeId;
|
|
8231
|
+
/**
|
|
8232
|
+
* Identifier of the backend node.
|
|
8233
|
+
*/
|
|
8234
|
+
backendNodeId?: BackendNodeId;
|
|
8235
|
+
/**
|
|
8236
|
+
* JavaScript object id of the node wrapper.
|
|
8237
|
+
*/
|
|
8238
|
+
objectId?: Runtime.RemoteObjectId;
|
|
8239
|
+
/**
|
|
8240
|
+
* The type of marker to set on the given range of text.
|
|
8241
|
+
*/
|
|
8242
|
+
type: ('spelling' | 'grammar');
|
|
8243
|
+
/**
|
|
8244
|
+
* Start offset into the element's rendered text in UTF-16 code units.
|
|
8245
|
+
* For a text control, an offset into the control's value.
|
|
8246
|
+
* Offsets count text in DOM order and do not enter shadow trees.
|
|
8247
|
+
* To mark text inside a shadow tree, pass the element inside the shadow tree.
|
|
8248
|
+
*/
|
|
8249
|
+
start: integer;
|
|
8250
|
+
/**
|
|
8251
|
+
* End offset (exclusive) in the same units and space as start.
|
|
8252
|
+
*/
|
|
8253
|
+
end: integer;
|
|
8254
|
+
}
|
|
8255
|
+
|
|
8195
8256
|
/**
|
|
8196
8257
|
* Fired when `Element`'s attribute is modified.
|
|
8197
8258
|
*/
|