OLD | NEW |
---|---|
1 { | 1 { |
2 "version": { "major": "1", "minor": "0" }, | 2 "version": { "major": "1", "minor": "0" }, |
3 "domains": [{ | 3 "domains": [{ |
4 "domain": "Inspector", | 4 "domain": "Inspector", |
5 "hidden": true, | 5 "hidden": true, |
6 "types": [], | 6 "types": [], |
7 "commands": [ | 7 "commands": [ |
8 { | 8 { |
9 "name": "enable", | 9 "name": "enable", |
10 "description": "Enables inspector domain notifications." | 10 "description": "Enables inspector domain notifications." |
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
727 }, | 727 }, |
728 { | 728 { |
729 "id": "ConsoleMessage", | 729 "id": "ConsoleMessage", |
730 "type": "object", | 730 "type": "object", |
731 "description": "Console message.", | 731 "description": "Console message.", |
732 "properties": [ | 732 "properties": [ |
733 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other", "deprecation"], "description": "Message source." }, | 733 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other", "deprecation"], "description": "Message source." }, |
734 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug"], "description": "Message severity." }, | 734 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug"], "description": "Message severity." }, |
735 { "name": "text", "type": "string", "description": "Message text." }, | 735 { "name": "text", "type": "string", "description": "Message text." }, |
736 { "name": "type", "type": "string", "optional": true, "enum" : ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupC ollapsed", "endGroup", "assert", "timing", "profile", "profileEnd"], "descriptio n": "Console message type." }, | 736 { "name": "type", "type": "string", "optional": true, "enum" : ["log", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupC ollapsed", "endGroup", "assert", "timing", "profile", "profileEnd"], "descriptio n": "Console message type." }, |
737 { "name": "executionContextURL", "type": "string", "optional ": true, "description": "The context url in which error was caused." }, | |
yurys
2013/07/26 09:17:21
We use "Runtime.ExecutionContextId" to reference a
| |
737 { "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." }, |
738 { "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." }, |
739 { "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." }, |
740 { "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." }, |
741 { "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": "Message parameters i n case of the formatted message." }, |
742 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } , | 743 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } , |
743 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." }, | 744 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." }, |
744 { "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 } |
745 ] | 746 ] |
746 }, | 747 }, |
(...skipping 3051 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3798 ] | 3799 ] |
3799 } | 3800 } |
3800 ], | 3801 ], |
3801 "events": [ | 3802 "events": [ |
3802 { | 3803 { |
3803 "name": "layerTreeDidChange" | 3804 "name": "layerTreeDidChange" |
3804 } | 3805 } |
3805 ] | 3806 ] |
3806 }] | 3807 }] |
3807 } | 3808 } |
OLD | NEW |