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

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

Issue 2519773003: [debug] Add Eval scope type to inspector protocol (Closed)
Patch Set: Address comments Created 4 years 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." },
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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after
1000 { 1000 {
1001 "name": "heapStatsUpdate", 1001 "name": "heapStatsUpdate",
1002 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 1002 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1003 "parameters": [ 1003 "parameters": [
1004 { "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."} 1004 { "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."}
1005 ] 1005 ]
1006 } 1006 }
1007 ] 1007 ]
1008 }] 1008 }]
1009 } 1009 }
OLDNEW
« no previous file with comments | « src/inspector/injected-script-source.js ('k') | test/debugger/debug-evaluate-locals-optimized-double.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698