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

Unified Diff: third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js

Issue 2563553002: DevTools: Disallow console.log statements with eslint (Closed)
Patch Set: fix tests Created 4 years 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/devtools/front_end/extensions/ExtensionServer.js
diff --git a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
index 4d930b6397eb47ca2ebc18ab0a8470410ce590d9..1410c0baacd554e0b202ba894a602c85aa7effd1 100644
--- a/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
+++ b/third_party/WebKit/Source/devtools/front_end/extensions/ExtensionServer.js
@@ -1014,7 +1014,7 @@ Extensions.ExtensionStatus = class {
var status = {code: code, description: description, details: details};
if (code !== 'OK') {
status.isError = true;
- console.log('Extension server error: ' + String.vsprintf(description, details));
+ console.error('Extension server error: ' + String.vsprintf(description, details));
}
return status;
}

Powered by Google App Engine
This is Rietveld 408576698