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

Side by Side Diff: Source/devtools/protocol.json

Issue 1095943002: DevTools: [console] Logged promise rejections do not change state once handled (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: comments addressed Created 5 years, 8 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
OLDNEW
1 { 1 {
2 "version": { "major": "1", "minor": "1" }, 2 "version": { "major": "1", "minor": "1" },
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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 "id": "Timestamp", 960 "id": "Timestamp",
961 "type": "number", 961 "type": "number",
962 "description": "Number of seconds since epoch.", 962 "description": "Number of seconds since epoch.",
963 "hidden": true 963 "hidden": true
964 }, 964 },
965 { 965 {
966 "id": "ConsoleMessage", 966 "id": "ConsoleMessage",
967 "type": "object", 967 "type": "object",
968 "description": "Console message.", 968 "description": "Console message.",
969 "properties": [ 969 "properties": [
970 { "name": "sequenceNumber", "type": "integer", "hidden": tru e, "description": "Message sequence number." },
970 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other", "deprecation"], "description": "Message source." }, 971 { "name": "source", "type": "string", "enum": ["xml", "javas cript", "network", "console-api", "storage", "appcache", "rendering", "css", "se curity", "other", "deprecation"], "description": "Message source." },
971 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug", "info"], "description": "Message severity." }, 972 { "name": "level", "type": "string", "enum": ["log", "warnin g", "error", "debug", "info", "revokedError"], "description": "Message severity. " },
972 { "name": "text", "type": "string", "description": "Message text." }, 973 { "name": "text", "type": "string", "description": "Message text." },
973 { "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." }, 974 { "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." },
974 { "name": "scriptId", "type": "string", "optional": true, "d escription": "Script ID of the message origin." }, 975 { "name": "scriptId", "type": "string", "optional": true, "d escription": "Script ID of the message origin." },
975 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." }, 976 { "name": "url", "type": "string", "optional": true, "descri ption": "URL of the message origin." },
976 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." }, 977 { "name": "line", "type": "integer", "optional": true, "desc ription": "Line number in the resource that generated this message." },
977 { "name": "column", "type": "integer", "optional": true, "de scription": "Column number in the resource that generated this message." }, 978 { "name": "column", "type": "integer", "optional": true, "de scription": "Column number in the resource that generated this message." },
978 { "name": "repeatCount", "type": "integer", "optional": true , "description": "Repeat count for repeated messages." }, 979 { "name": "repeatCount", "type": "integer", "optional": true , "description": "Repeat count for repeated messages." },
979 { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i n case of the formatted message." }, 980 { "name": "parameters", "type": "array", "items": { "$ref": "Runtime.RemoteObject" }, "optional": true, "description": "Message parameters i n case of the formatted message." },
980 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } , 981 { "name": "stackTrace", "$ref": "StackTrace", "optional": tr ue, "description": "JavaScript stack trace for assertions and error messages." } ,
981 { "name": "asyncStackTrace", "$ref": "AsyncStackTrace", "opt ional": true, "description": "Asynchronous JavaScript stack trace that preceded this message, if available.", "hidden": true }, 982 { "name": "asyncStackTrace", "$ref": "AsyncStackTrace", "opt ional": true, "description": "Asynchronous JavaScript stack trace that preceded this message, if available.", "hidden": true },
982 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." }, 983 { "name": "networkRequestId", "$ref": "Network.RequestId", " optional": true, "description": "Identifier of the network request associated wi th this message." },
983 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp, when this message was fired.", "hidden": true }, 984 { "name": "timestamp", "$ref": "Timestamp", "description": " Timestamp, when this message was fired.", "hidden": true },
984 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "optional": true, "description": "Identifier of the context where this message was created", "hidden": true } 985 { "name": "executionContextId", "$ref": "Runtime.ExecutionCo ntextId", "optional": true, "description": "Identifier of the context where this message was created", "hidden": true },
986 { "name": "relatedSequenceNumber", "type": "integer", "hidde n": true, "optional": true, "description": "Message sequence number." }
985 ] 987 ]
986 }, 988 },
987 { 989 {
988 "id": "CallFrame", 990 "id": "CallFrame",
989 "type": "object", 991 "type": "object",
990 "description": "Stack entry for console errors and assertions.", 992 "description": "Stack entry for console errors and assertions.",
991 "properties": [ 993 "properties": [
992 { "name": "functionName", "type": "string", "description": " JavaScript function name." }, 994 { "name": "functionName", "type": "string", "description": " JavaScript function name." },
993 { "name": "scriptId", "type": "string", "description": "Java Script script id." }, 995 { "name": "scriptId", "type": "string", "description": "Java Script script id." },
994 { "name": "url", "type": "string", "description": "JavaScrip t script name or url." }, 996 { "name": "url", "type": "string", "description": "JavaScrip t script name or url." },
(...skipping 4111 matching lines...) Expand 10 before | Expand all | Expand 10 after
5106 ], 5108 ],
5107 "returns": [ 5109 "returns": [
5108 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true } 5110 { "name": "accessibilityNode", "$ref": "AXNode", "descriptio n": "The <code>Accessibility.AXNode</code> for this DOM node, if it exists.", "o ptional": true }
5109 ], 5111 ],
5110 "description": "Fetches the accessibility node for this DOM node , if it exists.", 5112 "description": "Fetches the accessibility node for this DOM node , if it exists.",
5111 "hidden": true 5113 "hidden": true
5112 } 5114 }
5113 ] 5115 ]
5114 }] 5116 }]
5115 } 5117 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698