| 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 for (var name in window) { | 9 for (var name in window) { |
| 10 if (/^doTest[A-Z]/.test(name) && typeof window[name] === "function") | 10 if (/^doTest[A-Z]/.test(name) && typeof window[name] === "function") |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 function onVideoPlay() | 68 function onVideoPlay() |
| 69 { | 69 { |
| 70 video.removeEventListener("play", onVideoPlay, false); | 70 video.removeEventListener("play", onVideoPlay, false); |
| 71 debugger; | 71 debugger; |
| 72 } | 72 } |
| 73 | 73 |
| 74 var test = function() | 74 var test = function() |
| 75 { | 75 { |
| 76 var totalDebuggerStatements = 4; | 76 var totalDebuggerStatements = 4; |
| 77 var maxAsyncCallStackDepth = 4; | 77 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements); |
| 78 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt
ackDepth); | |
| 79 } | 78 } |
| 80 | 79 |
| 81 </script> | 80 </script> |
| 82 </head> | 81 </head> |
| 83 | 82 |
| 84 <body onload="runTest()"> | 83 <body onload="runTest()"> |
| 85 <video id="video" src="../../../media/content/test.ogv"></video> | 84 <video id="video" src="../../../media/content/test.ogv"></video> |
| 86 <p id="content"> | 85 <p id="content"> |
| 87 Tests asynchronous call stacks for various DOM events. | 86 Tests asynchronous call stacks for various DOM events. |
| 88 </p> | 87 </p> |
| 89 </body> | 88 </body> |
| 90 </html> | 89 </html> |
| OLD | NEW |