chrome-types 0.1.434 → 0.1.436

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.
Files changed (3) hide show
  1. package/_all.d.ts +124 -20
  2. package/index.d.ts +124 -20
  3. package/package.json +2 -2
package/_all.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Jul 09 2026 22:45:36 GMT+0000 (Coordinated Universal Time)
18
- // Built at 57d55873c06e38b910331c28156c39a076144649
17
+ // Generated on Fri Jul 24 2026 11:14:11 GMT+0000 (Coordinated Universal Time)
18
+ // Built at b5e125696a968f01ff8f786798a32e42230f688d
19
19
 
20
20
  // Includes all types, including MV2 + Platform Apps APIs.
21
21
 
@@ -760,6 +760,13 @@ declare namespace chrome {
760
760
 
761
761
  export interface AlarmCreateInfo {
762
762
 
763
+ /**
764
+ * Name of this alarm.
765
+ *
766
+ * @since Pending
767
+ */
768
+ name?: string;
769
+
763
770
  /**
764
771
  * Time at which the alarm should fire, in milliseconds past the epoch (e.g. `Date.now() + n`).
765
772
  */
@@ -4930,6 +4937,8 @@ declare namespace chrome {
4930
4937
 
4931
4938
  /**
4932
4939
  * Websites' appcaches.
4940
+ *
4941
+ * @deprecated Support for appcache has been removed. This data type will be ignored.
4933
4942
  */
4934
4943
  appcache?: boolean;
4935
4944
 
@@ -5011,6 +5020,8 @@ declare namespace chrome {
5011
5020
 
5012
5021
  /**
5013
5022
  * Websites' WebSQL data.
5023
+ *
5024
+ * @deprecated Support for WebSQL has been removed. This data type will be ignored.
5014
5025
  */
5015
5026
  webSQL?: boolean;
5016
5027
  }
@@ -5091,6 +5102,7 @@ declare namespace chrome {
5091
5102
  *
5092
5103
  * @chrome-returns-extra since Chrome 96
5093
5104
  * @returns Resolves when websites' appcache data has been cleared.
5105
+ * @deprecated Support for appcache has been removed. This function has no effect.
5094
5106
  */
5095
5107
  export function removeAppcache(
5096
5108
 
@@ -5099,6 +5111,8 @@ declare namespace chrome {
5099
5111
 
5100
5112
  /**
5101
5113
  * Clears websites' appcache data.
5114
+ *
5115
+ * @deprecated Support for appcache has been removed. This function has no effect.
5102
5116
  */
5103
5117
  export function removeAppcache(
5104
5118
 
@@ -5380,6 +5394,7 @@ declare namespace chrome {
5380
5394
  *
5381
5395
  * @chrome-returns-extra since Chrome 96
5382
5396
  * @returns Resolves when websites' WebSQL databases have been cleared.
5397
+ * @deprecated Support for WebSQL has been removed. This function has no effect.
5383
5398
  */
5384
5399
  export function removeWebSQL(
5385
5400
 
@@ -5388,6 +5403,8 @@ declare namespace chrome {
5388
5403
 
5389
5404
  /**
5390
5405
  * Clears websites' WebSQL data.
5406
+ *
5407
+ * @deprecated Support for WebSQL has been removed. This function has no effect.
5391
5408
  */
5392
5409
  export function removeWebSQL(
5393
5410
 
@@ -9765,7 +9782,7 @@ declare namespace chrome {
9765
9782
  /**
9766
9783
  * Gets the content of the resource.
9767
9784
  *
9768
- * @chrome-returns-extra since Pending
9785
+ * @chrome-returns-extra since Chrome 151
9769
9786
  * @returns A function that receives resource content when the request completes.
9770
9787
  */
9771
9788
  getContent(): Promise<{
@@ -9791,7 +9808,7 @@ declare namespace chrome {
9791
9808
  */
9792
9809
  callback?: (
9793
9810
  /**
9794
- * @since Pending
9811
+ * @since Chrome 151
9795
9812
  */
9796
9813
  response: {
9797
9814
 
@@ -9811,7 +9828,7 @@ declare namespace chrome {
9811
9828
  /**
9812
9829
  * Sets the content of the resource.
9813
9830
  *
9814
- * @chrome-returns-extra since Pending
9831
+ * @chrome-returns-extra since Chrome 151
9815
9832
  * @param content New content of the resource. Only resources with the text type are currently supported.
9816
9833
  * @param commit True if the user has finished editing the resource, and the new content of the resource should be persisted; false if this is a minor change sent in progress of the user editing the resource.
9817
9834
  * @returns A function called upon request completion.
@@ -9869,7 +9886,7 @@ declare namespace chrome {
9869
9886
  /**
9870
9887
  * Evaluates a JavaScript expression in the context of the main frame of the inspected page. The expression must evaluate to a JSON-compliant object, otherwise an exception is thrown. The eval function can report either a DevTools-side error or a JavaScript exception that occurs during evaluation. In either case, the `result` parameter of the callback is `undefined`. In the case of a DevTools-side error, the `isException` parameter is non-null and has `isError` set to true and `code` set to an error code. In the case of a JavaScript error, `isException` is set to true and `value` is set to the string value of thrown object.
9871
9888
  *
9872
- * @chrome-returns-extra since Pending
9889
+ * @chrome-returns-extra since Chrome 151
9873
9890
  * @param expression An expression to evaluate.
9874
9891
  * @param options The options parameter can contain one or more options.
9875
9892
  * @returns A function called when evaluation completes.
@@ -9976,7 +9993,7 @@ declare namespace chrome {
9976
9993
  */
9977
9994
  callback?: (
9978
9995
  /**
9979
- * @since Pending
9996
+ * @since Chrome 151
9980
9997
  */
9981
9998
  response: {
9982
9999
 
@@ -10051,7 +10068,7 @@ declare namespace chrome {
10051
10068
  /**
10052
10069
  * Retrieves the list of resources from the inspected page.
10053
10070
  *
10054
- * @chrome-returns-extra since Pending
10071
+ * @chrome-returns-extra since Chrome 151
10055
10072
  * @returns A function that receives the list of resources when the request completes.
10056
10073
  */
10057
10074
  export function getResources(): Promise<Resource[]>;
@@ -10085,7 +10102,7 @@ declare namespace chrome {
10085
10102
  /**
10086
10103
  * Returns content of the response body.
10087
10104
  *
10088
- * @chrome-returns-extra since Pending
10105
+ * @chrome-returns-extra since Chrome 151
10089
10106
  * @returns A function that receives the response body when the request completes.
10090
10107
  */
10091
10108
  getContent(): Promise<{
@@ -10111,7 +10128,7 @@ declare namespace chrome {
10111
10128
  */
10112
10129
  callback?: (
10113
10130
  /**
10114
- * @since Pending
10131
+ * @since Chrome 151
10115
10132
  */
10116
10133
  response: {
10117
10134
 
@@ -10146,7 +10163,7 @@ declare namespace chrome {
10146
10163
  /**
10147
10164
  * Returns HAR log that contains all known network requests.
10148
10165
  *
10149
- * @chrome-returns-extra since Pending
10166
+ * @chrome-returns-extra since Chrome 151
10150
10167
  * @returns A function that receives the HAR log when the request completes.
10151
10168
  */
10152
10169
  export function getHAR(): Promise<{[name: string]: any}>;
@@ -10182,11 +10199,22 @@ declare namespace chrome {
10182
10199
  */
10183
10200
  onSelectionChanged: events.Event<() => void>;
10184
10201
 
10202
+ /**
10203
+ * Creates a pane within panel's sidebar.
10204
+ *
10205
+ * @chrome-returns-extra since Pending
10206
+ * @param title Text that is displayed in sidebar caption.
10207
+ * @returns A callback invoked when the sidebar is created.
10208
+ */
10209
+ createSidebarPane(
10210
+
10211
+ title: string,
10212
+ ): Promise<ExtensionSidebarPane>;
10213
+
10185
10214
  /**
10186
10215
  * Creates a pane within panel's sidebar.
10187
10216
  *
10188
10217
  * @param title Text that is displayed in sidebar caption.
10189
- * @param callback A callback invoked when the sidebar is created.
10190
10218
  */
10191
10219
  createSidebarPane(
10192
10220
 
@@ -10211,11 +10239,22 @@ declare namespace chrome {
10211
10239
  */
10212
10240
  onSelectionChanged: events.Event<() => void>;
10213
10241
 
10242
+ /**
10243
+ * Creates a pane within panel's sidebar.
10244
+ *
10245
+ * @chrome-returns-extra since Pending
10246
+ * @param title Text that is displayed in sidebar caption.
10247
+ * @returns A callback invoked when the sidebar is created.
10248
+ */
10249
+ createSidebarPane(
10250
+
10251
+ title: string,
10252
+ ): Promise<ExtensionSidebarPane>;
10253
+
10214
10254
  /**
10215
10255
  * Creates a pane within panel's sidebar.
10216
10256
  *
10217
10257
  * @param title Text that is displayed in sidebar caption.
10218
- * @param callback A callback invoked when the sidebar is created.
10219
10258
  */
10220
10259
  createSidebarPane(
10221
10260
 
@@ -10306,12 +10345,26 @@ declare namespace chrome {
10306
10345
  height: string,
10307
10346
  ): void;
10308
10347
 
10348
+ /**
10349
+ * Sets an expression that is evaluated within the inspected page. The result is displayed in the sidebar pane.
10350
+ *
10351
+ * @chrome-returns-extra since Pending
10352
+ * @param expression An expression to be evaluated in context of the inspected page. JavaScript objects and DOM nodes are displayed in an expandable tree similar to the console/watch.
10353
+ * @param rootTitle An optional title for the root of the expression tree.
10354
+ * @returns A callback invoked after the sidebar pane is updated with the expression evaluation results.
10355
+ */
10356
+ setExpression(
10357
+
10358
+ expression: string,
10359
+
10360
+ rootTitle?: string,
10361
+ ): Promise<void>;
10362
+
10309
10363
  /**
10310
10364
  * Sets an expression that is evaluated within the inspected page. The result is displayed in the sidebar pane.
10311
10365
  *
10312
10366
  * @param expression An expression to be evaluated in context of the inspected page. JavaScript objects and DOM nodes are displayed in an expandable tree similar to the console/watch.
10313
10367
  * @param rootTitle An optional title for the root of the expression tree.
10314
- * @param callback A callback invoked after the sidebar pane is updated with the expression evaluation results.
10315
10368
  */
10316
10369
  setExpression(
10317
10370
 
@@ -10322,12 +10375,26 @@ declare namespace chrome {
10322
10375
  callback?: () => void,
10323
10376
  ): void;
10324
10377
 
10378
+ /**
10379
+ * Sets a JSON-compliant object to be displayed in the sidebar pane.
10380
+ *
10381
+ * @chrome-returns-extra since Pending
10382
+ * @param jsonObject An object to be displayed in context of the inspected page. Evaluated in the context of the caller (API client).
10383
+ * @param rootTitle An optional title for the root of the expression tree.
10384
+ * @returns A callback invoked after the sidebar is updated with the object.
10385
+ */
10386
+ setObject(
10387
+
10388
+ jsonObject: string,
10389
+
10390
+ rootTitle?: string,
10391
+ ): Promise<void>;
10392
+
10325
10393
  /**
10326
10394
  * Sets a JSON-compliant object to be displayed in the sidebar pane.
10327
10395
  *
10328
10396
  * @param jsonObject An object to be displayed in context of the inspected page. Evaluated in the context of the caller (API client).
10329
10397
  * @param rootTitle An optional title for the root of the expression tree.
10330
- * @param callback A callback invoked after the sidebar is updated with the object.
10331
10398
  */
10332
10399
  setObject(
10333
10400
 
@@ -10402,13 +10469,30 @@ declare namespace chrome {
10402
10469
  */
10403
10470
  export const themeName: string;
10404
10471
 
10472
+ /**
10473
+ * Creates an extension panel.
10474
+ *
10475
+ * @chrome-returns-extra since Pending
10476
+ * @param title Title that is displayed next to the extension icon in the Developer Tools toolbar.
10477
+ * @param iconPath Path of the panel's icon relative to the extension directory.
10478
+ * @param pagePath Path of the panel's HTML page relative to the extension directory.
10479
+ * @returns A function that is called when the panel is created.
10480
+ */
10481
+ export function create(
10482
+
10483
+ title: string,
10484
+
10485
+ iconPath: string,
10486
+
10487
+ pagePath: string,
10488
+ ): Promise<ExtensionPanel>;
10489
+
10405
10490
  /**
10406
10491
  * Creates an extension panel.
10407
10492
  *
10408
10493
  * @param title Title that is displayed next to the extension icon in the Developer Tools toolbar.
10409
10494
  * @param iconPath Path of the panel's icon relative to the extension directory.
10410
10495
  * @param pagePath Path of the panel's HTML page relative to the extension directory.
10411
- * @param callback A function that is called when the panel is created.
10412
10496
  */
10413
10497
  export function create(
10414
10498
 
@@ -10443,13 +10527,33 @@ declare namespace chrome {
10443
10527
  ) => void,
10444
10528
  ): void;
10445
10529
 
10530
+ /**
10531
+ * Requests DevTools to open a URL in a Developer Tools panel.
10532
+ *
10533
+ * @chrome-returns-extra since Pending
10534
+ * @param url The URL of the resource to open.
10535
+ * @param lineNumber Specifies the line number to scroll to when the resource is loaded.
10536
+ * @param columnNumber Specifies the column number to scroll to when the resource is loaded.
10537
+ * @returns A function that is called when the resource has been successfully loaded.
10538
+ */
10539
+ export function openResource(
10540
+
10541
+ url: string,
10542
+
10543
+ lineNumber: number,
10544
+
10545
+ /**
10546
+ * @since Chrome 114
10547
+ */
10548
+ columnNumber?: number,
10549
+ ): Promise<void>;
10550
+
10446
10551
  /**
10447
10552
  * Requests DevTools to open a URL in a Developer Tools panel.
10448
10553
  *
10449
10554
  * @param url The URL of the resource to open.
10450
10555
  * @param lineNumber Specifies the line number to scroll to when the resource is loaded.
10451
10556
  * @param columnNumber Specifies the column number to scroll to when the resource is loaded.
10452
- * @param callback A function that is called when the resource has been successfully loaded.
10453
10557
  */
10454
10558
  export function openResource(
10455
10559
 
@@ -19833,7 +19937,7 @@ declare namespace chrome {
19833
19937
  /**
19834
19938
  * Use the `chrome.mimeHandler` API to handle MIME type streams in third-party extensions.
19835
19939
  *
19836
- * @since Pending
19940
+ * @since Chrome 151
19837
19941
  * @chrome-manifest mime_types_handler
19838
19942
  * @chrome-platform chromeos
19839
19943
  * @chrome-platform linux
@@ -23946,9 +24050,9 @@ declare namespace chrome {
23946
24050
  /**
23947
24051
  * Categories of Autofill data.
23948
24052
  *
23949
- * @since Pending
24053
+ * @since Chrome 151
23950
24054
  */
23951
- export type AutofillBlockedType = "contact_info" | "payments" | "identity_docs" | "travel";
24055
+ export type AutofillBlockedType = "contact_info" | "payments" | "identity_docs" | "travel" | "all";
23952
24056
 
23953
24057
  /**
23954
24058
  * Settings that influence Chrome's handling of network connections in general.
package/index.d.ts CHANGED
@@ -14,8 +14,8 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- // Generated on Thu Jul 09 2026 22:45:34 GMT+0000 (Coordinated Universal Time)
18
- // Built at 57d55873c06e38b910331c28156c39a076144649
17
+ // Generated on Fri Jul 24 2026 11:14:07 GMT+0000 (Coordinated Universal Time)
18
+ // Built at b5e125696a968f01ff8f786798a32e42230f688d
19
19
 
20
20
  // Includes MV3+ APIs only.
21
21
 
@@ -818,6 +818,13 @@ declare namespace chrome {
818
818
 
819
819
  export interface AlarmCreateInfo {
820
820
 
821
+ /**
822
+ * Name of this alarm.
823
+ *
824
+ * @since Pending
825
+ */
826
+ name?: string;
827
+
821
828
  /**
822
829
  * Time at which the alarm should fire, in milliseconds past the epoch (e.g. `Date.now() + n`).
823
830
  */
@@ -1877,6 +1884,8 @@ declare namespace chrome {
1877
1884
 
1878
1885
  /**
1879
1886
  * Websites' appcaches.
1887
+ *
1888
+ * @deprecated Support for appcache has been removed. This data type will be ignored.
1880
1889
  */
1881
1890
  appcache?: boolean;
1882
1891
 
@@ -1958,6 +1967,8 @@ declare namespace chrome {
1958
1967
 
1959
1968
  /**
1960
1969
  * Websites' WebSQL data.
1970
+ *
1971
+ * @deprecated Support for WebSQL has been removed. This data type will be ignored.
1961
1972
  */
1962
1973
  webSQL?: boolean;
1963
1974
  }
@@ -2038,6 +2049,7 @@ declare namespace chrome {
2038
2049
  *
2039
2050
  * @chrome-returns-extra since Chrome 96
2040
2051
  * @returns Resolves when websites' appcache data has been cleared.
2052
+ * @deprecated Support for appcache has been removed. This function has no effect.
2041
2053
  */
2042
2054
  export function removeAppcache(
2043
2055
 
@@ -2046,6 +2058,8 @@ declare namespace chrome {
2046
2058
 
2047
2059
  /**
2048
2060
  * Clears websites' appcache data.
2061
+ *
2062
+ * @deprecated Support for appcache has been removed. This function has no effect.
2049
2063
  */
2050
2064
  export function removeAppcache(
2051
2065
 
@@ -2327,6 +2341,7 @@ declare namespace chrome {
2327
2341
  *
2328
2342
  * @chrome-returns-extra since Chrome 96
2329
2343
  * @returns Resolves when websites' WebSQL databases have been cleared.
2344
+ * @deprecated Support for WebSQL has been removed. This function has no effect.
2330
2345
  */
2331
2346
  export function removeWebSQL(
2332
2347
 
@@ -2335,6 +2350,8 @@ declare namespace chrome {
2335
2350
 
2336
2351
  /**
2337
2352
  * Clears websites' WebSQL data.
2353
+ *
2354
+ * @deprecated Support for WebSQL has been removed. This function has no effect.
2338
2355
  */
2339
2356
  export function removeWebSQL(
2340
2357
 
@@ -6031,7 +6048,7 @@ declare namespace chrome {
6031
6048
  /**
6032
6049
  * Gets the content of the resource.
6033
6050
  *
6034
- * @chrome-returns-extra since Pending
6051
+ * @chrome-returns-extra since Chrome 151
6035
6052
  * @returns A function that receives resource content when the request completes.
6036
6053
  */
6037
6054
  getContent(): Promise<{
@@ -6057,7 +6074,7 @@ declare namespace chrome {
6057
6074
  */
6058
6075
  callback?: (
6059
6076
  /**
6060
- * @since Pending
6077
+ * @since Chrome 151
6061
6078
  */
6062
6079
  response: {
6063
6080
 
@@ -6077,7 +6094,7 @@ declare namespace chrome {
6077
6094
  /**
6078
6095
  * Sets the content of the resource.
6079
6096
  *
6080
- * @chrome-returns-extra since Pending
6097
+ * @chrome-returns-extra since Chrome 151
6081
6098
  * @param content New content of the resource. Only resources with the text type are currently supported.
6082
6099
  * @param commit True if the user has finished editing the resource, and the new content of the resource should be persisted; false if this is a minor change sent in progress of the user editing the resource.
6083
6100
  * @returns A function called upon request completion.
@@ -6135,7 +6152,7 @@ declare namespace chrome {
6135
6152
  /**
6136
6153
  * Evaluates a JavaScript expression in the context of the main frame of the inspected page. The expression must evaluate to a JSON-compliant object, otherwise an exception is thrown. The eval function can report either a DevTools-side error or a JavaScript exception that occurs during evaluation. In either case, the `result` parameter of the callback is `undefined`. In the case of a DevTools-side error, the `isException` parameter is non-null and has `isError` set to true and `code` set to an error code. In the case of a JavaScript error, `isException` is set to true and `value` is set to the string value of thrown object.
6137
6154
  *
6138
- * @chrome-returns-extra since Pending
6155
+ * @chrome-returns-extra since Chrome 151
6139
6156
  * @param expression An expression to evaluate.
6140
6157
  * @param options The options parameter can contain one or more options.
6141
6158
  * @returns A function called when evaluation completes.
@@ -6242,7 +6259,7 @@ declare namespace chrome {
6242
6259
  */
6243
6260
  callback?: (
6244
6261
  /**
6245
- * @since Pending
6262
+ * @since Chrome 151
6246
6263
  */
6247
6264
  response: {
6248
6265
 
@@ -6317,7 +6334,7 @@ declare namespace chrome {
6317
6334
  /**
6318
6335
  * Retrieves the list of resources from the inspected page.
6319
6336
  *
6320
- * @chrome-returns-extra since Pending
6337
+ * @chrome-returns-extra since Chrome 151
6321
6338
  * @returns A function that receives the list of resources when the request completes.
6322
6339
  */
6323
6340
  export function getResources(): Promise<Resource[]>;
@@ -6351,7 +6368,7 @@ declare namespace chrome {
6351
6368
  /**
6352
6369
  * Returns content of the response body.
6353
6370
  *
6354
- * @chrome-returns-extra since Pending
6371
+ * @chrome-returns-extra since Chrome 151
6355
6372
  * @returns A function that receives the response body when the request completes.
6356
6373
  */
6357
6374
  getContent(): Promise<{
@@ -6377,7 +6394,7 @@ declare namespace chrome {
6377
6394
  */
6378
6395
  callback?: (
6379
6396
  /**
6380
- * @since Pending
6397
+ * @since Chrome 151
6381
6398
  */
6382
6399
  response: {
6383
6400
 
@@ -6412,7 +6429,7 @@ declare namespace chrome {
6412
6429
  /**
6413
6430
  * Returns HAR log that contains all known network requests.
6414
6431
  *
6415
- * @chrome-returns-extra since Pending
6432
+ * @chrome-returns-extra since Chrome 151
6416
6433
  * @returns A function that receives the HAR log when the request completes.
6417
6434
  */
6418
6435
  export function getHAR(): Promise<{[name: string]: any}>;
@@ -6448,11 +6465,22 @@ declare namespace chrome {
6448
6465
  */
6449
6466
  onSelectionChanged: events.Event<() => void>;
6450
6467
 
6468
+ /**
6469
+ * Creates a pane within panel's sidebar.
6470
+ *
6471
+ * @chrome-returns-extra since Pending
6472
+ * @param title Text that is displayed in sidebar caption.
6473
+ * @returns A callback invoked when the sidebar is created.
6474
+ */
6475
+ createSidebarPane(
6476
+
6477
+ title: string,
6478
+ ): Promise<ExtensionSidebarPane>;
6479
+
6451
6480
  /**
6452
6481
  * Creates a pane within panel's sidebar.
6453
6482
  *
6454
6483
  * @param title Text that is displayed in sidebar caption.
6455
- * @param callback A callback invoked when the sidebar is created.
6456
6484
  */
6457
6485
  createSidebarPane(
6458
6486
 
@@ -6477,11 +6505,22 @@ declare namespace chrome {
6477
6505
  */
6478
6506
  onSelectionChanged: events.Event<() => void>;
6479
6507
 
6508
+ /**
6509
+ * Creates a pane within panel's sidebar.
6510
+ *
6511
+ * @chrome-returns-extra since Pending
6512
+ * @param title Text that is displayed in sidebar caption.
6513
+ * @returns A callback invoked when the sidebar is created.
6514
+ */
6515
+ createSidebarPane(
6516
+
6517
+ title: string,
6518
+ ): Promise<ExtensionSidebarPane>;
6519
+
6480
6520
  /**
6481
6521
  * Creates a pane within panel's sidebar.
6482
6522
  *
6483
6523
  * @param title Text that is displayed in sidebar caption.
6484
- * @param callback A callback invoked when the sidebar is created.
6485
6524
  */
6486
6525
  createSidebarPane(
6487
6526
 
@@ -6572,12 +6611,26 @@ declare namespace chrome {
6572
6611
  height: string,
6573
6612
  ): void;
6574
6613
 
6614
+ /**
6615
+ * Sets an expression that is evaluated within the inspected page. The result is displayed in the sidebar pane.
6616
+ *
6617
+ * @chrome-returns-extra since Pending
6618
+ * @param expression An expression to be evaluated in context of the inspected page. JavaScript objects and DOM nodes are displayed in an expandable tree similar to the console/watch.
6619
+ * @param rootTitle An optional title for the root of the expression tree.
6620
+ * @returns A callback invoked after the sidebar pane is updated with the expression evaluation results.
6621
+ */
6622
+ setExpression(
6623
+
6624
+ expression: string,
6625
+
6626
+ rootTitle?: string,
6627
+ ): Promise<void>;
6628
+
6575
6629
  /**
6576
6630
  * Sets an expression that is evaluated within the inspected page. The result is displayed in the sidebar pane.
6577
6631
  *
6578
6632
  * @param expression An expression to be evaluated in context of the inspected page. JavaScript objects and DOM nodes are displayed in an expandable tree similar to the console/watch.
6579
6633
  * @param rootTitle An optional title for the root of the expression tree.
6580
- * @param callback A callback invoked after the sidebar pane is updated with the expression evaluation results.
6581
6634
  */
6582
6635
  setExpression(
6583
6636
 
@@ -6588,12 +6641,26 @@ declare namespace chrome {
6588
6641
  callback?: () => void,
6589
6642
  ): void;
6590
6643
 
6644
+ /**
6645
+ * Sets a JSON-compliant object to be displayed in the sidebar pane.
6646
+ *
6647
+ * @chrome-returns-extra since Pending
6648
+ * @param jsonObject An object to be displayed in context of the inspected page. Evaluated in the context of the caller (API client).
6649
+ * @param rootTitle An optional title for the root of the expression tree.
6650
+ * @returns A callback invoked after the sidebar is updated with the object.
6651
+ */
6652
+ setObject(
6653
+
6654
+ jsonObject: string,
6655
+
6656
+ rootTitle?: string,
6657
+ ): Promise<void>;
6658
+
6591
6659
  /**
6592
6660
  * Sets a JSON-compliant object to be displayed in the sidebar pane.
6593
6661
  *
6594
6662
  * @param jsonObject An object to be displayed in context of the inspected page. Evaluated in the context of the caller (API client).
6595
6663
  * @param rootTitle An optional title for the root of the expression tree.
6596
- * @param callback A callback invoked after the sidebar is updated with the object.
6597
6664
  */
6598
6665
  setObject(
6599
6666
 
@@ -6668,13 +6735,30 @@ declare namespace chrome {
6668
6735
  */
6669
6736
  export const themeName: string;
6670
6737
 
6738
+ /**
6739
+ * Creates an extension panel.
6740
+ *
6741
+ * @chrome-returns-extra since Pending
6742
+ * @param title Title that is displayed next to the extension icon in the Developer Tools toolbar.
6743
+ * @param iconPath Path of the panel's icon relative to the extension directory.
6744
+ * @param pagePath Path of the panel's HTML page relative to the extension directory.
6745
+ * @returns A function that is called when the panel is created.
6746
+ */
6747
+ export function create(
6748
+
6749
+ title: string,
6750
+
6751
+ iconPath: string,
6752
+
6753
+ pagePath: string,
6754
+ ): Promise<ExtensionPanel>;
6755
+
6671
6756
  /**
6672
6757
  * Creates an extension panel.
6673
6758
  *
6674
6759
  * @param title Title that is displayed next to the extension icon in the Developer Tools toolbar.
6675
6760
  * @param iconPath Path of the panel's icon relative to the extension directory.
6676
6761
  * @param pagePath Path of the panel's HTML page relative to the extension directory.
6677
- * @param callback A function that is called when the panel is created.
6678
6762
  */
6679
6763
  export function create(
6680
6764
 
@@ -6709,13 +6793,33 @@ declare namespace chrome {
6709
6793
  ) => void,
6710
6794
  ): void;
6711
6795
 
6796
+ /**
6797
+ * Requests DevTools to open a URL in a Developer Tools panel.
6798
+ *
6799
+ * @chrome-returns-extra since Pending
6800
+ * @param url The URL of the resource to open.
6801
+ * @param lineNumber Specifies the line number to scroll to when the resource is loaded.
6802
+ * @param columnNumber Specifies the column number to scroll to when the resource is loaded.
6803
+ * @returns A function that is called when the resource has been successfully loaded.
6804
+ */
6805
+ export function openResource(
6806
+
6807
+ url: string,
6808
+
6809
+ lineNumber: number,
6810
+
6811
+ /**
6812
+ * @since Chrome 114
6813
+ */
6814
+ columnNumber?: number,
6815
+ ): Promise<void>;
6816
+
6712
6817
  /**
6713
6818
  * Requests DevTools to open a URL in a Developer Tools panel.
6714
6819
  *
6715
6820
  * @param url The URL of the resource to open.
6716
6821
  * @param lineNumber Specifies the line number to scroll to when the resource is loaded.
6717
6822
  * @param columnNumber Specifies the column number to scroll to when the resource is loaded.
6718
- * @param callback A function that is called when the resource has been successfully loaded.
6719
6823
  */
6720
6824
  export function openResource(
6721
6825
 
@@ -14924,7 +15028,7 @@ declare namespace chrome {
14924
15028
  /**
14925
15029
  * Use the `chrome.mimeHandler` API to handle MIME type streams in third-party extensions.
14926
15030
  *
14927
- * @since Pending
15031
+ * @since Chrome 151
14928
15032
  * @chrome-manifest mime_types_handler
14929
15033
  * @chrome-platform chromeos
14930
15034
  * @chrome-platform linux
@@ -16750,9 +16854,9 @@ declare namespace chrome {
16750
16854
  /**
16751
16855
  * Categories of Autofill data.
16752
16856
  *
16753
- * @since Pending
16857
+ * @since Chrome 151
16754
16858
  */
16755
- export type AutofillBlockedType = "contact_info" | "payments" | "identity_docs" | "travel";
16859
+ export type AutofillBlockedType = "contact_info" | "payments" | "identity_docs" | "travel" | "all";
16756
16860
 
16757
16861
  /**
16758
16862
  * Settings that influence Chrome's handling of network connections in general.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "type": "module",
6
6
  "name": "chrome-types",
7
7
  "config": {
8
- "build-hash": "2b8df6073955a81d"
8
+ "build-hash": "8eeb7547d18910f3"
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
@@ -16,5 +16,5 @@
16
16
  "url": "https://github.com/GoogleChrome/chrome-types/issues"
17
17
  },
18
18
  "homepage": "https://github.com/GoogleChrome/chrome-types",
19
- "version": "0.1.434"
19
+ "version": "0.1.436"
20
20
  }