devtools-protocol 0.0.1710668 → 0.0.1714151
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 +22 -1
- package/json/js_protocol.json +10 -0
- package/package.json +1 -1
- package/pdl/domains/Audits.pdl +1 -0
- package/pdl/domains/Page.pdl +10 -0
- package/pdl/js_protocol.pdl +4 -0
- package/types/protocol-mapping.d.ts +11 -0
- package/types/protocol-proxy-api.d.ts +9 -0
- package/types/protocol-tests-proxy-api.d.ts +9 -0
- package/types/protocol.d.ts +16 -1
|
@@ -1876,7 +1876,8 @@
|
|
|
1876
1876
|
"FormModelContextMissingToolName",
|
|
1877
1877
|
"FormModelContextMissingToolDescription",
|
|
1878
1878
|
"FormModelContextRequiredParameterMissingName",
|
|
1879
|
-
"FormModelContextParameterMissingName"
|
|
1879
|
+
"FormModelContextParameterMissingName",
|
|
1880
|
+
"GeolocationPromptWithoutUserGesture"
|
|
1880
1881
|
]
|
|
1881
1882
|
},
|
|
1882
1883
|
{
|
|
@@ -24020,6 +24021,26 @@
|
|
|
24020
24021
|
}
|
|
24021
24022
|
]
|
|
24022
24023
|
},
|
|
24024
|
+
{
|
|
24025
|
+
"name": "getSpellCheckCustomDictionary",
|
|
24026
|
+
"description": "Returns the words that the frame's document added to its spell check custom\ndictionary with `document.spellCheckCustomDictionary.addWords()`, sorted.\nPage script cannot read the dictionary back; this lets developers inspect\nit.",
|
|
24027
|
+
"experimental": true,
|
|
24028
|
+
"parameters": [
|
|
24029
|
+
{
|
|
24030
|
+
"name": "frameId",
|
|
24031
|
+
"$ref": "FrameId"
|
|
24032
|
+
}
|
|
24033
|
+
],
|
|
24034
|
+
"returns": [
|
|
24035
|
+
{
|
|
24036
|
+
"name": "words",
|
|
24037
|
+
"type": "array",
|
|
24038
|
+
"items": {
|
|
24039
|
+
"type": "string"
|
|
24040
|
+
}
|
|
24041
|
+
}
|
|
24042
|
+
]
|
|
24043
|
+
},
|
|
24023
24044
|
{
|
|
24024
24045
|
"name": "getFrameTree",
|
|
24025
24046
|
"description": "Returns present frame tree structure.",
|
package/json/js_protocol.json
CHANGED
|
@@ -1208,6 +1208,16 @@
|
|
|
1208
1208
|
"items": {
|
|
1209
1209
|
"$ref": "LocationRange"
|
|
1210
1210
|
}
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
"name": "enterRanges",
|
|
1214
|
+
"description": "Functions whose source range lies within one of the enterRanges are\nentered as if by stepInto, even when they are called (directly or\nindirectly) from a call that is stepped over.",
|
|
1215
|
+
"experimental": true,
|
|
1216
|
+
"optional": true,
|
|
1217
|
+
"type": "array",
|
|
1218
|
+
"items": {
|
|
1219
|
+
"$ref": "LocationRange"
|
|
1220
|
+
}
|
|
1211
1221
|
}
|
|
1212
1222
|
]
|
|
1213
1223
|
}
|
package/package.json
CHANGED
package/pdl/domains/Audits.pdl
CHANGED
|
@@ -406,6 +406,7 @@ experimental domain Audits
|
|
|
406
406
|
FormModelContextMissingToolDescription
|
|
407
407
|
FormModelContextRequiredParameterMissingName
|
|
408
408
|
FormModelContextParameterMissingName
|
|
409
|
+
GeolocationPromptWithoutUserGesture
|
|
409
410
|
|
|
410
411
|
# Depending on the concrete errorType, different properties are set.
|
|
411
412
|
type GenericIssueDetails extends object
|
package/pdl/domains/Page.pdl
CHANGED
|
@@ -852,6 +852,16 @@ domain Page
|
|
|
852
852
|
# script). Only sent if frame is labelled as an ad and ids are available.
|
|
853
853
|
optional Network.AdAncestry adScriptAncestry
|
|
854
854
|
|
|
855
|
+
# Returns the words that the frame's document added to its spell check custom
|
|
856
|
+
# dictionary with `document.spellCheckCustomDictionary.addWords()`, sorted.
|
|
857
|
+
# Page script cannot read the dictionary back; this lets developers inspect
|
|
858
|
+
# it.
|
|
859
|
+
experimental command getSpellCheckCustomDictionary
|
|
860
|
+
parameters
|
|
861
|
+
FrameId frameId
|
|
862
|
+
returns
|
|
863
|
+
array of string words
|
|
864
|
+
|
|
855
865
|
# Returns present frame tree structure.
|
|
856
866
|
command getFrameTree
|
|
857
867
|
returns
|
package/pdl/js_protocol.pdl
CHANGED
|
@@ -569,6 +569,10 @@ domain Debugger
|
|
|
569
569
|
parameters
|
|
570
570
|
# The skipList specifies location ranges that should be skipped on step over.
|
|
571
571
|
experimental optional array of LocationRange skipList
|
|
572
|
+
# Functions whose source range lies within one of the enterRanges are
|
|
573
|
+
# entered as if by stepInto, even when they are called (directly or
|
|
574
|
+
# indirectly) from a call that is stepped over.
|
|
575
|
+
experimental optional array of LocationRange enterRanges
|
|
572
576
|
|
|
573
577
|
# Fired when breakpoint is resolved to an actual script and location.
|
|
574
578
|
# Deprecated in favor of `resolvedBreakpoints` in the `scriptParsed` event.
|
|
@@ -5091,6 +5091,17 @@ export namespace ProtocolMapping {
|
|
|
5091
5091
|
paramsType: [Protocol.Page.GetAdScriptAncestryRequest];
|
|
5092
5092
|
returnType: Protocol.Page.GetAdScriptAncestryResponse;
|
|
5093
5093
|
};
|
|
5094
|
+
/**
|
|
5095
|
+
* Returns the words that the frame's document added to its spell check custom
|
|
5096
|
+
* dictionary with `document.spellCheckCustomDictionary.addWords()`, sorted.
|
|
5097
|
+
* Page script cannot read the dictionary back; this lets developers inspect
|
|
5098
|
+
* it.
|
|
5099
|
+
* @experimental
|
|
5100
|
+
*/
|
|
5101
|
+
'Page.getSpellCheckCustomDictionary': {
|
|
5102
|
+
paramsType: [Protocol.Page.GetSpellCheckCustomDictionaryRequest];
|
|
5103
|
+
returnType: Protocol.Page.GetSpellCheckCustomDictionaryResponse;
|
|
5104
|
+
};
|
|
5094
5105
|
/**
|
|
5095
5106
|
* Returns present frame tree structure.
|
|
5096
5107
|
*/
|
|
@@ -3985,6 +3985,15 @@ export namespace ProtocolProxyApi {
|
|
|
3985
3985
|
*/
|
|
3986
3986
|
getAdScriptAncestry(params: Protocol.Page.GetAdScriptAncestryRequest): Promise<Protocol.Page.GetAdScriptAncestryResponse>;
|
|
3987
3987
|
|
|
3988
|
+
/**
|
|
3989
|
+
* Returns the words that the frame's document added to its spell check custom
|
|
3990
|
+
* dictionary with `document.spellCheckCustomDictionary.addWords()`, sorted.
|
|
3991
|
+
* Page script cannot read the dictionary back; this lets developers inspect
|
|
3992
|
+
* it.
|
|
3993
|
+
* @experimental
|
|
3994
|
+
*/
|
|
3995
|
+
getSpellCheckCustomDictionary(params: Protocol.Page.GetSpellCheckCustomDictionaryRequest): Promise<Protocol.Page.GetSpellCheckCustomDictionaryResponse>;
|
|
3996
|
+
|
|
3988
3997
|
/**
|
|
3989
3998
|
* Returns present frame tree structure.
|
|
3990
3999
|
*/
|
|
@@ -4259,6 +4259,15 @@ export namespace ProtocolTestsProxyApi {
|
|
|
4259
4259
|
*/
|
|
4260
4260
|
getAdScriptAncestry(params: Protocol.Page.GetAdScriptAncestryRequest): Promise<{id: number, result: Protocol.Page.GetAdScriptAncestryResponse, sessionId: string}>;
|
|
4261
4261
|
|
|
4262
|
+
/**
|
|
4263
|
+
* Returns the words that the frame's document added to its spell check custom
|
|
4264
|
+
* dictionary with `document.spellCheckCustomDictionary.addWords()`, sorted.
|
|
4265
|
+
* Page script cannot read the dictionary back; this lets developers inspect
|
|
4266
|
+
* it.
|
|
4267
|
+
* @experimental
|
|
4268
|
+
*/
|
|
4269
|
+
getSpellCheckCustomDictionary(params: Protocol.Page.GetSpellCheckCustomDictionaryRequest): Promise<{id: number, result: Protocol.Page.GetSpellCheckCustomDictionaryResponse, sessionId: string}>;
|
|
4270
|
+
|
|
4262
4271
|
/**
|
|
4263
4272
|
* Returns present frame tree structure.
|
|
4264
4273
|
*/
|
package/types/protocol.d.ts
CHANGED
|
@@ -873,6 +873,13 @@ export namespace Protocol {
|
|
|
873
873
|
* @experimental
|
|
874
874
|
*/
|
|
875
875
|
skipList?: LocationRange[];
|
|
876
|
+
/**
|
|
877
|
+
* Functions whose source range lies within one of the enterRanges are
|
|
878
|
+
* entered as if by stepInto, even when they are called (directly or
|
|
879
|
+
* indirectly) from a call that is stepped over.
|
|
880
|
+
* @experimental
|
|
881
|
+
*/
|
|
882
|
+
enterRanges?: LocationRange[];
|
|
876
883
|
}
|
|
877
884
|
|
|
878
885
|
/**
|
|
@@ -3819,7 +3826,7 @@ export namespace Protocol {
|
|
|
3819
3826
|
request: AffectedRequest;
|
|
3820
3827
|
}
|
|
3821
3828
|
|
|
3822
|
-
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'BackUINavigationWouldSkipAd' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription' | 'FormModelContextMissingToolName' | 'FormModelContextMissingToolDescription' | 'FormModelContextRequiredParameterMissingName' | 'FormModelContextParameterMissingName');
|
|
3829
|
+
export type GenericIssueErrorType = ('FormLabelForNameError' | 'FormDuplicateIdForInputError' | 'FormInputWithNoLabelError' | 'FormAutocompleteAttributeEmptyError' | 'FormEmptyIdAndNameAttributesForInputError' | 'FormAriaLabelledByToNonExistingIdError' | 'FormInputAssignedAutocompleteValueToIdOrNameAttributeError' | 'FormLabelHasNeitherForNorNestedInputError' | 'FormLabelForMatchesNonExistingIdError' | 'FormInputHasWrongButWellIntendedAutocompleteValueError' | 'ResponseWasBlockedByORB' | 'NavigationEntryMarkedSkippable' | 'BackUINavigationWouldSkipAd' | 'AutofillAndManualTextPolicyControlledFeaturesInfo' | 'AutofillPolicyControlledFeatureInfo' | 'ManualTextPolicyControlledFeatureInfo' | 'FormModelContextParameterMissingTitleAndDescription' | 'FormModelContextMissingToolName' | 'FormModelContextMissingToolDescription' | 'FormModelContextRequiredParameterMissingName' | 'FormModelContextParameterMissingName' | 'GeolocationPromptWithoutUserGesture');
|
|
3823
3830
|
|
|
3824
3831
|
/**
|
|
3825
3832
|
* Depending on the concrete errorType, different properties are set.
|
|
@@ -17913,6 +17920,14 @@ export namespace Protocol {
|
|
|
17913
17920
|
adScriptAncestry?: Network.AdAncestry;
|
|
17914
17921
|
}
|
|
17915
17922
|
|
|
17923
|
+
export interface GetSpellCheckCustomDictionaryRequest {
|
|
17924
|
+
frameId: FrameId;
|
|
17925
|
+
}
|
|
17926
|
+
|
|
17927
|
+
export interface GetSpellCheckCustomDictionaryResponse {
|
|
17928
|
+
words: string[];
|
|
17929
|
+
}
|
|
17930
|
+
|
|
17916
17931
|
export interface GetFrameTreeResponse {
|
|
17917
17932
|
/**
|
|
17918
17933
|
* Present frame tree structure.
|