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

Side by Side Diff: LayoutTests/inspector/console/console-dir-deprecated.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 logObjects() 7 function logObjects()
8 { 8 {
9 console.dir(window); 9 console.dir(window);
10 console.dir(document.getElementById("foo").createShadowRoot()); 10 console.dir(document.getElementById("foo").createShadowRoot());
11 } 11 }
12 12
13 function test() 13 function test()
14 { 14 {
15 InspectorTest.evaluateInPage("logObjects()", step2); 15 InspectorTest.evaluateInPage("logObjects()", step2);
16 function step2() 16 function step2()
17 { 17 {
18 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe ctor.ConsolePanel._view()._topGroup._messagesElement)); 18 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe ctor.ConsolePanel._view()._messagesContainer));
19 InspectorTest.completeTest(); 19 InspectorTest.completeTest();
20 } 20 }
21 } 21 }
22 22
23 </script> 23 </script>
24 </head> 24 </head>
25 25
26 <body onload="runTest()"> 26 <body onload="runTest()">
27 <div id="foo"></div> 27 <div id="foo"></div>
28 <p> 28 <p>
29 Tests that console does not log deprecated warning messages while dir-dumping ob jects. 29 Tests that console does not log deprecated warning messages while dir-dumping ob jects.
30 </p> 30 </p>
31 31
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698