| 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 var node = document.createElement("div"); | 7 var node = document.createElement("div"); |
| 8 var nestedNode = document.createElement("div"); | 8 var nestedNode = document.createElement("div"); |
| 9 | 9 |
| 10 var observer = new MutationObserver(mutationCallback); | 10 var observer = new MutationObserver(mutationCallback); |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 72 |
| 73 function timeoutFromNestedMutation() | 73 function timeoutFromNestedMutation() |
| 74 { | 74 { |
| 75 debugger; | 75 debugger; |
| 76 doMutations2(nestedNode); | 76 doMutations2(nestedNode); |
| 77 } | 77 } |
| 78 | 78 |
| 79 var test = function() | 79 var test = function() |
| 80 { | 80 { |
| 81 var totalDebuggerStatements = 6; | 81 var totalDebuggerStatements = 6; |
| 82 var maxAsyncCallStackDepth = 4; | 82 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements); |
| 83 InspectorTest.runAsyncCallStacksTest(totalDebuggerStatements, maxAsyncCallSt
ackDepth); | |
| 84 } | 83 } |
| 85 | 84 |
| 86 </script> | 85 </script> |
| 87 </head> | 86 </head> |
| 88 | 87 |
| 89 <body onload="runTest()"> | 88 <body onload="runTest()"> |
| 90 <p> | 89 <p> |
| 91 Tests asynchronous call stacks for MutationObserver. | 90 Tests asynchronous call stacks for MutationObserver. |
| 92 </p> | 91 </p> |
| 93 | 92 |
| 94 </body> | 93 </body> |
| 95 </html> | 94 </html> |
| OLD | NEW |