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

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

Issue 2568083002: [inspector] add scope type for modules. (Closed)
Patch Set: 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 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, 446 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
447 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, 447 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." },
448 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "description": "The value being returned, if the function is at r eturn point." } 448 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "description": "The value being returned, if the function is at r eturn point." }
449 ], 449 ],
450 "description": "JavaScript call frame. Array of call frames form the call stack." 450 "description": "JavaScript call frame. Array of call frames form the call stack."
451 }, 451 },
452 { 452 {
453 "id": "Scope", 453 "id": "Scope",
454 "type": "object", 454 "type": "object",
455 "properties": [ 455 "properties": [
456 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch", "block", "script", "eval"], "description": "Scop e type." }, 456 { "name": "type", "type": "string", "enum": ["global", "loca l", "with", "closure", "catch", "block", "script", "eval", "module"], "descripti on": "Scope type." },
dgozman 2016/12/12 23:22:18 Module is similar to global, correct? This patch n
457 { "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." }, 457 { "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." },
458 { "name": "name", "type": "string", "optional": true }, 458 { "name": "name", "type": "string", "optional": true },
459 { "name": "startLocation", "$ref": "Location", "optional": t rue, "description": "Location in the source code where scope starts" }, 459 { "name": "startLocation", "$ref": "Location", "optional": t rue, "description": "Location in the source code where scope starts" },
460 { "name": "endLocation", "$ref": "Location", "optional": tru e, "description": "Location in the source code where scope ends" } 460 { "name": "endLocation", "$ref": "Location", "optional": tru e, "description": "Location in the source code where scope ends" }
461 ], 461 ],
462 "description": "Scope description." 462 "description": "Scope description."
463 }, 463 },
464 { 464 {
465 "id": "SearchMatch", 465 "id": "SearchMatch",
466 "type": "object", 466 "type": "object",
(...skipping 525 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

Powered by Google App Engine
This is Rietveld 408576698