Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / sources / debugger-pause / debugger-pause-in-eval-script.html
blob36539fe219f8a5102d943761d9491d44f8c31777
1 <html>
2 <head>
3 <script src="../../../http/tests/inspector/inspector-test.js"></script>
4 <script src="../../../http/tests/inspector/debugger-test.js"></script>
5 <script>
8 var test = function()
10 var scriptToEvaluate = "function testFunction() {\n" +
11 " debugger;\n" +
12 "}\n" +
13 "setTimeout(testFunction, 0);\n";
15 InspectorTest.startDebuggerTest(step1);
17 function step1()
19 InspectorTest.evaluateInPage(scriptToEvaluate, InspectorTest.addResult.bind(InspectorTest, "Evaluated script in console."));
20 InspectorTest.waitUntilPaused(step2);
23 function step2(callFrames)
25 InspectorTest.captureStackTrace(callFrames);
26 InspectorTest.completeDebuggerTest();
30 </script>
31 </head>
33 <body onload="runTest()">
34 <p>
35 Tests that debugger will stop on "debugger" statement in a function that was added
36 to the inspected page via evaluation in Web Inspector console.<a href="https://bugs.webkit.org/show_bug.cgi?id=41058">Bug 41058</a>
37 </p>
39 </body>
40 </html>