| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../../http/tests/inspector/inspector-test.js"></script> |
| 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 4 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 5 <script src="../debugger/resources/framework.js"></script> | 5 <script src="../debugger/resources/framework.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function testFunction() | 8 function testFunction() |
| 9 { | 9 { |
| 10 for (var i = 1, func; func = eval("typeof test" + i + " === 'function' && te
st" + i); ++i) | 10 for (var i = 1, func; func = eval("typeof test" + i + " === 'function' && te
st" + i); ++i) |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 { | 50 { |
| 51 debugger; | 51 debugger; |
| 52 Framework.safeRun(Framework.doSomeWorkDoNotChangeTopCallFrame, callback); | 52 Framework.safeRun(Framework.doSomeWorkDoNotChangeTopCallFrame, callback); |
| 53 } | 53 } |
| 54 | 54 |
| 55 function test() | 55 function test() |
| 56 { | 56 { |
| 57 var frameworkRegexString = "/framework\\.js$"; | 57 var frameworkRegexString = "/framework\\.js$"; |
| 58 var totalDebuggerStatements = 6; | 58 var totalDebuggerStatements = 6; |
| 59 | 59 |
| 60 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri
ng); | 60 Common.settingForTest("skipStackFramesPattern").set(frameworkRegexString); |
| 61 | 61 |
| 62 InspectorTest.setQuiet(true); | 62 InspectorTest.setQuiet(true); |
| 63 InspectorTest.startDebuggerTest(step1); | 63 InspectorTest.startDebuggerTest(step1); |
| 64 | 64 |
| 65 function step1() | 65 function step1() |
| 66 { | 66 { |
| 67 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause); | 67 InspectorTest.runTestFunctionAndWaitUntilPaused(didPause); |
| 68 } | 68 } |
| 69 | 69 |
| 70 var step = 0; | 70 var step = 0; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 91 </script> | 91 </script> |
| 92 </head> | 92 </head> |
| 93 | 93 |
| 94 <body onload="runTest()"> | 94 <body onload="runTest()"> |
| 95 <input type='button' onclick='testFunction()' value='Test'/> | 95 <input type='button' onclick='testFunction()' value='Test'/> |
| 96 <p> | 96 <p> |
| 97 Tests the skip stack frames feature when stepping. | 97 Tests the skip stack frames feature when stepping. |
| 98 </p> | 98 </p> |
| 99 </body> | 99 </body> |
| 100 </html> | 100 </html> |
| OLD | NEW |