Index: third_party/WebKit/Source/core/inspector/browser_protocol.json |
diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
index 6527abc46147dfce17a799ed161709ebaff09425..2db3f9c96fd69d0a3fc3cf4e51aae51fbae1143f 100644 |
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json |
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json |
@@ -2791,7 +2791,7 @@ |
{ "name": "endOffset", "type": "number", "description": "Offset of the end of the rule body from the beginning of the stylesheet." }, |
{ "name": "used", "type": "boolean", "description": "Indicates whether the rule was actually used by some element in the page." } |
], |
- "description": "CSS rule usage information.", |
+ "description": "CSS coverage information.", |
"experimental": true |
}, |
{ |
@@ -3163,13 +3163,21 @@ |
], |
"description": "For the main document and any content documents, return the LayoutTreeNodes and a whitelisted subset of the computed style. It only returns pushed nodes, on way to pull all nodes is to call DOM.getDocument with a depth of -1.", |
"experimental": true |
- }, |
+ }, |
{ |
"name": "startRuleUsageTracking", |
"description": "Enables the selector recording.", |
"experimental": true |
}, |
{ |
+ "name": "takeCoverageDelta", |
+ "description": "Obtain list of rules that became used since last call to this method (or since start of coverage instrumentation)", |
+ "returns": [ |
+ { "name": "coverage", "type": "array", "items": { "$ref": "RuleUsage" } } |
+ ], |
+ "experimental": true |
+ }, |
+ { |
"name": "stopRuleUsageTracking", |
"returns": [ |
{ "name": "ruleUsage", "type": "array", "items": { "$ref": "RuleUsage" } } |