| 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/elements-test.js"></script> | 4 <script src="../../../http/tests/inspector/elements-test.js"></script> |
| 5 <script src="../../../http/tests/inspector/debugger-test.js"></script> | 5 <script src="../../../http/tests/inspector/debugger-test.js"></script> |
| 6 <script src="../debugger/resources/framework.js"></script> | 6 <script src="../debugger/resources/framework.js"></script> |
| 7 <script> | 7 <script> |
| 8 | 8 |
| 9 function appendElement(parentId, childId) | 9 function appendElement(parentId, childId) |
| 10 { | 10 { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 var remover4 = function() {}; | 60 var remover4 = function() {}; |
| 61 if (addNonBlackboxedListener) | 61 if (addNonBlackboxedListener) |
| 62 remover4 = Framework.addEventListener(button, "click", Framework.bin
d(Framework.safeRun, null, Framework.empty, testElementClicked, Framework.empty)
, true); | 62 remover4 = Framework.addEventListener(button, "click", Framework.bin
d(Framework.safeRun, null, Framework.empty, testElementClicked, Framework.empty)
, true); |
| 63 debugger; | 63 debugger; |
| 64 button.click(); | 64 button.click(); |
| 65 remover1(); | 65 remover1(); |
| 66 remover2(); | 66 remover2(); |
| 67 remover3(); | 67 remover3(); |
| 68 remover4(); | 68 remover4(); |
| 69 } | 69 } |
| 70 var result = inner(); | 70 return inner(); |
| 71 return result; | |
| 72 } | 71 } |
| 73 | 72 |
| 74 function test() | 73 function test() |
| 75 { | 74 { |
| 76 var frameworkRegexString = "/framework\\.js$"; | 75 var frameworkRegexString = "/framework\\.js$"; |
| 77 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri
ng); | 76 WebInspector.settingForTest("skipStackFramesPattern").set(frameworkRegexStri
ng); |
| 78 | 77 |
| 79 InspectorTest.setQuiet(true); | 78 InspectorTest.setQuiet(true); |
| 80 | 79 |
| 81 InspectorTest.runDebuggerTestSuite([ | 80 InspectorTest.runDebuggerTestSuite([ |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 </head> | 175 </head> |
| 177 | 176 |
| 178 <body onload="runTest()"> | 177 <body onload="runTest()"> |
| 179 <p> | 178 <p> |
| 180 Tests framework black-boxing on DOM, XHR and Event breakpoints. | 179 Tests framework black-boxing on DOM, XHR and Event breakpoints. |
| 181 </p> | 180 </p> |
| 182 <div id="rootElement"></div> | 181 <div id="rootElement"></div> |
| 183 <input type=button id="test"></input> | 182 <input type=button id="test"></input> |
| 184 </body> | 183 </body> |
| 185 </html> | 184 </html> |
| OLD | NEW |