| 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="resources/framework.js"></script> | 5 <script src="resources/framework.js"></script> |
| 6 <script> | 6 <script> |
| 7 | 7 |
| 8 function testFunction() | 8 function testFunction() |
| 9 { | 9 { |
| 10 debugger; | 10 debugger; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 try { | 35 try { |
| 36 Framework.throwFrameworkException("message"); | 36 Framework.throwFrameworkException("message"); |
| 37 } catch (e) { | 37 } catch (e) { |
| 38 window.ex = e; | 38 window.ex = e; |
| 39 } | 39 } |
| 40 } | 40 } |
| 41 | 41 |
| 42 function test() | 42 function test() |
| 43 { | 43 { |
| 44 var frameworkRegexString = "/framework\\.js$"; | 44 var frameworkRegexString = "/framework\\.js$"; |
| 45 WebInspector.experimentsSettings.frameworksDebuggingSupport.enableForTest(); | |
| 46 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); | 45 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); |
| 47 | 46 |
| 48 InspectorTest.setQuiet(true); | 47 InspectorTest.setQuiet(true); |
| 49 InspectorTest.startDebuggerTest(step1); | 48 InspectorTest.startDebuggerTest(step1); |
| 50 | 49 |
| 51 function step1() | 50 function step1() |
| 52 { | 51 { |
| 53 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | 52 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
| 54 } | 53 } |
| 55 | 54 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 80 </script> | 79 </script> |
| 81 </head> | 80 </head> |
| 82 | 81 |
| 83 <body onload="runTest()"> | 82 <body onload="runTest()"> |
| 84 <input type='button' onclick='testFunction()' value='Test'/> | 83 <input type='button' onclick='testFunction()' value='Test'/> |
| 85 <p> | 84 <p> |
| 86 Tests stepping into/over/out with framework black-boxing. | 85 Tests stepping into/over/out with framework black-boxing. |
| 87 </p> | 86 </p> |
| 88 </body> | 87 </body> |
| 89 </html> | 88 </html> |
| OLD | NEW |