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

Unified Diff: LayoutTests/inspector/console/console-filter-test.html

Issue 254833004: DevTools: [Console] use filtering to collapse and expand console groups (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: update tests Created 6 years, 8 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
Index: LayoutTests/inspector/console/console-filter-test.html
diff --git a/LayoutTests/inspector/console/console-filter-test.html b/LayoutTests/inspector/console/console-filter-test.html
index 01817096d49834e988b57f250b5102c15bfd21f7..373dcf1324b0adfa21e03b73fbec704da7a29cdf 100644
--- a/LayoutTests/inspector/console/console-filter-test.html
+++ b/LayoutTests/inspector/console/console-filter-test.html
@@ -43,15 +43,15 @@ function onload()
function test()
{
- var messagesElement = WebInspector.ConsolePanel._view()._topGroup._messagesElement;
+ var messagesElement = WebInspector.ConsolePanel._view()._messagesContainer;
- function dumpVisibleMessages(root, indent)
+ function dumpVisibleMessages(root)
{
- root = root || WebInspector.ConsolePanel._view()._topGroup._messagesElement; // .console-group
+ var root = WebInspector.ConsolePanel._view()._messagesContainer; // .console-group
var children = root.childNodes;
for (var i = 0; i < children.length; ++i) {
var viewMessage = children[i].message;
- var delimeter = WebInspector.ConsoleGroup.isGroupStartMessage(viewMessage) ? ">" : "";
+ var delimeter = viewMessage.consoleMessage().isGroupStartMessage() ? ">" : "";
var indent = "";
for (var j = 0; j < viewMessage.nestingLevel(); ++j)
indent += " ";

Powered by Google App Engine
This is Rietveld 408576698