devtools-protocol 0.0.1709723 → 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.
@@ -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
  {
@@ -5990,6 +5991,23 @@
5990
5991
  }
5991
5992
  ]
5992
5993
  },
5994
+ {
5995
+ "name": "forcePositionTryOption",
5996
+ "description": "Forces a position-try option for the given node.",
5997
+ "parameters": [
5998
+ {
5999
+ "name": "nodeId",
6000
+ "description": "The element id for which to force the position-try option.",
6001
+ "$ref": "DOM.NodeId"
6002
+ },
6003
+ {
6004
+ "name": "index",
6005
+ "description": "The 1-based index of the position-try fallback option, 0 for base position (no fallback),\nor omitted to clear the forced state.",
6006
+ "optional": true,
6007
+ "type": "integer"
6008
+ }
6009
+ ]
6010
+ },
5993
6011
  {
5994
6012
  "name": "getBackgroundColors",
5995
6013
  "parameters": [
@@ -24003,6 +24021,26 @@
24003
24021
  }
24004
24022
  ]
24005
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
+ },
24006
24044
  {
24007
24045
  "name": "getFrameTree",
24008
24046
  "description": "Returns present frame tree structure.",
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1709723",
3
+ "version": "0.0.1714151",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -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
@@ -712,6 +712,15 @@ experimental domain CSS
712
712
  # Boolean indicating if this is on or off.
713
713
  boolean forced
714
714
 
715
+ # Forces a position-try option for the given node.
716
+ command forcePositionTryOption
717
+ parameters
718
+ # The element id for which to force the position-try option.
719
+ DOM.NodeId nodeId
720
+ # The 1-based index of the position-try fallback option, 0 for base position (no fallback),
721
+ # or omitted to clear the forced state.
722
+ optional integer index
723
+
715
724
  command getBackgroundColors
716
725
  parameters
717
726
  # Id of the node to get background colors for.
@@ -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
@@ -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.
@@ -2270,6 +2270,13 @@ export namespace ProtocolMapping {
2270
2270
  paramsType: [Protocol.CSS.ForceStartingStyleRequest];
2271
2271
  returnType: void;
2272
2272
  };
2273
+ /**
2274
+ * Forces a position-try option for the given node.
2275
+ */
2276
+ 'CSS.forcePositionTryOption': {
2277
+ paramsType: [Protocol.CSS.ForcePositionTryOptionRequest];
2278
+ returnType: void;
2279
+ };
2273
2280
  'CSS.getBackgroundColors': {
2274
2281
  paramsType: [Protocol.CSS.GetBackgroundColorsRequest];
2275
2282
  returnType: Protocol.CSS.GetBackgroundColorsResponse;
@@ -5084,6 +5091,17 @@ export namespace ProtocolMapping {
5084
5091
  paramsType: [Protocol.Page.GetAdScriptAncestryRequest];
5085
5092
  returnType: Protocol.Page.GetAdScriptAncestryResponse;
5086
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
+ };
5087
5105
  /**
5088
5106
  * Returns present frame tree structure.
5089
5107
  */
@@ -1239,6 +1239,11 @@ export namespace ProtocolProxyApi {
1239
1239
  */
1240
1240
  forceStartingStyle(params: Protocol.CSS.ForceStartingStyleRequest): Promise<void>;
1241
1241
 
1242
+ /**
1243
+ * Forces a position-try option for the given node.
1244
+ */
1245
+ forcePositionTryOption(params: Protocol.CSS.ForcePositionTryOptionRequest): Promise<void>;
1246
+
1242
1247
  getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<Protocol.CSS.GetBackgroundColorsResponse>;
1243
1248
 
1244
1249
  /**
@@ -3980,6 +3985,15 @@ export namespace ProtocolProxyApi {
3980
3985
  */
3981
3986
  getAdScriptAncestry(params: Protocol.Page.GetAdScriptAncestryRequest): Promise<Protocol.Page.GetAdScriptAncestryResponse>;
3982
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
+
3983
3997
  /**
3984
3998
  * Returns present frame tree structure.
3985
3999
  */
@@ -1313,6 +1313,11 @@ export namespace ProtocolTestsProxyApi {
1313
1313
  */
1314
1314
  forceStartingStyle(params: Protocol.CSS.ForceStartingStyleRequest): Promise<{id: number, result: void, sessionId: string}>;
1315
1315
 
1316
+ /**
1317
+ * Forces a position-try option for the given node.
1318
+ */
1319
+ forcePositionTryOption(params: Protocol.CSS.ForcePositionTryOptionRequest): Promise<{id: number, result: void, sessionId: string}>;
1320
+
1316
1321
  getBackgroundColors(params: Protocol.CSS.GetBackgroundColorsRequest): Promise<{id: number, result: Protocol.CSS.GetBackgroundColorsResponse, sessionId: string}>;
1317
1322
 
1318
1323
  /**
@@ -4254,6 +4259,15 @@ export namespace ProtocolTestsProxyApi {
4254
4259
  */
4255
4260
  getAdScriptAncestry(params: Protocol.Page.GetAdScriptAncestryRequest): Promise<{id: number, result: Protocol.Page.GetAdScriptAncestryResponse, sessionId: string}>;
4256
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
+
4257
4271
  /**
4258
4272
  * Returns present frame tree structure.
4259
4273
  */
@@ -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.
@@ -6346,6 +6353,18 @@ export namespace Protocol {
6346
6353
  forced: boolean;
6347
6354
  }
6348
6355
 
6356
+ export interface ForcePositionTryOptionRequest {
6357
+ /**
6358
+ * The element id for which to force the position-try option.
6359
+ */
6360
+ nodeId: DOM.NodeId;
6361
+ /**
6362
+ * The 1-based index of the position-try fallback option, 0 for base position (no fallback),
6363
+ * or omitted to clear the forced state.
6364
+ */
6365
+ index?: integer;
6366
+ }
6367
+
6349
6368
  export interface GetBackgroundColorsRequest {
6350
6369
  /**
6351
6370
  * Id of the node to get background colors for.
@@ -17901,6 +17920,14 @@ export namespace Protocol {
17901
17920
  adScriptAncestry?: Network.AdAncestry;
17902
17921
  }
17903
17922
 
17923
+ export interface GetSpellCheckCustomDictionaryRequest {
17924
+ frameId: FrameId;
17925
+ }
17926
+
17927
+ export interface GetSpellCheckCustomDictionaryResponse {
17928
+ words: string[];
17929
+ }
17930
+
17904
17931
  export interface GetFrameTreeResponse {
17905
17932
  /**
17906
17933
  * Present frame tree structure.