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

Side by Side Diff: third_party/WebKit/Source/platform/v8_inspector/js_protocol.json

Issue 2112673003: [DevTools] Move suspended generator location to internal properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressed comments 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
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/debugger_script_externs.js ('k') | no next file » | 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": "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 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 "type": "object", 358 "type": "object",
359 "properties": [ 359 "properties": [
360 { "name": "location", "$ref": "Location", "optional": true, "description": "Location of the function, none for native functions." }, 360 { "name": "location", "$ref": "Location", "optional": true, "description": "Location of the function, none for native functions." },
361 { "name": "functionName", "type": "string", "description": " Name of the function." }, 361 { "name": "functionName", "type": "string", "description": " Name of the function." },
362 { "name": "isGenerator", "type": "boolean", "description": " Whether this is a generator function." }, 362 { "name": "isGenerator", "type": "boolean", "description": " Whether this is a generator function." },
363 { "name": "scopeChain", "type": "array", "optional": true, " items": { "$ref": "Scope" }, "description": "Scope chain for this closure." } 363 { "name": "scopeChain", "type": "array", "optional": true, " items": { "$ref": "Scope" }, "description": "Scope chain for this closure." }
364 ], 364 ],
365 "description": "Information about the function." 365 "description": "Information about the function."
366 }, 366 },
367 { 367 {
368 "id": "GeneratorObjectDetails",
369 "hidden": true,
370 "type": "object",
371 "properties": [
372 { "name": "function", "$ref": "Runtime.RemoteObject", "descr iption": "Generator function." },
373 { "name": "functionName", "type": "string", "description": " Name of the generator function." },
374 { "name": "status", "type": "string", "enum": ["running", "s uspended", "closed"], "description": "Current generator object status." },
375 { "name": "location", "$ref": "Location", "optional": true, "description": "If suspended, location where generator function was suspended (e .g. location of the last 'yield'). Otherwise, location of the generator function ." }
376 ],
377 "description": "Information about the generator object."
378 },
379 {
380 "id": "CallFrame", 368 "id": "CallFrame",
381 "type": "object", 369 "type": "object",
382 "properties": [ 370 "properties": [
383 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." }, 371 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier. This identifier is only valid while the virtual machi ne is paused." },
384 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." }, 372 { "name": "functionName", "type": "string", "description": " Name of the JavaScript function called on this call frame." },
385 { "name": "functionLocation", "$ref": "Location", "optional" : true, "hidden": true, "description": "Location in the source code." }, 373 { "name": "functionLocation", "$ref": "Location", "optional" : true, "hidden": true, "description": "Location in the source code." },
386 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." }, 374 { "name": "location", "$ref": "Location", "description": "Lo cation in the source code." },
387 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." }, 375 { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
388 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." }, 376 { "name": "this", "$ref": "Runtime.RemoteObject", "descripti on": "<code>this</code> object for this call frame." },
389 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." } 377 { "name": "returnValue", "$ref": "Runtime.RemoteObject", "op tional": true, "hidden": true, "description": "The value being returned, if the function is at return point." }
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 "hidden": true, 560 "hidden": true,
573 "parameters": [ 561 "parameters": [
574 { "name": "functionId", "$ref": "Runtime.RemoteObjectId", "d escription": "Id of the function to get details for." } 562 { "name": "functionId", "$ref": "Runtime.RemoteObjectId", "d escription": "Id of the function to get details for." }
575 ], 563 ],
576 "returns": [ 564 "returns": [
577 { "name": "details", "$ref": "FunctionDetails", "description ": "Information about the function." } 565 { "name": "details", "$ref": "FunctionDetails", "description ": "Information about the function." }
578 ], 566 ],
579 "description": "Returns detailed information on given function." 567 "description": "Returns detailed information on given function."
580 }, 568 },
581 { 569 {
582 "name": "getGeneratorObjectDetails",
583 "hidden": true,
584 "parameters": [
585 { "name": "objectId", "$ref": "Runtime.RemoteObjectId", "des cription": "Id of the generator object to get details for." }
586 ],
587 "returns": [
588 { "name": "details", "$ref": "GeneratorObjectDetails", "desc ription": "Information about the generator object." }
589 ],
590 "description": "Returns detailed information on given generator object."
591 },
592 {
593 "name": "setPauseOnExceptions", 570 "name": "setPauseOnExceptions",
594 "parameters": [ 571 "parameters": [
595 { "name": "state", "type": "string", "enum": ["none", "uncau ght", "all"], "description": "Pause on exceptions mode." } 572 { "name": "state", "type": "string", "enum": ["none", "uncau ght", "all"], "description": "Pause on exceptions mode." }
596 ], 573 ],
597 "description": "Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>." 574 "description": "Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>."
598 }, 575 },
599 { 576 {
600 "name": "evaluateOnCallFrame", 577 "name": "evaluateOnCallFrame",
601 "parameters": [ 578 "parameters": [
602 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, 579 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." },
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 { 993 {
1017 "name": "heapStatsUpdate", 994 "name": "heapStatsUpdate",
1018 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", 995 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments",
1019 "parameters": [ 996 "parameters": [
1020 { "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 { "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."}
1021 ] 998 ]
1022 } 999 }
1023 ] 1000 ]
1024 }] 1001 }]
1025 } 1002 }
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/v8_inspector/debugger_script_externs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698