devtools-protocol 0.0.1573491 → 0.0.1574117

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.
@@ -5664,7 +5664,7 @@
5664
5664
  },
5665
5665
  {
5666
5666
  "name": "resolveValues",
5667
- "description": "Resolve the specified values in the context of the provided element.\nFor example, a value of '1em' is evaluated according to the computed\n'font-size' of the element and a value 'calc(1px + 2px)' will be\nresolved to '3px'.\nIf the `propertyName` was specified the `values` are resolved as if\nthey were property's declaration. If a value cannot be parsed according\nto the provided property syntax, the value is parsed using combined\nsyntax as if null `propertyName` was provided. If the value cannot be\nresolved even then, return the provided value without any changes.",
5667
+ "description": "Resolve the specified values in the context of the provided element.\nFor example, a value of '1em' is evaluated according to the computed\n'font-size' of the element and a value 'calc(1px + 2px)' will be\nresolved to '3px'.\nIf the `propertyName` was specified the `values` are resolved as if\nthey were property's declaration. If a value cannot be parsed according\nto the provided property syntax, the value is parsed using combined\nsyntax as if null `propertyName` was provided. If the value cannot be\nresolved even then, return the provided value without any changes.\nNote: this function currently does not resolve CSS random() function,\nit returns unmodified random() function parts.`",
5668
5668
  "experimental": true,
5669
5669
  "parameters": [
5670
5670
  {
@@ -28622,6 +28622,13 @@
28622
28622
  "experimental": true,
28623
28623
  "optional": true,
28624
28624
  "type": "boolean"
28625
+ },
28626
+ {
28627
+ "name": "focus",
28628
+ "description": "If specified, the option is used to determine if the new target should\nbe focused or not. By default, the focus behavior depends on the\nvalue of the background field. For example, background=false and focus=false\nwill result in the target tab being opened but the browser window remain\nunchanged (if it was in the background, it will remain in the background)\nand background=false with focus=undefined will result in the window being focused.\nUsing background: true and focus: true is not supported and will result in an error.",
28629
+ "experimental": true,
28630
+ "optional": true,
28631
+ "type": "boolean"
28625
28632
  }
28626
28633
  ],
28627
28634
  "returns": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1573491",
3
+ "version": "0.0.1574117",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -708,6 +708,8 @@ experimental domain CSS
708
708
  # to the provided property syntax, the value is parsed using combined
709
709
  # syntax as if null `propertyName` was provided. If the value cannot be
710
710
  # resolved even then, return the provided value without any changes.
711
+ # Note: this function currently does not resolve CSS random() function,
712
+ # it returns unmodified random() function parts.`
711
713
  experimental command resolveValues
712
714
  parameters
713
715
  # Cascade-dependent keywords (revert/revert-layer) do not work.
@@ -167,6 +167,14 @@ domain Target
167
167
  # present in the tab UI strip. Cannot be created with `forTab: true`, `newWindow: true` or
168
168
  # `background: false`. The life-time of the tab is limited to the life-time of the session.
169
169
  experimental optional boolean hidden
170
+ # If specified, the option is used to determine if the new target should
171
+ # be focused or not. By default, the focus behavior depends on the
172
+ # value of the background field. For example, background=false and focus=false
173
+ # will result in the target tab being opened but the browser window remain
174
+ # unchanged (if it was in the background, it will remain in the background)
175
+ # and background=false with focus=undefined will result in the window being focused.
176
+ # Using background: true and focus: true is not supported and will result in an error.
177
+ experimental optional boolean focus
170
178
  returns
171
179
  # The id of the page opened.
172
180
  TargetID targetId
@@ -2168,6 +2168,8 @@ export namespace ProtocolMapping {
2168
2168
  * to the provided property syntax, the value is parsed using combined
2169
2169
  * syntax as if null `propertyName` was provided. If the value cannot be
2170
2170
  * resolved even then, return the provided value without any changes.
2171
+ * Note: this function currently does not resolve CSS random() function,
2172
+ * it returns unmodified random() function parts.`
2171
2173
  * @experimental
2172
2174
  */
2173
2175
  'CSS.resolveValues': {
@@ -1226,6 +1226,8 @@ export namespace ProtocolProxyApi {
1226
1226
  * to the provided property syntax, the value is parsed using combined
1227
1227
  * syntax as if null `propertyName` was provided. If the value cannot be
1228
1228
  * resolved even then, return the provided value without any changes.
1229
+ * Note: this function currently does not resolve CSS random() function,
1230
+ * it returns unmodified random() function parts.`
1229
1231
  * @experimental
1230
1232
  */
1231
1233
  resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<Protocol.CSS.ResolveValuesResponse>;
@@ -1300,6 +1300,8 @@ export namespace ProtocolTestsProxyApi {
1300
1300
  * to the provided property syntax, the value is parsed using combined
1301
1301
  * syntax as if null `propertyName` was provided. If the value cannot be
1302
1302
  * resolved even then, return the provided value without any changes.
1303
+ * Note: this function currently does not resolve CSS random() function,
1304
+ * it returns unmodified random() function parts.`
1303
1305
  * @experimental
1304
1306
  */
1305
1307
  resolveValues(params: Protocol.CSS.ResolveValuesRequest): Promise<{id: number, result: Protocol.CSS.ResolveValuesResponse, sessionId: string}>;
@@ -20646,6 +20646,17 @@ export namespace Protocol {
20646
20646
  * @experimental
20647
20647
  */
20648
20648
  hidden?: boolean;
20649
+ /**
20650
+ * If specified, the option is used to determine if the new target should
20651
+ * be focused or not. By default, the focus behavior depends on the
20652
+ * value of the background field. For example, background=false and focus=false
20653
+ * will result in the target tab being opened but the browser window remain
20654
+ * unchanged (if it was in the background, it will remain in the background)
20655
+ * and background=false with focus=undefined will result in the window being focused.
20656
+ * Using background: true and focus: true is not supported and will result in an error.
20657
+ * @experimental
20658
+ */
20659
+ focus?: boolean;
20649
20660
  }
20650
20661
 
20651
20662
  export interface CreateTargetResponse {