Index: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
diff --git a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
index 1a0e6bc40b81f62f4830d7ee56cc02eb2d0d0e28..2261f6af07e4163e77731e250e552fc09ae5b20b 100644 |
--- a/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
+++ b/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json |
@@ -331,6 +331,18 @@ |
"hidden": true |
}, |
{ |
+ "name": "consoleAPICalled", |
+ "description": "Issued when console API was called.", |
+ "parameters": [ |
+ { "name": "type", "type": "string", "enum": ["log", "debug", "info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "description": "Type of the call." }, |
+ { "name": "args", "type": "array", "items": { "$ref": "RemoteObject" }, "description": "Call arguments." }, |
+ { "name": "executionContextId", "$ref": "ExecutionContextId", "description": "Identifier of the context where the call was made." }, |
+ { "name": "timestamp", "type": "number", "description": "Number of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" }, |
+ { "name": "stackTrace", "$ref": "StackTrace", "optional": true, "description": "Stack trace captured when the call was made." } |
+ ], |
+ "hidden": true |
+ }, |
+ { |
"name": "inspectRequested", |
"parameters": [ |
{ "name": "object", "$ref": "RemoteObject" }, |
@@ -721,13 +733,13 @@ |
{ "name": "source", "type": "string", "enum": ["xml", "javascript", "network", "console-api", "storage", "appcache", "rendering", "security", "other", "deprecation", "worker"], "description": "Message source." }, |
{ "name": "level", "type": "string", "enum": ["log", "warning", "error", "debug", "info"], "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", "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": "Never present. Use Runtime.consoleAPICalled instead." }, |
{ "name": "scriptId", "type": "string", "optional": true, "description": "Script ID of the message origin." }, |
{ "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." }, |
{ "name": "repeatCount", "type": "integer", "optional": true, "description": "Repeat count for repeated messages." }, |
- { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Message parameters in case of the formatted message." }, |
+ { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Never present. Use Runtime.consoleAPICalled instead." }, |
{ "name": "stack", "$ref": "Runtime.StackTrace", "optional": true, "description": "JavaScript stack trace for assertions and error messages." }, |
{ "name": "networkRequestId", "type": "string", "optional": true, "description": "Identifier of the network request associated with this message." }, |
{ "name": "timestamp", "$ref": "Timestamp", "description": "Timestamp, when this message was fired.", "hidden": true }, |