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

Side by Side Diff: LayoutTests/inspector/console/console-dir.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script> 3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script> 4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script> 5 <script>
6 6
7 function onload() 7 function onload()
8 { 8 {
9 console.dir(["test1", "test2"]); 9 console.dir(["test1", "test2"]);
10 console.dir(document.childNodes); 10 console.dir(document.childNodes);
(...skipping 11 matching lines...) Expand all
22 22
23 runTest(); 23 runTest();
24 } 24 }
25 25
26 function test() 26 function test()
27 { 27 {
28 InspectorTest.expandConsoleMessages(dumpConsoleMessages); 28 InspectorTest.expandConsoleMessages(dumpConsoleMessages);
29 29
30 function dumpConsoleMessages() 30 function dumpConsoleMessages()
31 { 31 {
32 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe ctor.ConsolePanel._view()._topGroup._messagesElement)); 32 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe ctor.ConsolePanel._view()._messagesContainer));
33 InspectorTest.completeTest(); 33 InspectorTest.completeTest();
34 } 34 }
35 } 35 }
36 36
37 </script> 37 </script>
38 </head> 38 </head>
39 39
40 <body onload="onload()"> 40 <body onload="onload()">
41 <p> 41 <p>
42 Tests that console logging dumps proper messages. 42 Tests that console logging dumps proper messages.
43 </p> 43 </p>
44 44
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698