Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / console / console-trace-in-eval.html
blobcab63bf6e26b5ffa6577f9d063c482d894508b7c
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>
8 function evalSource()
10 function b()
12 console.trace();
15 function a()
17 b();
20 a();
23 function doEvalSource()
25 setTimeout(function() {
26 eval("(" + evalSource + ")()//# sourceURL=evalURL.js");
27 }, 0);
30 function test()
32 function callback()
34 InspectorTest.dumpConsoleMessages();
35 InspectorTest.completeTest();
37 InspectorTest.evaluateInPage("doEvalSource()");
38 InspectorTest.addConsoleSniffer(callback);
41 </script>
42 </head>
44 <body onload="runTest()">
45 <p>
46 Tests that when console.trace is called in eval'ed script ending
47 with //# sourceURL=url it will dump a stack trace that will have
48 the url as the script source. <a href="https://bugs.webkit.org/show_bug.cgi?id=47252">Bug 47252.</a>
49 </p>
51 </body>
52 </html>