devtools-protocol 0.0.1672245 → 0.0.1673900

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.
@@ -8897,6 +8897,23 @@
8897
8897
  }
8898
8898
  }
8899
8899
  ]
8900
+ },
8901
+ {
8902
+ "name": "forceShowInterest",
8903
+ "description": "When enabling, this API forces an element to gain interest in its target,\nkeeping interest active until disabled.",
8904
+ "experimental": true,
8905
+ "parameters": [
8906
+ {
8907
+ "name": "nodeId",
8908
+ "description": "Id of the interest invoker HTMLElement.",
8909
+ "$ref": "NodeId"
8910
+ },
8911
+ {
8912
+ "name": "enable",
8913
+ "description": "If true, opens and holds interest. If false, releases forced interest.",
8914
+ "type": "boolean"
8915
+ }
8916
+ ]
8900
8917
  }
8901
8918
  ],
8902
8919
  "events": [
@@ -22673,14 +22690,6 @@
22673
22690
  "name": "name",
22674
22691
  "type": "string"
22675
22692
  },
22676
- {
22677
- "name": "icons",
22678
- "optional": true,
22679
- "type": "array",
22680
- "items": {
22681
- "$ref": "ImageResource"
22682
- }
22683
- },
22684
22693
  {
22685
22694
  "name": "accepts",
22686
22695
  "description": "Mimic a map, name is the key, accepts is the value.",
@@ -30315,7 +30324,6 @@
30315
30324
  {
30316
30325
  "name": "signCount",
30317
30326
  "description": "Signature counter. Must be equal to or greater than -1.\nIf -1, the credential won't have an associated signature counter, and\nevery assertion operation will report a value of 0.\nSee https://w3c.github.io/webauthn/#signature-counter",
30318
- "optional": true,
30319
30327
  "type": "integer"
30320
30328
  },
30321
30329
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1672245",
3
+ "version": "0.0.1673900",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -827,6 +827,15 @@ domain DOM
827
827
  # List of popovers that were closed in order to respect popover stacking order.
828
828
  array of NodeId nodeIds
829
829
 
830
+ # When enabling, this API forces an element to gain interest in its target,
831
+ # keeping interest active until disabled.
832
+ experimental command forceShowInterest
833
+ parameters
834
+ # Id of the interest invoker HTMLElement.
835
+ NodeId nodeId
836
+ # If true, opens and holds interest. If false, releases forced interest.
837
+ boolean enable
838
+
830
839
  # Fired when `Element`'s attribute is modified.
831
840
  event attributeModified
832
841
  parameters
@@ -684,7 +684,6 @@ domain Page
684
684
  properties
685
685
  string action
686
686
  string name
687
- optional array of ImageResource icons
688
687
  # Mimic a map, name is the key, accepts is the value.
689
688
  optional array of FileFilter accepts
690
689
  # Won't repeat the enums, using string for easy comparison. Same as the
@@ -102,7 +102,7 @@ experimental domain WebAuthn
102
102
  # If -1, the credential won't have an associated signature counter, and
103
103
  # every assertion operation will report a value of 0.
104
104
  # See https://w3c.github.io/webauthn/#signature-counter
105
- optional integer signCount
105
+ integer signCount
106
106
  # The large blob associated with the credential.
107
107
  # See https://w3c.github.io/webauthn/#sctn-large-blob-extension
108
108
  optional binary largeBlob
@@ -3023,6 +3023,15 @@ export namespace ProtocolMapping {
3023
3023
  paramsType: [Protocol.DOM.ForceShowPopoverRequest];
3024
3024
  returnType: Protocol.DOM.ForceShowPopoverResponse;
3025
3025
  };
3026
+ /**
3027
+ * When enabling, this API forces an element to gain interest in its target,
3028
+ * keeping interest active until disabled.
3029
+ * @experimental
3030
+ */
3031
+ 'DOM.forceShowInterest': {
3032
+ paramsType: [Protocol.DOM.ForceShowInterestRequest];
3033
+ returnType: void;
3034
+ };
3026
3035
  /**
3027
3036
  * Returns event listeners of the given object.
3028
3037
  */
@@ -1855,6 +1855,13 @@ export namespace ProtocolProxyApi {
1855
1855
  */
1856
1856
  forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<Protocol.DOM.ForceShowPopoverResponse>;
1857
1857
 
1858
+ /**
1859
+ * When enabling, this API forces an element to gain interest in its target,
1860
+ * keeping interest active until disabled.
1861
+ * @experimental
1862
+ */
1863
+ forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<void>;
1864
+
1858
1865
  /**
1859
1866
  * Fired when `Element`'s attribute is modified.
1860
1867
  */
@@ -1945,6 +1945,13 @@ export namespace ProtocolTestsProxyApi {
1945
1945
  */
1946
1946
  forceShowPopover(params: Protocol.DOM.ForceShowPopoverRequest): Promise<{id: number, result: Protocol.DOM.ForceShowPopoverResponse, sessionId: string}>;
1947
1947
 
1948
+ /**
1949
+ * When enabling, this API forces an element to gain interest in its target,
1950
+ * keeping interest active until disabled.
1951
+ * @experimental
1952
+ */
1953
+ forceShowInterest(params: Protocol.DOM.ForceShowInterestRequest): Promise<{id: number, result: void, sessionId: string}>;
1954
+
1948
1955
  /**
1949
1956
  * Fired when `Element`'s attribute is modified.
1950
1957
  */
@@ -8120,6 +8120,17 @@ export namespace Protocol {
8120
8120
  nodeIds: NodeId[];
8121
8121
  }
8122
8122
 
8123
+ export interface ForceShowInterestRequest {
8124
+ /**
8125
+ * Id of the interest invoker HTMLElement.
8126
+ */
8127
+ nodeId: NodeId;
8128
+ /**
8129
+ * If true, opens and holds interest. If false, releases forced interest.
8130
+ */
8131
+ enable: boolean;
8132
+ }
8133
+
8123
8134
  /**
8124
8135
  * Fired when `Element`'s attribute is modified.
8125
8136
  */
@@ -17189,7 +17200,6 @@ export namespace Protocol {
17189
17200
  export interface FileHandler {
17190
17201
  action: string;
17191
17202
  name: string;
17192
- icons?: ImageResource[];
17193
17203
  /**
17194
17204
  * Mimic a map, name is the key, accepts is the value.
17195
17205
  */
@@ -21846,7 +21856,7 @@ export namespace Protocol {
21846
21856
  * every assertion operation will report a value of 0.
21847
21857
  * See https://w3c.github.io/webauthn/#signature-counter
21848
21858
  */
21849
- signCount?: integer;
21859
+ signCount: integer;
21850
21860
  /**
21851
21861
  * The large blob associated with the credential.
21852
21862
  * See https://w3c.github.io/webauthn/#sctn-large-blob-extension (Encoded as a base64 string when passed over JSON)