devtools-protocol 0.0.955664 → 0.0.959523

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.
@@ -14522,7 +14522,8 @@
14522
14522
  },
14523
14523
  {
14524
14524
  "name": "setShowHitTestBorders",
14525
- "description": "Requests that backend shows hit-test borders on layers",
14525
+ "description": "Deprecated, no longer has any effect.",
14526
+ "deprecated": true,
14526
14527
  "parameters": [
14527
14528
  {
14528
14529
  "name": "show",
@@ -15439,6 +15440,24 @@
15439
15440
  }
15440
15441
  ]
15441
15442
  },
15443
+ {
15444
+ "id": "ScriptFontFamilies",
15445
+ "description": "Font families collection for a script.",
15446
+ "experimental": true,
15447
+ "type": "object",
15448
+ "properties": [
15449
+ {
15450
+ "name": "script",
15451
+ "description": "Name of the script which these font families are defined for.",
15452
+ "type": "string"
15453
+ },
15454
+ {
15455
+ "name": "fontFamilies",
15456
+ "description": "Generic font families collection for the script.",
15457
+ "$ref": "FontFamilies"
15458
+ }
15459
+ ]
15460
+ },
15442
15461
  {
15443
15462
  "id": "FontSizes",
15444
15463
  "description": "Default font sizes.",
@@ -16639,6 +16658,15 @@
16639
16658
  "name": "fontFamilies",
16640
16659
  "description": "Specifies font families to set. If a font family is not specified, it won't be changed.",
16641
16660
  "$ref": "FontFamilies"
16661
+ },
16662
+ {
16663
+ "name": "forScripts",
16664
+ "description": "Specifies font families to set for individual scripts.",
16665
+ "optional": true,
16666
+ "type": "array",
16667
+ "items": {
16668
+ "$ref": "ScriptFontFamilies"
16669
+ }
16642
16670
  }
16643
16671
  ]
16644
16672
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.955664",
3
+ "version": "0.0.959523",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -6713,8 +6713,8 @@ experimental domain Overlay
6713
6713
  # True for showing scroll bottleneck rects
6714
6714
  boolean show
6715
6715
 
6716
- # Requests that backend shows hit-test borders on layers
6717
- command setShowHitTestBorders
6716
+ # Deprecated, no longer has any effect.
6717
+ deprecated command setShowHitTestBorders
6718
6718
  parameters
6719
6719
  # True for showing hit-test borders
6720
6720
  boolean show
@@ -7177,6 +7177,14 @@ domain Page
7177
7177
  # The pictograph font-family.
7178
7178
  optional string pictograph
7179
7179
 
7180
+ # Font families collection for a script.
7181
+ experimental type ScriptFontFamilies extends object
7182
+ properties
7183
+ # Name of the script which these font families are defined for.
7184
+ string script
7185
+ # Generic font families collection for the script.
7186
+ FontFamilies fontFamilies
7187
+
7180
7188
  # Default font sizes.
7181
7189
  experimental type FontSizes extends object
7182
7190
  properties
@@ -7637,6 +7645,8 @@ domain Page
7637
7645
  parameters
7638
7646
  # Specifies font families to set. If a font family is not specified, it won't be changed.
7639
7647
  FontFamilies fontFamilies
7648
+ # Specifies font families to set for individual scripts.
7649
+ optional array of ScriptFontFamilies forScripts
7640
7650
 
7641
7651
  # Set default font sizes.
7642
7652
  experimental command setFontSizes
@@ -3309,7 +3309,7 @@ export namespace ProtocolMapping {
3309
3309
  returnType: void;
3310
3310
  };
3311
3311
  /**
3312
- * Requests that backend shows hit-test borders on layers
3312
+ * Deprecated, no longer has any effect.
3313
3313
  */
3314
3314
  'Overlay.setShowHitTestBorders': {
3315
3315
  paramsType: [Protocol.Overlay.SetShowHitTestBordersRequest];
@@ -2549,7 +2549,7 @@ export namespace ProtocolProxyApi {
2549
2549
  setShowScrollBottleneckRects(params: Protocol.Overlay.SetShowScrollBottleneckRectsRequest): Promise<void>;
2550
2550
 
2551
2551
  /**
2552
- * Requests that backend shows hit-test borders on layers
2552
+ * Deprecated, no longer has any effect.
2553
2553
  */
2554
2554
  setShowHitTestBorders(params: Protocol.Overlay.SetShowHitTestBordersRequest): Promise<void>;
2555
2555
 
@@ -12299,6 +12299,20 @@ export namespace Protocol {
12299
12299
  pictograph?: string;
12300
12300
  }
12301
12301
 
12302
+ /**
12303
+ * Font families collection for a script.
12304
+ */
12305
+ export interface ScriptFontFamilies {
12306
+ /**
12307
+ * Name of the script which these font families are defined for.
12308
+ */
12309
+ script: string;
12310
+ /**
12311
+ * Generic font families collection for the script.
12312
+ */
12313
+ fontFamilies: FontFamilies;
12314
+ }
12315
+
12302
12316
  /**
12303
12317
  * Default font sizes.
12304
12318
  */
@@ -12950,6 +12964,10 @@ export namespace Protocol {
12950
12964
  * Specifies font families to set. If a font family is not specified, it won't be changed.
12951
12965
  */
12952
12966
  fontFamilies: FontFamilies;
12967
+ /**
12968
+ * Specifies font families to set for individual scripts.
12969
+ */
12970
+ forScripts?: ScriptFontFamilies[];
12953
12971
  }
12954
12972
 
12955
12973
  export interface SetFontSizesRequest {