devtools-protocol 0.0.1463868 → 0.0.1465725

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
  {
@@ -7407,7 +7415,8 @@
7407
7415
  "type": "string",
7408
7416
  "enum": [
7409
7417
  "PopoverTarget",
7410
- "InterestTarget"
7418
+ "InterestTarget",
7419
+ "CommandFor"
7411
7420
  ]
7412
7421
  }
7413
7422
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1463868",
3
+ "version": "0.0.1465725",
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
@@ -3513,6 +3518,9 @@ domain DOM
3513
3518
  PopoverTarget
3514
3519
  # Get the interest target for a given element.
3515
3520
  InterestTarget
3521
+ # Get the commandfor target for a given element. In this case, this given
3522
+ # element can only be an HTMLButtonElement.
3523
+ CommandFor
3516
3524
  returns
3517
3525
  # NodeId of the element matching the queried relation.
3518
3526
  NodeId nodeId
@@ -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.
@@ -7110,6 +7116,7 @@ export namespace Protocol {
7110
7116
  export const enum GetElementByRelationRequestRelation {
7111
7117
  PopoverTarget = 'PopoverTarget',
7112
7118
  InterestTarget = 'InterestTarget',
7119
+ CommandFor = 'CommandFor',
7113
7120
  }
7114
7121
 
7115
7122
  export interface GetElementByRelationRequest {
@@ -7120,7 +7127,7 @@ export namespace Protocol {
7120
7127
  /**
7121
7128
  * Type of relation to get. (GetElementByRelationRequestRelation enum)
7122
7129
  */
7123
- relation: ('PopoverTarget' | 'InterestTarget');
7130
+ relation: ('PopoverTarget' | 'InterestTarget' | 'CommandFor');
7124
7131
  }
7125
7132
 
7126
7133
  export interface GetElementByRelationResponse {