| 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="resources/framework.js"></script> | 6 <script src="resources/framework.js"></script> |
| 7 <script> | 7 <script> |
| 8 | 8 |
| 9 function appendElement(parentId, childId) | 9 function appendElement(parentId, childId) |
| 10 { | 10 { |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 remover(); | 32 remover(); |
| 33 | 33 |
| 34 remover = Framework.addEventListener(button, "click", Framework.bind(testEle
mentClicked, null), true); | 34 remover = Framework.addEventListener(button, "click", Framework.bind(testEle
mentClicked, null), true); |
| 35 button.click(); | 35 button.click(); |
| 36 remover(); | 36 remover(); |
| 37 } | 37 } |
| 38 | 38 |
| 39 function test() | 39 function test() |
| 40 { | 40 { |
| 41 var frameworkRegexString = "/framework\\.js$"; | 41 var frameworkRegexString = "/framework\\.js$"; |
| 42 WebInspector.experimentsSettings.frameworksDebuggingSupport.enableForTest(); | |
| 43 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); | 42 WebInspector.settings.skipStackFramesPattern.set(frameworkRegexString); |
| 44 | 43 |
| 45 InspectorTest.setQuiet(true); | 44 InspectorTest.setQuiet(true); |
| 46 | 45 |
| 47 InspectorTest.runDebuggerTestSuite([ | 46 InspectorTest.runDebuggerTestSuite([ |
| 48 function testDOMBreakpoint(next) | 47 function testDOMBreakpoint(next) |
| 49 { | 48 { |
| 50 InspectorTest.nodeWithId("rootElement", step1); | 49 InspectorTest.nodeWithId("rootElement", step1); |
| 51 | 50 |
| 52 function step1(node) | 51 function step1(node) |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 </head> | 86 </head> |
| 88 | 87 |
| 89 <body onload="runTest()"> | 88 <body onload="runTest()"> |
| 90 <p> | 89 <p> |
| 91 Tests framework black-boxing on DOM, XHR and Event breakpoints. | 90 Tests framework black-boxing on DOM, XHR and Event breakpoints. |
| 92 </p> | 91 </p> |
| 93 <div id="rootElement"></div> | 92 <div id="rootElement"></div> |
| 94 <input type=button id="test"></input> | 93 <input type=button id="test"></input> |
| 95 </body> | 94 </body> |
| 96 </html> | 95 </html> |
| OLD | NEW |