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

Side by Side 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 unified diff | Download patch
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
3 "domains": [{ 3 "domains": [{
4 "domain": "Runtime", 4 "domain": "Runtime",
5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.", 5 "description": "Runtime domain exposes JavaScript runtime by means of re mote evaluation and mirror objects. Evaluation results are returned as mirror ob ject that expose object type, string representation and unique identifier that c an be used for further object reference. Original objects are maintained in memo ry unless they are either explicitly released or are released along with the oth er objects in their object group.",
6 "types": [ 6 "types": [
7 { 7 {
8 "id": "ScriptId", 8 "id": "ScriptId",
9 "type": "string", 9 "type": "string",
10 "description": "Unique script identifier." 10 "description": "Unique script identifier."
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
324 "name": "exceptionRevoked", 324 "name": "exceptionRevoked",
325 "description": "Issued when unhandled exception was revoked.", 325 "description": "Issued when unhandled exception was revoked.",
326 "parameters": [ 326 "parameters": [
327 { "name": "timestamp", "type": "number", "description": "Num ber of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" }, 327 { "name": "timestamp", "type": "number", "description": "Num ber of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" },
328 { "name": "message", "type": "string", "description": "Messa ge describing why exception was revoked." }, 328 { "name": "message", "type": "string", "description": "Messa ge describing why exception was revoked." },
329 { "name": "exceptionId", "type": "integer", "description": " The id of revoked exception, as reported in <code>exceptionUnhandled</code>." } 329 { "name": "exceptionId", "type": "integer", "description": " The id of revoked exception, as reported in <code>exceptionUnhandled</code>." }
330 ], 330 ],
331 "hidden": true 331 "hidden": true
332 }, 332 },
333 { 333 {
334 "name": "consoleAPICall",
pfeldman 2016/07/13 00:43:50 consoleAPICalled
dgozman 2016/07/13 21:08:07 Done.
335 "description": "Issued when console API was called.",
336 "parameters": [
337 { "name": "timestamp", "type": "number", "description": "Num ber of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" },
338 { "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." },
339 { "name": "callArguments", "type": "array", "items": { "$ref ": "RemoteObject" }, "description": "Call arguments." },
340 { "name": "executionContextId", "$ref": "ExecutionContextId" , "description": "Identifier of the context where the call was made." },
341 { "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.
342 ],
343 "hidden": true
344 },
345 {
334 "name": "inspectRequested", 346 "name": "inspectRequested",
335 "parameters": [ 347 "parameters": [
336 { "name": "object", "$ref": "RemoteObject" }, 348 { "name": "object", "$ref": "RemoteObject" },
337 { "name": "hints", "type": "object" } 349 { "name": "hints", "type": "object" }
338 ], 350 ],
339 "hidden": true 351 "hidden": true
340 } 352 }
341 ] 353 ]
342 }, 354 },
343 { 355 {
(...skipping 671 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 { 1027 {
1016 "name": "heapStatsUpdate", 1028 "name": "heapStatsUpdate",
1017 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1029 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1018 "parameters": [ 1030 "parameters": [
1019 { "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."} 1031 { "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."}
1020 ] 1032 ]
1021 } 1033 }
1022 ] 1034 ]
1023 }] 1035 }]
1024 } 1036 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698