Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-table.html
blob36ba871dc87cbcad914727f750b0b34a52534590
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
5 <script>
6 function start()
8 a = {};
9 b = {};
11 for (var i = 0; i < 15; i++)
12 b["a" + i] = "a" + i;
14 for (var i = 0; i < 15; i++) {
15 a["b" + i] = "b" + i;
16 b["b" + i] = "b" + i;
19 c = [a, b, a, b];
20 d = [b, a, b, a];
22 runTest();
25 function test()
27 InspectorTest.disableConsoleViewport();
28 InspectorTest.addConsoleViewSniffer(messageAdded, true);
30 var count = 4;
31 function messageAdded(message)
33 if (count === 2 || count === 3)
34 InspectorTest.dumpConsoleTableMessage(message, true);
36 if (--count === 0)
37 InspectorTest.completeTest();
40 InspectorTest.evaluateInConsole("console.table(c); console.table(d)");
42 </script>
43 </head>
44 <body onload="start()">
45 <p>
46 Tests that console.table is properly rendered on tables with more than 20 columns(maxColumnsToRender).
47 </p>
48 </body>
49 </html>