devtools-protocol 0.0.1746437 → 0.0.1748923

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.
@@ -28907,7 +28907,7 @@
28907
28907
  },
28908
28908
  {
28909
28909
  "name": "subtype",
28910
- "description": "Provides additional details for specific target types. For example, for\nthe type of \"page\", this may be set to \"prerender\".",
28910
+ "description": "Provides additional details for specific target types. For example, for\nthe type of \"page\", this may be set to \"prerender\", and for \"tab\", this\nmay be set to \"unloaded\". An unloaded tab has a history entry, but no\ndocument for it: for example, after the tab was discarded, after\nsession restore without load, or after the renderer crashed. The tab\nstays unloaded until a new document commits. A new tab that has not\nnavigated is not unloaded. Target.targetInfoChanged reports changes of\nthis value for tabs.",
28911
28911
  "experimental": true,
28912
28912
  "optional": true,
28913
28913
  "type": "string"
@@ -2426,13 +2426,13 @@
2426
2426
  },
2427
2427
  {
2428
2428
  "name": "value",
2429
- "description": "Remote object value in case of primitive values or JSON values (if it was requested).",
2429
+ "description": "Remote object value in case of primitive values or JSON values (if it was requested).\nNot set in `deep` serialization mode, see `deepSerializedValue`.",
2430
2430
  "optional": true,
2431
2431
  "type": "any"
2432
2432
  },
2433
2433
  {
2434
2434
  "name": "unserializableValue",
2435
- "description": "Primitive value which can not be JSON-stringified does not have `value`, but gets this\nproperty.",
2435
+ "description": "Primitive value which can not be JSON-stringified does not have `value`, but gets this\nproperty. Not set in `deep` serialization mode, see `deepSerializedValue`.",
2436
2436
  "optional": true,
2437
2437
  "$ref": "UnserializableValue"
2438
2438
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1746437",
3
+ "version": "0.0.1748923",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -34,7 +34,13 @@ domain Target
34
34
  experimental optional Page.FrameId parentFrameId
35
35
  experimental optional Browser.BrowserContextID browserContextId
36
36
  # Provides additional details for specific target types. For example, for
37
- # the type of "page", this may be set to "prerender".
37
+ # the type of "page", this may be set to "prerender", and for "tab", this
38
+ # may be set to "unloaded". An unloaded tab has a history entry, but no
39
+ # document for it: for example, after the tab was discarded, after
40
+ # session restore without load, or after the renderer crashed. The tab
41
+ # stays unloaded until a new document commits. A new tab that has not
42
+ # navigated is not unloaded. Target.targetInfoChanged reports changes of
43
+ # this value for tabs.
38
44
  experimental optional string subtype
39
45
  # Embedder-specific target metadata. This is only set for targets of
40
46
  # type "tab".
@@ -1068,7 +1068,8 @@ domain Runtime
1068
1068
  properties
1069
1069
  enum serialization
1070
1070
  # Whether the result should be deep-serialized. The result is put into
1071
- # `deepSerializedValue` and `ObjectId` is provided.
1071
+ # `deepSerializedValue`; `objectId` is provided for objects and symbols.
1072
+ # `value` and `unserializableValue` are not set.
1072
1073
  deep
1073
1074
  # Whether the result is expected to be a JSON object which should be sent by value.
1074
1075
  # The result is put either into `value` or into `unserializableValue`. Synonym of
@@ -1170,9 +1171,10 @@ domain Runtime
1170
1171
  # Object class (constructor) name. Specified for `object` type values only.
1171
1172
  optional string className
1172
1173
  # Remote object value in case of primitive values or JSON values (if it was requested).
1174
+ # Not set in `deep` serialization mode, see `deepSerializedValue`.
1173
1175
  optional any value
1174
1176
  # Primitive value which can not be JSON-stringified does not have `value`, but gets this
1175
- # property.
1177
+ # property. Not set in `deep` serialization mode, see `deepSerializedValue`.
1176
1178
  optional UnserializableValue unserializableValue
1177
1179
  # String representation of the object.
1178
1180
  optional string description
@@ -1748,11 +1748,12 @@ export namespace Protocol {
1748
1748
  className?: string;
1749
1749
  /**
1750
1750
  * Remote object value in case of primitive values or JSON values (if it was requested).
1751
+ * Not set in `deep` serialization mode, see `deepSerializedValue`.
1751
1752
  */
1752
1753
  value?: any;
1753
1754
  /**
1754
1755
  * Primitive value which can not be JSON-stringified does not have `value`, but gets this
1755
- * property.
1756
+ * property. Not set in `deep` serialization mode, see `deepSerializedValue`.
1756
1757
  */
1757
1758
  unserializableValue?: UnserializableValue;
1758
1759
  /**
@@ -20924,7 +20925,13 @@ export namespace Protocol {
20924
20925
  browserContextId?: Browser.BrowserContextID;
20925
20926
  /**
20926
20927
  * Provides additional details for specific target types. For example, for
20927
- * the type of "page", this may be set to "prerender".
20928
+ * the type of "page", this may be set to "prerender", and for "tab", this
20929
+ * may be set to "unloaded". An unloaded tab has a history entry, but no
20930
+ * document for it: for example, after the tab was discarded, after
20931
+ * session restore without load, or after the renderer crashed. The tab
20932
+ * stays unloaded until a new document commits. A new tab that has not
20933
+ * navigated is not unloaded. Target.targetInfoChanged reports changes of
20934
+ * this value for tabs.
20928
20935
  * @experimental
20929
20936
  */
20930
20937
  subtype?: string;