Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / sources / debugger / debugger-reload-on-pause.html
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>
6
7 function testFunction()
8 {
9     debugger;
10 }
11
12 var test = function()
13 {
14     InspectorTest.startDebuggerTest(step1);
15
16     function step1()
17     {
18         InspectorTest.runTestFunctionAndWaitUntilPaused(step2);
19     }
20
21     function step2()
22     {
23         InspectorTest.reloadPage(step3);
24     }
25
26     function step3()
27     {
28         InspectorTest.completeDebuggerTest();
29     }
30 }
31
32 </script>
33 </head>
34
35 <body onload="runTest()">
36 <p>
37 Tests "reload" from within inspector window while on pause.
38 </p>
39
40 </body>
41 </html>