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

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

Issue 2519773003: [debug] Add Eval scope type to inspector protocol (Closed)
Patch Set: Created 4 years, 1 month 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": "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 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, 453 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
454 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, 454 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." },
455 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "description": "The value being returned, if the function is at r eturn point." } 455 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "description": "The value being returned, if the function is at r eturn point." }
456 ], 456 ],
457 "description": "JavaScript call frame. Array of call frames form the call stack." 457 "description": "JavaScript call frame. Array of call frames form the call stack."
458 }, 458 },
459 { 459 {
460 "id": "Scope", 460 "id": "Scope",
461 "type": "object", 461 "type": "object",
462 "properties": [ 462 "properties": [
463 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch", "block", "script"], "description": "Scope type." }, 463 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch", "block", "script", "eval"], "description": "Scop e type." },
kozy 2016/11/21 16:05:36 It's a copy of protocol when version was increment
jgruber 2016/11/22 13:55:21 Done.
464 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." }, 464 { "name": "object", "$ref": "Runtime.RemoteObject", "descrip tion": "Object representing the scope. For <code>global</code> and <code>with</c ode> scopes it represents the actual object; for the rest of the scopes, it is a rtificial transient object enumerating scope variables as its properties." },
465 { "name": "name", "type": "string", "optional": true }, 465 { "name": "name", "type": "string", "optional": true },
466 { "name": "startLocation", "$ref": "Location", "optional": t rue, "description": "Location in the source code where scope starts" }, 466 { "name": "startLocation", "$ref": "Location", "optional": t rue, "description": "Location in the source code where scope starts" },
467 { "name": "endLocation", "$ref": "Location", "optional": tru e, "description": "Location in the source code where scope ends" } 467 { "name": "endLocation", "$ref": "Location", "optional": tru e, "description": "Location in the source code where scope ends" }
468 ], 468 ],
469 "description": "Scope description." 469 "description": "Scope description."
470 }, 470 },
471 { 471 {
472 "id": "SearchMatch", 472 "id": "SearchMatch",
473 "type": "object", 473 "type": "object",
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 { 988 {
989 "name": "heapStatsUpdate", 989 "name": "heapStatsUpdate",
990 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 990 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
991 "parameters": [ 991 "parameters": [
992 { "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."} 992 { "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."}
993 ] 993 ]
994 } 994 }
995 ] 995 ]
996 }] 996 }]
997 } 997 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698