| 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 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.settingForTest("skipStackFramesPattern").set(frameworkRegexStri
ng); | 38 Common.settingForTest("skipStackFramesPattern").set(frameworkRegexString); |
| 39 | 39 |
| 40 InspectorTest.setQuiet(true); | 40 InspectorTest.setQuiet(true); |
| 41 InspectorTest.startDebuggerTest(step1); | 41 InspectorTest.startDebuggerTest(step1); |
| 42 | 42 |
| 43 function step1() | 43 function step1() |
| 44 { | 44 { |
| 45 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept
h, step2); | 45 InspectorTest.DebuggerAgent.setAsyncCallStackDepth(maxAsyncCallStackDept
h, step2); |
| 46 } | 46 } |
| 47 | 47 |
| 48 function step2() | 48 function step2() |
| (...skipping 13 matching lines...) Expand all Loading... |
| 62 </script> | 62 </script> |
| 63 </head> | 63 </head> |
| 64 | 64 |
| 65 <body onload="runTest()"> | 65 <body onload="runTest()"> |
| 66 <input type='button' onclick='testFunction()' value='Test'/> | 66 <input type='button' onclick='testFunction()' value='Test'/> |
| 67 <p> | 67 <p> |
| 68 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
. |
| 69 </p> | 69 </p> |
| 70 </body> | 70 </body> |
| 71 </html> | 71 </html> |
| OLD | NEW |