| 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 window.callbackFromFramework = function(next) | 8 window.callbackFromFramework = function(next) |
| 9 { | 9 { |
| 10 return next(); | 10 return next(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 28 function callback2() | 28 function callback2() |
| 29 { | 29 { |
| 30 debugger; | 30 debugger; |
| 31 } | 31 } |
| 32 | 32 |
| 33 function test() | 33 function test() |
| 34 { | 34 { |
| 35 var frameworkRegexString = "/framework\\.js$"; | 35 var frameworkRegexString = "/framework\\.js$"; |
| 36 var maxAsyncCallStackDepth = 4; | 36 var maxAsyncCallStackDepth = 4; |
| 37 | 37 |
| 38 WebInspector.experimentsSettings.frameworksDebuggingSupport.enableForTest(); | |
| 39 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); | 38 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); |
| 40 | 39 |
| 41 InspectorTest.setQuiet(true); | 40 InspectorTest.setQuiet(true); |
| 42 InspectorTest.startDebuggerTest(step1); | 41 InspectorTest.startDebuggerTest(step1); |
| 43 | 42 |
| 44 function step1() | 43 function step1() |
| 45 { | 44 { |
| 46 DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDepth, step2); | 45 DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDepth, step2); |
| 47 } | 46 } |
| 48 | 47 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 63 </script> | 62 </script> |
| 64 </head> | 63 </head> |
| 65 | 64 |
| 66 <body onload="runTest()"> | 65 <body onload="runTest()"> |
| 67 <input type='button' onclick='testFunction()' value='Test'/> | 66 <input type='button' onclick='testFunction()' value='Test'/> |
| 68 <p> | 67 <p> |
| 69 Tests the async call stacks and framework black-boxing features working together
. | 68 Tests the async call stacks and framework black-boxing features working together
. |
| 70 </p> | 69 </p> |
| 71 </body> | 70 </body> |
| 72 </html> | 71 </html> |
| OLD | NEW |