Index: Source/devtools/protocol.json |
diff --git a/Source/devtools/protocol.json b/Source/devtools/protocol.json |
index 3764e987326dcdee3d97dcb445b1264ca2589f74..fa9823d435d801fd5c3785d187407c9b834a9e59 100644 |
--- a/Source/devtools/protocol.json |
+++ b/Source/devtools/protocol.json |
@@ -810,7 +810,7 @@ |
{ "name": "source", "type": "string", "enum": ["xml", "javascript", "network", "console-api", "storage", "appcache", "rendering", "css", "security", "other", "deprecation"], "description": "Message source." }, |
{ "name": "level", "type": "string", "enum": ["log", "warning", "error", "debug"], "description": "Message severity." }, |
{ "name": "text", "type": "string", "description": "Message text." }, |
- { "name": "type", "type": "string", "optional": true, "enum": ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "timing", "profile", "profileEnd"], "description": "Console message type." }, |
+ { "name": "type", "type": "string", "optional": true, "enum": ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "description": "Console message type." }, |
{ "name": "url", "type": "string", "optional": true, "description": "URL of the message origin." }, |
{ "name": "line", "type": "integer", "optional": true, "description": "Line number in the resource that generated this message." }, |
{ "name": "column", "type": "integer", "optional": true, "description": "Column number in the resource that generated this message." }, |
@@ -2817,6 +2817,14 @@ |
], |
"commands": [ |
{ |
+ "name": "enable", |
+ "description": "Enables timeline. After this call, timeline can be started from within the page (for example upon console.timeline)." |
+ }, |
+ { |
+ "name": "disable", |
+ "description": "Disables timeline." |
+ }, |
+ { |
"name": "start", |
"parameters": [ |
{ "name": "maxCallStackDepth", "optional": true, "type": "integer", "description": "Samples JavaScript stack traces up to <code>maxCallStackDepth</code>, defaults to 5." }, |
@@ -2838,6 +2846,22 @@ |
{ "name": "record", "$ref": "TimelineEvent", "description": "Timeline event record data." } |
], |
"description": "Fired for every instrumentation event while timeline is started." |
+ }, |
+ { |
+ "name": "started", |
+ "parameters": [ |
+ { "name": "consoleTimeline", "type": "boolean", "optional": true, "description": "If specified, identifies that timeline was started using console.timeline() call." } |
+ ], |
+ "description": "Fired when timeline is started.", |
+ "hidden": true |
+ }, |
+ { |
+ "name": "stopped", |
+ "parameters": [ |
+ { "name": "consoleTimeline", "type": "boolean", "optional": true, "description": "If specified, identifies that timeline was started using console.timeline() call." } |
+ ], |
+ "description": "Fired when timeline is stopped.", |
+ "hidden": true |
} |
] |
}, |