Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-clear.html
blobc852c74a2b26511ca3cd75b568f7c1de79afa99c
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 log() {
8 // Fill console.
9 console.log("one");
10 console.log("two");
11 console.log("three");
14 log();
16 function test()
19 InspectorTest.addResult("=== Before clear ===");
20 InspectorTest.dumpConsoleMessages();
22 InspectorTest.consoleModel.requestClearMessages();
24 function callback()
26 InspectorTest.addResult("=== After clear ===");
27 InspectorTest.dumpConsoleMessages();
28 InspectorTest.completeTest();
30 InspectorTest.runAfterPendingDispatches(callback);
33 </script>
34 </head>
36 <body onload="runTest()">
37 <p>
38 Tests that console is cleared upon requestClearMessages call.
39 </p>
41 </body>
42 </html>