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

Unified Diff: LayoutTests/http/tests/inspector/console-test.js

Issue 654753003: DevTools: text node rendering in the console regressed when migrated to promises. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | LayoutTests/inspector/console/console-format.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/http/tests/inspector/console-test.js
diff --git a/LayoutTests/http/tests/inspector/console-test.js b/LayoutTests/http/tests/inspector/console-test.js
index 4c27b3f4d5a2e8b4cfc41b0faf33d157bb4fe31b..f4d4b57aea8d9a511ec9512491d9e2c09cd38915 100644
--- a/LayoutTests/http/tests/inspector/console-test.js
+++ b/LayoutTests/http/tests/inspector/console-test.js
@@ -186,7 +186,7 @@ InspectorTest.dumpConsoleMessagesWithClasses = function(sortMessages) {
InspectorTest.addResult(result[i]);
}
-InspectorTest.expandConsoleMessages = function(callback, deepFilter)
+InspectorTest.expandConsoleMessages = function(callback, deepFilter, sectionFilter)
{
var messageViews = WebInspector.ConsolePanel._view()._visibleViewMessages;
@@ -205,6 +205,8 @@ InspectorTest.expandConsoleMessages = function(callback, deepFilter)
node.treeElementForTest.expand();
if (!node._section)
continue;
+ if (sectionFilter && !sectionFilter(node._section))
+ continue;
node._section.expanded = true;
if (!deepFilter)
« no previous file with comments | « no previous file | LayoutTests/inspector/console/console-format.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698