| Index: third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| diff --git a/third_party/WebKit/Source/core/inspector/browser_protocol.json b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| index 0ff1cafdc141e29624443d32c6ee2304f0fa663a..78f12adf504b14987421fb8ecafd08970e7309da 100644
|
| --- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| +++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
|
| @@ -4220,6 +4220,53 @@
|
| ]
|
| },
|
| {
|
| + "domain": "Log",
|
| + "description": "Provides access to log entries.",
|
| + "dependencies": ["Runtime", "Network", "Worker"],
|
| + "hidden": true,
|
| + "types": [
|
| + {
|
| + "id": "LogEntry",
|
| + "type": "object",
|
| + "description": "Log entry.",
|
| + "properties": [
|
| + { "name": "source", "type": "string", "enum": ["xml", "javascript", "network", "storage", "appcache", "rendering", "security", "deprecation", "worker", "other"], "description": "Log entry source." },
|
| + { "name": "level", "type": "string", "enum": ["log", "warning", "error", "debug", "info"], "description": "Log entry severity." },
|
| + { "name": "text", "type": "string", "description": "Logged text." },
|
| + { "name": "timestamp", "$ref": "Runtime.Timestamp", "description": "Timestamp when this entry was added." },
|
| + { "name": "url", "type": "string", "optional": true, "description": "URL of the resource if known." },
|
| + { "name": "lineNumber", "type": "integer", "optional": true, "description": "Line number in the resource." },
|
| + { "name": "stackTrace", "$ref": "Runtime.StackTrace", "optional": true, "description": "JavaScript stack trace." },
|
| + { "name": "networkRequestId", "$ref": "Network.RequestId", "optional": true, "description": "Identifier of the network request associated with this entry." },
|
| + { "name": "workerId", "type": "string", "optional": true, "description": "Identifier of the worker associated with this entry." }
|
| + ]
|
| + }
|
| + ],
|
| + "commands": [
|
| + {
|
| + "name": "enable",
|
| + "description": "Enables log domain, sends the entries collected so far to the client by means of the <code>entryAdded</code> notification."
|
| + },
|
| + {
|
| + "name": "disable",
|
| + "description": "Disables log domain, prevents further log entries from being reported to the client."
|
| + },
|
| + {
|
| + "name": "clear",
|
| + "description": "Clears the log."
|
| + }
|
| + ],
|
| + "events": [
|
| + {
|
| + "name": "entryAdded",
|
| + "parameters": [
|
| + { "name": "entry", "$ref": "LogEntry", "description": "The entry." }
|
| + ],
|
| + "description": "Issued when new message was logged."
|
| + }
|
| + ]
|
| + },
|
| + {
|
| "domain": "Browser",
|
| "description": "The Browser domain allows listing, creating, activating and attaching to the targets.",
|
| "hidden": true,
|
|
|