| OLD | NEW |
| 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 Loading... |
| 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> |
| OLD | NEW |