devtools-protocol 0.0.1710668 → 0.0.1716261

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
  {
@@ -19455,6 +19456,13 @@
19455
19456
  "name": "encodedDataLength",
19456
19457
  "description": "Total number of bytes received for this request.",
19457
19458
  "type": "number"
19459
+ },
19460
+ {
19461
+ "name": "encodedBodyLength",
19462
+ "description": "Size of the response body before removing content encodings.\nIncludes cached bodies, but excludes headers and transfer framing.",
19463
+ "experimental": true,
19464
+ "optional": true,
19465
+ "type": "number"
19458
19466
  }
19459
19467
  ]
19460
19468
  },
@@ -22136,8 +22144,6 @@
22136
22144
  "rewriter",
22137
22145
  "screen-wake-lock",
22138
22146
  "serial",
22139
- "shared-storage",
22140
- "shared-storage-select-url",
22141
22147
  "smart-card",
22142
22148
  "speaker-selection",
22143
22149
  "storage-access",
@@ -24020,6 +24026,26 @@
24020
24026
  }
24021
24027
  ]
24022
24028
  },
24029
+ {
24030
+ "name": "getSpellCheckCustomDictionary",
24031
+ "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.",
24032
+ "experimental": true,
24033
+ "parameters": [
24034
+ {
24035
+ "name": "frameId",
24036
+ "$ref": "FrameId"
24037
+ }
24038
+ ],
24039
+ "returns": [
24040
+ {
24041
+ "name": "words",
24042
+ "type": "array",
24043
+ "items": {
24044
+ "type": "string"
24045
+ }
24046
+ }
24047
+ ]
24048
+ },
24023
24049
  {
24024
24050
  "name": "getFrameTree",
24025
24051
  "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.1710668",
3
+ "version": "0.0.1716261",
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
@@ -1300,6 +1300,9 @@ domain Network
1300
1300
  MonotonicTime timestamp
1301
1301
  # Total number of bytes received for this request.
1302
1302
  number encodedDataLength
1303
+ # Size of the response body before removing content encodings.
1304
+ # Includes cached bodies, but excludes headers and transfer framing.
1305
+ experimental optional number encodedBodyLength
1303
1306
 
1304
1307
  # Fired if request ended up loading from cache.
1305
1308
  event requestServedFromCache
@@ -156,10 +156,6 @@ domain Page
156
156
  rewriter
157
157
  screen-wake-lock
158
158
  serial
159
- # Deprecated.
160
- shared-storage
161
- # Deprecated.
162
- shared-storage-select-url
163
159
  smart-card
164
160
  speaker-selection
165
161
  storage-access
@@ -852,6 +848,16 @@ domain Page
852
848
  # script). Only sent if frame is labelled as an ad and ids are available.
853
849
  optional Network.AdAncestry adScriptAncestry
854
850
 
851
+ # Returns the words that the frame's document added to its spell check custom
852
+ # dictionary with `document.spellCheckCustomDictionary.addWords()`, sorted.
853
+ # Page script cannot read the dictionary back; this lets developers inspect
854
+ # it.
855
+ experimental command getSpellCheckCustomDictionary
856
+ parameters
857
+ FrameId frameId
858
+ returns
859
+ array of string words
860
+
855
861
  # Returns present frame tree structure.
856
862
  command getFrameTree
857
863
  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.
@@ -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
  */
@@ -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.
@@ -15114,6 +15121,12 @@ export namespace Protocol {
15114
15121
  * Total number of bytes received for this request.
15115
15122
  */
15116
15123
  encodedDataLength: number;
15124
+ /**
15125
+ * Size of the response body before removing content encodings.
15126
+ * Includes cached bodies, but excludes headers and transfer framing.
15127
+ * @experimental
15128
+ */
15129
+ encodedBodyLength?: number;
15117
15130
  }
15118
15131
 
15119
15132
  /**
@@ -16865,7 +16878,7 @@ export namespace Protocol {
16865
16878
  * in services/network/public/cpp/permissions_policy/permissions_policy_features.json5.
16866
16879
  * @experimental
16867
16880
  */
16868
- export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'haptics' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'publickey-credentials-remote-client-data-json' | 'rewriter' | 'screen-wake-lock' | 'serial' | 'shared-storage' | 'shared-storage-select-url' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
16881
+ export type PermissionsPolicyFeature = ('accelerometer' | 'all-screens-capture' | 'ambient-light-sensor' | 'aria-notify' | 'autofill' | 'autoplay' | 'bluetooth' | 'browsing-topics' | 'camera' | 'captured-surface-control' | 'ch-dpr' | 'ch-device-memory' | 'ch-downlink' | 'ch-ect' | 'ch-prefers-color-scheme' | 'ch-prefers-reduced-motion' | 'ch-prefers-reduced-transparency' | 'ch-rtt' | 'ch-save-data' | 'ch-ua' | 'ch-ua-arch' | 'ch-ua-bitness' | 'ch-ua-high-entropy-values' | 'ch-ua-platform' | 'ch-ua-model' | 'ch-ua-mobile' | 'ch-ua-form-factors' | 'ch-ua-full-version' | 'ch-ua-full-version-list' | 'ch-ua-platform-version' | 'ch-ua-wow64' | 'ch-viewport-height' | 'ch-viewport-width' | 'ch-width' | 'clipboard-read' | 'clipboard-write' | 'compute-pressure' | 'controlled-frame' | 'cross-origin-isolated' | 'deferred-fetch' | 'deferred-fetch-minimal' | 'device-attributes' | 'digital-credentials-create' | 'digital-credentials-get' | 'direct-sockets' | 'direct-sockets-multicast' | 'display-capture' | 'document-domain' | 'encrypted-media' | 'execution-while-out-of-viewport' | 'execution-while-not-rendered' | 'focus-without-user-activation' | 'fullscreen' | 'frobulate' | 'gamepad' | 'geolocation' | 'gyroscope' | 'haptics' | 'hid' | 'identity-credentials-get' | 'idle-detection' | 'interest-cohort' | 'keyboard-map' | 'language-detector' | 'language-model' | 'local-fonts' | 'local-network' | 'local-network-access' | 'loopback-network' | 'magnetometer' | 'manual-text' | 'media-playback-while-not-visible' | 'microphone' | 'midi' | 'on-device-speech-recognition' | 'otp-credentials' | 'payment' | 'picture-in-picture' | 'private-state-token-issuance' | 'private-state-token-redemption' | 'publickey-credentials-create' | 'publickey-credentials-get' | 'publickey-credentials-remote-client-data-json' | 'rewriter' | 'screen-wake-lock' | 'serial' | 'smart-card' | 'speaker-selection' | 'storage-access' | 'sub-apps' | 'summarizer' | 'sync-xhr' | 'tools' | 'translator' | 'unload' | 'usb' | 'usb-unrestricted' | 'vertical-scroll' | 'web-app-installation' | 'webnn' | 'web-printing' | 'web-share' | 'window-management' | 'writer' | 'xr-spatial-tracking');
16869
16882
 
16870
16883
  /**
16871
16884
  * Reason for a permissions policy feature to be disabled.
@@ -17913,6 +17926,14 @@ export namespace Protocol {
17913
17926
  adScriptAncestry?: Network.AdAncestry;
17914
17927
  }
17915
17928
 
17929
+ export interface GetSpellCheckCustomDictionaryRequest {
17930
+ frameId: FrameId;
17931
+ }
17932
+
17933
+ export interface GetSpellCheckCustomDictionaryResponse {
17934
+ words: string[];
17935
+ }
17936
+
17916
17937
  export interface GetFrameTreeResponse {
17917
17938
  /**
17918
17939
  * Present frame tree structure.