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

Unified Diff: Source/devtools/front_end/ConsoleView.js

Issue 102003004: [DevTools] Do not filter manually entered commands in console. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed blank lines. Created 7 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
« no previous file with comments | « Source/devtools/front_end/ConsoleModel.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ConsoleView.js
diff --git a/Source/devtools/front_end/ConsoleView.js b/Source/devtools/front_end/ConsoleView.js
index e71b7bb0a3a3a373602cb2191788abada2db443d..b43174de00915b96226243c975c6d01644788ad8 100644
--- a/Source/devtools/front_end/ConsoleView.js
+++ b/Source/devtools/front_end/ConsoleView.js
@@ -843,6 +843,9 @@ WebInspector.ConsoleViewFilter.prototype = {
if ((message.type === WebInspector.ConsoleMessage.MessageType.StartGroup || message.type === WebInspector.ConsoleMessage.MessageType.StartGroupCollapsed || message.type === WebInspector.ConsoleMessage.MessageType.EndGroup))
return true;
+ if (message.type === WebInspector.ConsoleMessage.MessageType.Result || message.type === WebInspector.ConsoleMessage.MessageType.Command)
+ return true;
+
if (message.url && this._messageURLFilters[message.url])
return false;
@@ -877,6 +880,7 @@ WebInspector.ConsoleViewFilter.prototype = {
WebInspector.ConsoleCommand = function(text)
{
this.text = text;
+ this.type = WebInspector.ConsoleMessage.MessageType.Command;
}
WebInspector.ConsoleCommand.prototype = {
« no previous file with comments | « Source/devtools/front_end/ConsoleModel.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698