Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-assert.html
blob5f7dcc0b7febcf79f2b7ebbf2595ba0f614086a8
1 <html>
2 <head>
3 <script src="../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../http/tests/inspector/console-test.js"></script>
6 <script>
7 function b()
9 console.assert(false, 1);
10 console.assert(false, "a", "b");
13 function a()
15 b();
17 //# sourceURL=console-assert.html
18 </script>
20 <script>
21 function test()
23 var callCount = 0;
24 function callback()
26 if (++callCount === 2)
27 InspectorTest.expandConsoleMessages(onExpandedMessages);
30 function onExpandedMessages()
32 InspectorTest.dumpConsoleMessages();
33 InspectorTest.completeTest();
36 InspectorTest.evaluateInPage("setTimeout(a, 0)");
37 InspectorTest.addConsoleSniffer(callback, true);
40 </script>
41 </head>
43 <body onload="runTest()">
44 <p>
45 Tests that console.assert() will dump a message and stack trace with source URLs and line numbers.
46 </p>
48 </body>
49 </html>