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

Unified Diff: third_party/WebKit/Source/devtools/front_end/sdk/protocol/browser_protocol.json

Issue 2164793002: DevTools: roll front_end/sdk/protocol files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/protocol/js_protocol.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/sdk/protocol/browser_protocol.json
diff --git a/third_party/WebKit/Source/devtools/front_end/sdk/protocol/browser_protocol.json b/third_party/WebKit/Source/devtools/front_end/sdk/protocol/browser_protocol.json
index 0ff1cafdc141e29624443d32c6ee2304f0fa663a..a29fee0c315160d57eacfa18820fd993f2bb3635 100644
--- a/third_party/WebKit/Source/devtools/front_end/sdk/protocol/browser_protocol.json
+++ b/third_party/WebKit/Source/devtools/front_end/sdk/protocol/browser_protocol.json
@@ -1543,6 +1543,7 @@
},
{
"domain": "IndexedDB",
+ "dependencies": ["Runtime"],
"hidden": true,
"types": [
{
@@ -1605,9 +1606,9 @@
"type": "object",
"description": "Data entry.",
"properties": [
- { "name": "key", "type": "string", "description": "JSON-stringified key object." },
- { "name": "primaryKey", "type": "string", "description": "JSON-stringified primary key object." },
- { "name": "value", "type": "string", "description": "JSON-stringified value object." }
+ { "name": "key", "$ref": "Runtime.RemoteObject", "description": "Key object." },
+ { "name": "primaryKey", "$ref": "Runtime.RemoteObject", "description": "Primary key object." },
+ { "name": "value", "$ref": "Runtime.RemoteObject", "description": "Value object." }
]
},
{
@@ -4220,6 +4221,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,
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/sdk/protocol/js_protocol.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698