Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index 3c6c576a5cba554f892ff0eb0d273e80c4e85cf8..6f152779bc7f9a920186f0c3a0e3340fe1c06422 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -2464,6 +2464,15 @@ |
], |
"description": "This object represents a Named Flow.", |
"hidden": true |
+ }, |
+ { |
+ "id": "PlatformFontUsage", |
+ "type": "object", |
+ "properties": [ |
+ { "name": "familyName", "type": "string", "description": "Font's family name reported by platform."}, |
+ { "name": "glyphCount", "type": "number", "description": "Amount of glyphs that were rendered with this font."} |
+ ], |
+ "description": "Information about amount of glyphs that were rendered with given font." |
} |
], |
"commands": [ |
@@ -2511,6 +2520,17 @@ |
"description": "Returns the computed style for a DOM node identified by <code>nodeId</code>." |
}, |
{ |
+ "name": "getPlatformFontsForNode", |
+ "parameters": [ |
+ { "name": "nodeId", "$ref": "DOM.NodeId" } |
+ ], |
+ "returns": [ |
+ { "name": "fonts", "type": "array", "items": { "$ref": "PlatformFontUsage"}, "description": "Usage statistics for every employed platform font." } |
+ ], |
+ "description": "Requests information about platform fonts which we used to render child TextNodes in the given node.", |
+ "hidden": true |
+ }, |
+ { |
"name": "getAllStyleSheets", |
"returns": [ |
{ "name": "headers", "type": "array", "items": { "$ref": "CSSStyleSheetHeader" }, "description": "Descriptor entries for all available stylesheets." } |