OLD | NEW |
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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
324 "name": "exceptionRevoked", | 324 "name": "exceptionRevoked", |
325 "description": "Issued when unhandled exception was revoked.", | 325 "description": "Issued when unhandled exception was revoked.", |
326 "parameters": [ | 326 "parameters": [ |
327 { "name": "timestamp", "type": "number", "description": "Num
ber of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" }, | 327 { "name": "timestamp", "type": "number", "description": "Num
ber of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" }, |
328 { "name": "message", "type": "string", "description": "Messa
ge describing why exception was revoked." }, | 328 { "name": "message", "type": "string", "description": "Messa
ge describing why exception was revoked." }, |
329 { "name": "exceptionId", "type": "integer", "description": "
The id of revoked exception, as reported in <code>exceptionUnhandled</code>." } | 329 { "name": "exceptionId", "type": "integer", "description": "
The id of revoked exception, as reported in <code>exceptionUnhandled</code>." } |
330 ], | 330 ], |
331 "hidden": true | 331 "hidden": true |
332 }, | 332 }, |
333 { | 333 { |
| 334 "name": "consoleAPICalled", |
| 335 "description": "Issued when console API was called.", |
| 336 "parameters": [ |
| 337 { "name": "type", "type": "string", "enum": ["log", "debug",
"info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startG
roup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "d
escription": "Type of the call." }, |
| 338 { "name": "args", "type": "array", "items": { "$ref": "Remot
eObject" }, "description": "Call arguments." }, |
| 339 { "name": "executionContextId", "$ref": "ExecutionContextId"
, "description": "Identifier of the context where the call was made." }, |
| 340 { "name": "timestamp", "type": "number", "description": "Num
ber of milliseconds since epoch. TODO(dgozman): unify with Console.Timestamp" }, |
| 341 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr
ue, "description": "Stack trace captured when the call was made." } |
| 342 ], |
| 343 "hidden": true |
| 344 }, |
| 345 { |
334 "name": "inspectRequested", | 346 "name": "inspectRequested", |
335 "parameters": [ | 347 "parameters": [ |
336 { "name": "object", "$ref": "RemoteObject" }, | 348 { "name": "object", "$ref": "RemoteObject" }, |
337 { "name": "hints", "type": "object" } | 349 { "name": "hints", "type": "object" } |
338 ], | 350 ], |
339 "hidden": true | 351 "hidden": true |
340 } | 352 } |
341 ] | 353 ] |
342 }, | 354 }, |
343 { | 355 { |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
714 "hidden": true | 726 "hidden": true |
715 }, | 727 }, |
716 { | 728 { |
717 "id": "ConsoleMessage", | 729 "id": "ConsoleMessage", |
718 "type": "object", | 730 "type": "object", |
719 "description": "Console message.", | 731 "description": "Console message.", |
720 "properties": [ | 732 "properties": [ |
721 { "name": "source", "type": "string", "enum": ["xml", "javas
cript", "network", "console-api", "storage", "appcache", "rendering", "security"
, "other", "deprecation", "worker"], "description": "Message source." }, | 733 { "name": "source", "type": "string", "enum": ["xml", "javas
cript", "network", "console-api", "storage", "appcache", "rendering", "security"
, "other", "deprecation", "worker"], "description": "Message source." }, |
722 { "name": "level", "type": "string", "enum": ["log", "warnin
g", "error", "debug", "info"], "description": "Message severity." }, | 734 { "name": "level", "type": "string", "enum": ["log", "warnin
g", "error", "debug", "info"], "description": "Message severity." }, |
723 { "name": "text", "type": "string", "description": "Message
text." }, | 735 { "name": "text", "type": "string", "description": "Message
text." }, |
724 { "name": "type", "type": "string", "optional": true, "enum"
: ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupC
ollapsed", "endGroup", "assert", "profile", "profileEnd"], "description": "Conso
le message type." }, | 736 { "name": "type", "type": "string", "optional": true, "enum"
: ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupC
ollapsed", "endGroup", "assert", "profile", "profileEnd"], "description": "Never
present. Use Runtime.consoleAPICalled instead." }, |
725 { "name": "scriptId", "type": "string", "optional": true, "d
escription": "Script ID of the message origin." }, | 737 { "name": "scriptId", "type": "string", "optional": true, "d
escription": "Script ID of the message origin." }, |
726 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the message origin." }, | 738 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the message origin." }, |
727 { "name": "line", "type": "integer", "optional": true, "desc
ription": "Line number in the resource that generated this message." }, | 739 { "name": "line", "type": "integer", "optional": true, "desc
ription": "Line number in the resource that generated this message." }, |
728 { "name": "column", "type": "integer", "optional": true, "de
scription": "Column number in the resource that generated this message." }, | 740 { "name": "column", "type": "integer", "optional": true, "de
scription": "Column number in the resource that generated this message." }, |
729 { "name": "repeatCount", "type": "integer", "optional": true
, "description": "Repeat count for repeated messages." }, | 741 { "name": "repeatCount", "type": "integer", "optional": true
, "description": "Repeat count for repeated messages." }, |
730 { "name": "parameters", "type": "array", "items": { "$ref":
"Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i
n case of the formatted message." }, | 742 { "name": "parameters", "type": "array", "items": { "$ref":
"Runtime.RemoteObject" }, "optional": true, "description": "Never present. Use R
untime.consoleAPICalled instead." }, |
731 { "name": "stack", "$ref": "Runtime.StackTrace", "optional":
true, "description": "JavaScript stack trace for assertions and error messages.
" }, | 743 { "name": "stack", "$ref": "Runtime.StackTrace", "optional":
true, "description": "JavaScript stack trace for assertions and error messages.
" }, |
732 { "name": "networkRequestId", "type": "string", "optional":
true, "description": "Identifier of the network request associated with this mes
sage." }, | 744 { "name": "networkRequestId", "type": "string", "optional":
true, "description": "Identifier of the network request associated with this mes
sage." }, |
733 { "name": "timestamp", "$ref": "Timestamp", "description": "
Timestamp, when this message was fired.", "hidden": true }, | 745 { "name": "timestamp", "$ref": "Timestamp", "description": "
Timestamp, when this message was fired.", "hidden": true }, |
734 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo
ntextId", "optional": true, "description": "Identifier of the context where this
message was created", "hidden": true }, | 746 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo
ntextId", "optional": true, "description": "Identifier of the context where this
message was created", "hidden": true }, |
735 { "name": "workerId", "type": "string", "optional": true, "d
escription": "Identifier of the worker this message came from.", "hidden": true
} | 747 { "name": "workerId", "type": "string", "optional": true, "d
escription": "Identifier of the worker this message came from.", "hidden": true
} |
736 ] | 748 ] |
737 } | 749 } |
738 ], | 750 ], |
739 "commands": [ | 751 "commands": [ |
740 { | 752 { |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
992 { | 1004 { |
993 "name": "heapStatsUpdate", | 1005 "name": "heapStatsUpdate", |
994 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 1006 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
995 "parameters": [ | 1007 "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."} | 1008 { "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 ] | 1009 ] |
998 } | 1010 } |
999 ] | 1011 ] |
1000 }] | 1012 }] |
1001 } | 1013 } |
OLD | NEW |