Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1034)

Unified Diff: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json

Issue 2139543002: [DevTools] Report console API calls through Runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tests pass Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6bcd66431f7697a77d15a7b9cf1cefb26352d535..3fa72a9b5c1f4059d78ec81375dbff4c932f0fd2 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": "consoleAPICall",
pfeldman 2016/07/13 00:43:50 consoleAPICalled
dgozman 2016/07/13 21:08:07 Done.
+ "description": "Issued when console API was called.",
+ "parameters": [
+ { "name": "timestamp", "type": "number", "description": "Number of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" },
+ { "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": "callArguments", "type": "array", "items": { "$ref": "RemoteObject" }, "description": "Call arguments." },
+ { "name": "executionContextId", "$ref": "ExecutionContextId", "description": "Identifier of the context where the call was made." },
+ { "name": "stack", "$ref": "StackTrace", "optional": true, "description": "Stack trace captured when the call was made." }
pfeldman 2016/07/13 00:48:43 stackTrace
dgozman 2016/07/13 21:08:07 Done.
+ ],
+ "hidden": true
+ },
+ {
"name": "inspectRequested",
"parameters": [
{ "name": "object", "$ref": "RemoteObject" },

Powered by Google App Engine
This is Rietveld 408576698