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

Side by Side Diff: src/inspector/js_protocol.json

Issue 2656613004: V8 Inspector: remove V8ConsoleAPIType from the API, reuse v8::Isolate::MessageErrorLevel instead. (Closed)
Patch Set: rebaselined the test Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « include/v8-inspector.h ('k') | src/inspector/v8-console.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "2" }, 2 "version": { "major": "1", "minor": "2" },
3 "domains": [ 3 "domains": [
4 { 4 {
5 "domain": "Schema", 5 "domain": "Schema",
6 "description": "Provides information about the protocol schema.", 6 "description": "Provides information about the protocol schema.",
7 "types": [ 7 "types": [
8 { 8 {
9 "id": "Domain", 9 "id": "Domain",
10 "type": "object", 10 "type": "object",
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 "description": "Issued when unhandled exception was revoked.", 376 "description": "Issued when unhandled exception was revoked.",
377 "parameters": [ 377 "parameters": [
378 { "name": "reason", "type": "string", "description": "Reason describing why exception was revoked." }, 378 { "name": "reason", "type": "string", "description": "Reason describing why exception was revoked." },
379 { "name": "exceptionId", "type": "integer", "description": " The id of revoked exception, as reported in <code>exceptionUnhandled</code>." } 379 { "name": "exceptionId", "type": "integer", "description": " The id of revoked exception, as reported in <code>exceptionUnhandled</code>." }
380 ] 380 ]
381 }, 381 },
382 { 382 {
383 "name": "consoleAPICalled", 383 "name": "consoleAPICalled",
384 "description": "Issued when console API was called.", 384 "description": "Issued when console API was called.",
385 "parameters": [ 385 "parameters": [
386 { "name": "type", "type": "string", "enum": ["log", "debug", "info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startG roup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "d escription": "Type of the call." }, 386 { "name": "type", "type": "string", "enum": ["log", "debug", "info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startG roup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd", "co unt", "timeEnd"], "description": "Type of the call." },
387 { "name": "args", "type": "array", "items": { "$ref": "Remot eObject" }, "description": "Call arguments." }, 387 { "name": "args", "type": "array", "items": { "$ref": "Remot eObject" }, "description": "Call arguments." },
388 { "name": "executionContextId", "$ref": "ExecutionContextId" , "description": "Identifier of the context where the call was made." }, 388 { "name": "executionContextId", "$ref": "ExecutionContextId" , "description": "Identifier of the context where the call was made." },
389 { "name": "timestamp", "$ref": "Timestamp", "description": " Call timestamp." }, 389 { "name": "timestamp", "$ref": "Timestamp", "description": " Call timestamp." },
390 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "Stack trace captured when the call was made." } 390 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "Stack trace captured when the call was made." }
391 ] 391 ]
392 }, 392 },
393 { 393 {
394 "name": "inspectRequested", 394 "name": "inspectRequested",
395 "description": "Issued when object should be inspected (for exam ple, as a result of inspect() command line API call).", 395 "description": "Issued when object should be inspected (for exam ple, as a result of inspect() command line API call).",
396 "parameters": [ 396 "parameters": [
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
992 { 992 {
993 "name": "heapStatsUpdate", 993 "name": "heapStatsUpdate",
994 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 994 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
995 "parameters": [ 995 "parameters": [
996 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."} 996 { "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fra gment. The first integer is the fragment index, the second integer is a total co unt of objects for the fragment, the third integer is a total size of the object s for the fragment."}
997 ] 997 ]
998 } 998 }
999 ] 999 ]
1000 }] 1000 }]
1001 } 1001 }
OLDNEW
« no previous file with comments | « include/v8-inspector.h ('k') | src/inspector/v8-console.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698