Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 615 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 626 ], | 626 ], |
| 627 "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>." | 627 "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>." |
| 628 }, | 628 }, |
| 629 { | 629 { |
| 630 "name": "evaluateOnCallFrame", | 630 "name": "evaluateOnCallFrame", |
| 631 "parameters": [ | 631 "parameters": [ |
| 632 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, | 632 { "name": "callFrameId", "$ref": "CallFrameId", "description ": "Call frame identifier to evaluate on." }, |
| 633 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, | 633 { "name": "expression", "type": "string", "description": "Ex pression to evaluate." }, |
| 634 { "name": "objectGroup", "type": "string", "optional": true, "description": "String object group name to put result into (allows rapid relea sing resulting object handles using <code>releaseObjectGroup</code>)." }, | 634 { "name": "objectGroup", "type": "string", "optional": true, "description": "String object group name to put result into (allows rapid relea sing resulting object handles using <code>releaseObjectGroup</code>)." }, |
| 635 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Specifies whether command line API should be availab le to the evaluated expression, defaults to false." }, | 635 { "name": "includeCommandLineAPI", "type": "boolean", "optio nal": true, "description": "Specifies whether command line API should be availab le to the evaluated expression, defaults to false." }, |
| 636 { "name": "allowSideEffect", "type": "boolean", "optional": true, "description": "If side effect is not allowed, throw an exception if side effect cannot be ruled out during evaluation." }, | |
|
pfeldman
2017/02/07 23:11:25
fromMaybe(true) is not good, please reverse the co
| |
| 636 { "name": "silent", "type": "boolean", "optional": true, "de scription": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." }, | 637 { "name": "silent", "type": "boolean", "optional": true, "de scription": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." }, |
| 637 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object that shou ld be sent by value." }, | 638 { "name": "returnByValue", "type": "boolean", "optional": tr ue, "description": "Whether the result is expected to be a JSON object that shou ld be sent by value." }, |
| 638 { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." } | 639 { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." } |
| 639 ], | 640 ], |
| 640 "returns": [ | 641 "returns": [ |
| 641 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, | 642 { "name": "result", "$ref": "Runtime.RemoteObject", "descrip tion": "Object wrapper for the evaluation result." }, |
| 642 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "description": "Exception details."} | 643 { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDeta ils", "optional": true, "description": "Exception details."} |
| 643 ], | 644 ], |
| 644 "description": "Evaluates expression on a given call frame." | 645 "description": "Evaluates expression on a given call frame." |
| 645 }, | 646 }, |
| (...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 995 { | 996 { |
| 996 "name": "heapStatsUpdate", | 997 "name": "heapStatsUpdate", |
| 997 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", | 998 "description": "If heap objects tracking has been started then b ackend may send update for one or more fragments", |
| 998 "parameters": [ | 999 "parameters": [ |
| 999 { "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."} | 1000 { "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."} |
| 1000 ] | 1001 ] |
| 1001 } | 1002 } |
| 1002 ] | 1003 ] |
| 1003 }] | 1004 }] |
| 1004 } | 1005 } |
| OLD | NEW |