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 723 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
734 "id": "Timestamp", | 734 "id": "Timestamp", |
735 "type": "number", | 735 "type": "number", |
736 "description": "Number of seconds since epoch.", | 736 "description": "Number of seconds since epoch.", |
737 "hidden": true | 737 "hidden": true |
738 }, | 738 }, |
739 { | 739 { |
740 "id": "ConsoleMessage", | 740 "id": "ConsoleMessage", |
741 "type": "object", | 741 "type": "object", |
742 "description": "Console message.", | 742 "description": "Console message.", |
743 "properties": [ | 743 "properties": [ |
744 { "name": "source", "type": "string", "enum": ["xml", "javas
cript", "network", "console-api", "storage", "appcache", "rendering", "security"
, "other", "deprecation"], "description": "Message source." }, | 744 { "name": "source", "type": "string", "enum": ["xml", "javas
cript", "network", "console-api", "storage", "appcache", "rendering", "security"
, "other", "deprecation", "worker"], "description": "Message source." }, |
745 { "name": "level", "type": "string", "enum": ["log", "warnin
g", "error", "debug", "info"], "description": "Message severity." }, | 745 { "name": "level", "type": "string", "enum": ["log", "warnin
g", "error", "debug", "info"], "description": "Message severity." }, |
746 { "name": "text", "type": "string", "description": "Message
text." }, | 746 { "name": "text", "type": "string", "description": "Message
text." }, |
747 { "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." }, | 747 { "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." }, |
748 { "name": "scriptId", "type": "string", "optional": true, "d
escription": "Script ID of the message origin." }, | 748 { "name": "scriptId", "type": "string", "optional": true, "d
escription": "Script ID of the message origin." }, |
749 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the message origin." }, | 749 { "name": "url", "type": "string", "optional": true, "descri
ption": "URL of the message origin." }, |
750 { "name": "line", "type": "integer", "optional": true, "desc
ription": "Line number in the resource that generated this message." }, | 750 { "name": "line", "type": "integer", "optional": true, "desc
ription": "Line number in the resource that generated this message." }, |
751 { "name": "column", "type": "integer", "optional": true, "de
scription": "Column number in the resource that generated this message." }, | 751 { "name": "column", "type": "integer", "optional": true, "de
scription": "Column number in the resource that generated this message." }, |
752 { "name": "repeatCount", "type": "integer", "optional": true
, "description": "Repeat count for repeated messages." }, | 752 { "name": "repeatCount", "type": "integer", "optional": true
, "description": "Repeat count for repeated messages." }, |
753 { "name": "parameters", "type": "array", "items": { "$ref":
"Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i
n case of the formatted message." }, | 753 { "name": "parameters", "type": "array", "items": { "$ref":
"Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i
n case of the formatted message." }, |
754 { "name": "stack", "$ref": "Runtime.StackTrace", "optional":
true, "description": "JavaScript stack trace for assertions and error messages.
" }, | 754 { "name": "stack", "$ref": "Runtime.StackTrace", "optional":
true, "description": "JavaScript stack trace for assertions and error messages.
" }, |
755 { "name": "networkRequestId", "type": "string", "optional":
true, "description": "Identifier of the network request associated with this mes
sage." }, | 755 { "name": "networkRequestId", "type": "string", "optional":
true, "description": "Identifier of the network request associated with this mes
sage." }, |
756 { "name": "timestamp", "$ref": "Timestamp", "description": "
Timestamp, when this message was fired.", "hidden": true }, | 756 { "name": "timestamp", "$ref": "Timestamp", "description": "
Timestamp, when this message was fired.", "hidden": true }, |
757 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo
ntextId", "optional": true, "description": "Identifier of the context where this
message was created", "hidden": true } | 757 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo
ntextId", "optional": true, "description": "Identifier of the context where this
message was created", "hidden": true }, |
| 758 { "name": "workerId", "type": "string", "optional": true, "d
escription": "Identifier of the worker this message came from.", "hidden": true
} |
758 ] | 759 ] |
759 } | 760 } |
760 ], | 761 ], |
761 "commands": [ | 762 "commands": [ |
762 { | 763 { |
763 "name": "enable", | 764 "name": "enable", |
764 "description": "Enables console domain, sends the messages colle
cted so far to the client by means of the <code>messageAdded</code> notification
." | 765 "description": "Enables console domain, sends the messages colle
cted so far to the client by means of the <code>messageAdded</code> notification
." |
765 }, | 766 }, |
766 { | 767 { |
767 "name": "disable", | 768 "name": "disable", |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 { | 1015 { |
1015 "name": "heapStatsUpdate", | 1016 "name": "heapStatsUpdate", |
1016 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", | 1017 "description": "If heap objects tracking has been started then b
ackend may send update for one or more fragments", |
1017 "parameters": [ | 1018 "parameters": [ |
1018 { "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."} | 1019 { "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."} |
1019 ] | 1020 ] |
1020 } | 1021 } |
1021 ] | 1022 ] |
1022 }] | 1023 }] |
1023 } | 1024 } |
OLD | NEW |