| 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> | 5 <script> |
| 6 | 6 |
| 7 function testFunction() | 7 function testFunction() |
| 8 { | 8 { |
| 9 setTimeout(timeout, 0); | 9 setTimeout(timeout, 0); |
| 10 } | 10 } |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 } | 34 } |
| 35 | 35 |
| 36 function onGetAsString() | 36 function onGetAsString() |
| 37 { | 37 { |
| 38 debugger; | 38 debugger; |
| 39 } | 39 } |
| 40 | 40 |
| 41 function test() | 41 function test() |
| 42 { | 42 { |
| 43 var totalDebuggerStatements = 2; | 43 var totalDebuggerStatements = 2; |
| 44 var maxAsyncCallStackDepth = 4; | 44 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements); |
| 45 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt
ackDepth); | |
| 46 } | 45 } |
| 47 | 46 |
| 48 </script> | 47 </script> |
| 49 </head> | 48 </head> |
| 50 | 49 |
| 51 <body onload="runTest()"> | 50 <body onload="runTest()"> |
| 52 <input type="text" id="input"></input> | 51 <input type="text" id="input"></input> |
| 53 <p> | 52 <p> |
| 54 Tests asynchronous call stacks for DataTransferItem.getAsString. | 53 Tests asynchronous call stacks for DataTransferItem.getAsString. |
| 55 </p> | 54 </p> |
| 56 | 55 |
| 57 </body> | 56 </body> |
| 58 </html> | 57 </html> |
| OLD | NEW |