devtools-protocol 0.0.1464554 → 0.0.1466870

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.
@@ -3543,6 +3543,13 @@
3543
3543
  "completed",
3544
3544
  "canceled"
3545
3545
  ]
3546
+ },
3547
+ {
3548
+ "name": "filePath",
3549
+ "description": "If download is \"completed\", provides the path of the downloaded file.\nDepending on the platform, it is not guaranteed to be set, nor the file\nis guaranteed to exist.",
3550
+ "experimental": true,
3551
+ "optional": true,
3552
+ "type": "string"
3546
3553
  }
3547
3554
  ]
3548
3555
  }
@@ -6288,7 +6295,8 @@
6288
6295
  "placeholder",
6289
6296
  "file-selector-button",
6290
6297
  "details-content",
6291
- "picker"
6298
+ "picker",
6299
+ "permission-icon"
6292
6300
  ]
6293
6301
  },
6294
6302
  {
@@ -22885,7 +22893,7 @@
22885
22893
  },
22886
22894
  {
22887
22895
  "name": "workletOrdinal",
22888
- "description": "If the method is called on a shared storage worklet, or as part of\na shared storage worklet script, it will have a number for the\nassociated worklet, denoting the (0-indexed) order of the worklet's\ncreation relative to all other shared storage worklets created by\ndocuments using the current storage partition.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet,\nrun, selectURL, and any other SharedStorageAccessMethod when the\nSharedStorageAccessScope is sharedStorageWorklet.\nTODO(crbug.com/401011862): Pass this only for addModule & createWorklet.",
22896
+ "description": "A number denoting the (0-based) order of the worklet's\ncreation relative to all other shared storage worklets created by\ndocuments using the current storage partition.\nPresent only for SharedStorageAccessMethods: addModule, createWorklet.",
22889
22897
  "optional": true,
22890
22898
  "type": "integer"
22891
22899
  },
@@ -25597,7 +25605,7 @@
25597
25605
  "properties": [
25598
25606
  {
25599
25607
  "name": "recordMode",
25600
- "description": "Controls how the trace buffer stores data.",
25608
+ "description": "Controls how the trace buffer stores data. The default is `recordUntilFull`.",
25601
25609
  "experimental": true,
25602
25610
  "optional": true,
25603
25611
  "type": "string",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1464554",
3
+ "version": "0.0.1466870",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -1634,6 +1634,10 @@ domain Browser
1634
1634
  inProgress
1635
1635
  completed
1636
1636
  canceled
1637
+ # If download is "completed", provides the path of the downloaded file.
1638
+ # Depending on the platform, it is not guaranteed to be set, nor the file
1639
+ # is guaranteed to exist.
1640
+ experimental optional string filePath
1637
1641
 
1638
1642
  # Close browser gracefully.
1639
1643
  command close
@@ -3008,6 +3012,7 @@ domain DOM
3008
3012
  file-selector-button
3009
3013
  details-content
3010
3014
  picker
3015
+ permission-icon
3011
3016
 
3012
3017
  # Shadow root type.
3013
3018
  type ShadowRootType extends string
@@ -10833,15 +10838,10 @@ experimental domain Storage
10833
10838
  # Whether or not to set an entry for a key if that key is already present.
10834
10839
  # Present only for SharedStorageAccessMethod: set.
10835
10840
  optional boolean ignoreIfPresent
10836
- # If the method is called on a shared storage worklet, or as part of
10837
- # a shared storage worklet script, it will have a number for the
10838
- # associated worklet, denoting the (0-indexed) order of the worklet's
10841
+ # A number denoting the (0-based) order of the worklet's
10839
10842
  # creation relative to all other shared storage worklets created by
10840
10843
  # documents using the current storage partition.
10841
- # Present only for SharedStorageAccessMethods: addModule, createWorklet,
10842
- # run, selectURL, and any other SharedStorageAccessMethod when the
10843
- # SharedStorageAccessScope is sharedStorageWorklet.
10844
- # TODO(crbug.com/401011862): Pass this only for addModule & createWorklet.
10844
+ # Present only for SharedStorageAccessMethods: addModule, createWorklet.
10845
10845
  optional integer workletOrdinal
10846
10846
  # Hex representation of the DevTools token used as the TargetID for the
10847
10847
  # associated shared storage worklet.
@@ -12031,7 +12031,7 @@ domain Tracing
12031
12031
 
12032
12032
  type TraceConfig extends object
12033
12033
  properties
12034
- # Controls how the trace buffer stores data.
12034
+ # Controls how the trace buffer stores data. The default is `recordUntilFull`.
12035
12035
  experimental optional enum recordMode
12036
12036
  recordUntilFull
12037
12037
  recordContinuously
@@ -4596,6 +4596,12 @@ export namespace Protocol {
4596
4596
  * Download status. (DownloadProgressEventState enum)
4597
4597
  */
4598
4598
  state: ('inProgress' | 'completed' | 'canceled');
4599
+ /**
4600
+ * If download is "completed", provides the path of the downloaded file.
4601
+ * Depending on the platform, it is not guaranteed to be set, nor the file
4602
+ * is guaranteed to exist.
4603
+ */
4604
+ filePath?: string;
4599
4605
  }
4600
4606
  }
4601
4607
 
@@ -6376,7 +6382,7 @@ export namespace Protocol {
6376
6382
  /**
6377
6383
  * Pseudo element type.
6378
6384
  */
6379
- export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'picker-icon' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker');
6385
+ export type PseudoType = ('first-line' | 'first-letter' | 'checkmark' | 'before' | 'after' | 'picker-icon' | 'marker' | 'backdrop' | 'column' | 'selection' | 'search-text' | 'target-text' | 'spelling-error' | 'grammar-error' | 'highlight' | 'first-line-inherited' | 'scroll-marker' | 'scroll-marker-group' | 'scroll-button' | 'scrollbar' | 'scrollbar-thumb' | 'scrollbar-button' | 'scrollbar-track' | 'scrollbar-track-piece' | 'scrollbar-corner' | 'resizer' | 'input-list-button' | 'view-transition' | 'view-transition-group' | 'view-transition-image-pair' | 'view-transition-old' | 'view-transition-new' | 'placeholder' | 'file-selector-button' | 'details-content' | 'picker' | 'permission-icon');
6380
6386
 
6381
6387
  /**
6382
6388
  * Shadow root type.
@@ -16694,15 +16700,10 @@ export namespace Protocol {
16694
16700
  */
16695
16701
  ignoreIfPresent?: boolean;
16696
16702
  /**
16697
- * If the method is called on a shared storage worklet, or as part of
16698
- * a shared storage worklet script, it will have a number for the
16699
- * associated worklet, denoting the (0-indexed) order of the worklet's
16703
+ * A number denoting the (0-based) order of the worklet's
16700
16704
  * creation relative to all other shared storage worklets created by
16701
16705
  * documents using the current storage partition.
16702
- * Present only for SharedStorageAccessMethods: addModule, createWorklet,
16703
- * run, selectURL, and any other SharedStorageAccessMethod when the
16704
- * SharedStorageAccessScope is sharedStorageWorklet.
16705
- * TODO(crbug.com/401011862): Pass this only for addModule & createWorklet.
16706
+ * Present only for SharedStorageAccessMethods: addModule, createWorklet.
16706
16707
  */
16707
16708
  workletOrdinal?: integer;
16708
16709
  /**
@@ -18191,7 +18192,7 @@ export namespace Protocol {
18191
18192
 
18192
18193
  export interface TraceConfig {
18193
18194
  /**
18194
- * Controls how the trace buffer stores data. (TraceConfigRecordMode enum)
18195
+ * Controls how the trace buffer stores data. The default is `recordUntilFull`. (TraceConfigRecordMode enum)
18195
18196
  */
18196
18197
  recordMode?: ('recordUntilFull' | 'recordContinuously' | 'recordAsMuchAsPossible' | 'echoToConsole');
18197
18198
  /**