Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-tests.html
blob49c1b61a52e98b9b994a96d6d0fe649fe933f522
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>
7 function onload()
9 console.log('log');
10 console.debug('debug');
11 console.info('info');
12 console.warn('warn');
13 console.error('error');
14 for (var i = 0; i < 5; ++i)
15 console.log('repeated');
16 for (var i = 0; i < 2; ++i)
17 console.count('count');
18 console.group('group');
19 console.groupEnd();
20 console.log('1', '2', '3');
21 console.groupCollapsed('groupCollapsed');
22 console.log({ property: "value" });
23 console.log(42);
24 console.log(true);
25 console.log(null);
26 console.log(undefined);
27 console.log(document);
28 console.log(function() { });
29 console.log(function f() { });
30 console.log([1, 2, 3]);
31 console.log(/regexp.*/);
32 console.groupEnd();
33 console.count();
34 console.count();
35 console.count();
36 console.count("title");
37 console.count("title");
38 console.count("title");
40 runTest();
43 function test()
45 InspectorTest.dumpConsoleMessagesWithClasses();
46 InspectorTest.completeTest();
48 </script>
49 </head>
51 <body onload="onload()">
52 <p>
53 Tests that console logging dumps proper messages.
54 </p>
56 </body>
57 </html>