| 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 var proto = Object.create(HTMLElement.prototype); | 8 var proto = Object.create(HTMLElement.prototype); |
| 9 proto.createdCallback = function createdCallback() { | 9 proto.createdCallback = function createdCallback() { |
| 10 output('Invoked createdCallback.'); | 10 output('Invoked createdCallback.'); |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 foo.setAttribute('a', 'b'); | 25 foo.setAttribute('a', 'b'); |
| 26 debugger; | 26 debugger; |
| 27 document.body.appendChild(foo); | 27 document.body.appendChild(foo); |
| 28 debugger; | 28 debugger; |
| 29 foo.remove(); | 29 foo.remove(); |
| 30 } | 30 } |
| 31 | 31 |
| 32 var test = function() { | 32 var test = function() { |
| 33 InspectorTest.resumeExecution = function(callback) { | 33 InspectorTest.resumeExecution = function(callback) { |
| 34 if (WebInspector.panels.sources.paused) | 34 if (WebInspector.panels.sources.paused) |
| 35 WebInspector.panels.sources._togglePause(); | 35 WebInspector.panels.sources.togglePause(); |
| 36 InspectorTest.waitUntilResumed(callback); | 36 InspectorTest.waitUntilResumed(callback); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 InspectorTest.startDebuggerTest(step1, true); | 39 InspectorTest.startDebuggerTest(step1, true); |
| 40 | 40 |
| 41 function step1() { | 41 function step1() { |
| 42 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); | 42 InspectorTest.runTestFunctionAndWaitUntilPaused(step2); |
| 43 } | 43 } |
| 44 | 44 |
| 45 function checkTopFrameFunction(callFrames, expectedName) { | 45 function checkTopFrameFunction(callFrames, expectedName) { |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 100 </script> | 100 </script> |
| 101 </head> | 101 </head> |
| 102 | 102 |
| 103 <body onload="runTest()"> | 103 <body onload="runTest()"> |
| 104 <p> | 104 <p> |
| 105 Tests that stepping into custom element methods will lead to a pause in the call
backs. | 105 Tests that stepping into custom element methods will lead to a pause in the call
backs. |
| 106 </p> | 106 </p> |
| 107 | 107 |
| 108 </body> | 108 </body> |
| 109 </html> | 109 </html> |
| OLD | NEW |