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

Unified Diff: third_party/WebKit/Source/core/inspector/browser_protocol.json

Issue 2474073005: DevTools: add the logging aspect into the PerformanceMonitor (Closed)
Patch Set: test fixed Created 4 years, 1 month 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
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 9e6068d0942a5d3c7d4fdc3069d4e0617a511cf3..bec78705ed55828718053be51e2239327b32948d 100644
--- a/third_party/WebKit/Source/core/inspector/browser_protocol.json
+++ b/third_party/WebKit/Source/core/inspector/browser_protocol.json
@@ -505,13 +505,6 @@
"handlers": []
},
{
- "name": "setBlockedEventsWarningThreshold",
- "experimental": true,
- "parameters": [
- { "name": "threshold", "type": "number", "description": "If set to a positive number, specifies threshold in seconds for input event latency that will cause a console warning about blocked event to be issued. If zero or less, the warning is disabled." }
- ]
- },
- {
"name": "setControlNavigations",
"parameters": [
{ "name": "enabled", "type": "boolean" }
@@ -4483,7 +4476,7 @@
"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": "source", "type": "string", "enum": ["xml", "javascript", "network", "storage", "appcache", "rendering", "security", "deprecation", "worker", "violation", "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." },
@@ -4507,6 +4500,13 @@
{
"name": "clear",
"description": "Clears the log."
+ },
+ {
+ "name": "setReportViolationsEnabled",
+ "parameters": [
+ { "name": "enabled", "type": "boolean", "description": "Pass true to enable." }
+ ],
+ "description": "Reports runtime audit violations as log entries."
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698