Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / http / tests / inspector-enabled / console-exception-source-url.html
blob40875fece6211aac0af6bb605e5d0a69ca2178c4
1 <html>
2 <head>
3 <script src="../inspector/inspector-test.js"></script>
4 <script src="../inspector/console-test.js"></script>
5 <script type="text/javascript">
6 function onload()
8 if (window.testRunner)
9 testRunner.waitUntilDone();
10 setTimeout(showInspectorAndRunTest, 0);
12 var scriptContents = "function foo() { FAIL.FAIL; } \n //# sourceURL=foo2.js";
13 eval(scriptContents);
14 foo();
18 function showInspectorAndRunTest()
20 if (window.testRunner)
21 testRunner.showWebInspector();
22 runTest();
25 function test()
27 InspectorTest.expandConsoleMessages();
28 InspectorTest.dumpConsoleMessages();
29 InspectorTest.addResult("TEST COMPLETE");
30 InspectorTest.completeTest();
32 </script>
33 </head>
34 <body onload="onload()">
35 <p>Tests that when exception happens before inspector is open source url is correctly shown in console.</p>
36 </body>
37 </html>