| 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 var a = []; | 9 var a = []; |
| 10 for (var i = 0; i < 42; ++i) | 10 for (var i = 0; i < 42; ++i) |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 } | 94 } |
| 95 } | 95 } |
| 96 if (populated) | 96 if (populated) |
| 97 InspectorTest.runAfterPendingDispatches(completeTest); | 97 InspectorTest.runAfterPendingDispatches(completeTest); |
| 98 else | 98 else |
| 99 InspectorTest.runAfterPendingDispatches(expandRecursively); | 99 InspectorTest.runAfterPendingDispatches(expandRecursively); |
| 100 } | 100 } |
| 101 | 101 |
| 102 function completeTest() | 102 function completeTest() |
| 103 { | 103 { |
| 104 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe
ctor.ConsolePanel._view()._topGroup._messagesElement)); | 104 InspectorTest.addResult(InspectorTest.textContentWithLineBreaks(WebInspe
ctor.ConsolePanel._view()._messagesContainer)); |
| 105 InspectorTest.completeTest(); | 105 InspectorTest.completeTest(); |
| 106 } | 106 } |
| 107 } | 107 } |
| 108 | 108 |
| 109 </script> | 109 </script> |
| 110 </head> | 110 </head> |
| 111 | 111 |
| 112 <body onload="onload()"> | 112 <body onload="onload()"> |
| 113 <p> | 113 <p> |
| 114 Tests that console logging dumps large arrays properly. | 114 Tests that console logging dumps large arrays properly. |
| 115 </p> | 115 </p> |
| 116 | 116 |
| 117 </body> | 117 </body> |
| 118 </html> | 118 </html> |
| OLD | NEW |