| 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 src="../../http/tests/inspector/live-edit-test.js"></script> | 5 <script src="../../http/tests/inspector/live-edit-test.js"></script> |
| 6 <script src="resources/edit-me-breakpoints.js"></script> | 6 <script src="resources/edit-me-breakpoints.js"></script> |
| 7 <script> | 7 <script> |
| 8 function loadDynamicAnonymousScript() | 8 function loadDynamicAnonymousScript() |
| 9 { | 9 { |
| 10 function testFunction() | 10 function testFunction() |
| 11 { | 11 { |
| 12 debugger; | 12 debugger; |
| 13 } | 13 } |
| 14 var scriptElement = document.createElement("script"); | 14 var scriptElement = document.createElement("script"); |
| 15 scriptElement.textContent = String(testFunction); | 15 scriptElement.textContent = String(testFunction); |
| 16 docuemnt.head.appendChild(scriptElement); | 16 docuemnt.head.appendChild(scriptElement); |
| 17 } | 17 } |
| 18 | 18 |
| 19 function test() | 19 function test() |
| 20 { | 20 { |
| 21 var panel = WebInspector.showPanel("scripts"); | 21 var panel = WebInspector.showPanel("sources"); |
| 22 | 22 |
| 23 function pathToFileName(path) | 23 function pathToFileName(path) |
| 24 { | 24 { |
| 25 return path.substring(path.lastIndexOf("/") + 1); | 25 return path.substring(path.lastIndexOf("/") + 1); |
| 26 } | 26 } |
| 27 | 27 |
| 28 function dumpBreakpointStorageAndLocations() | 28 function dumpBreakpointStorageAndLocations() |
| 29 { | 29 { |
| 30 var breakpointManager = WebInspector.breakpointManager; | 30 var breakpointManager = WebInspector.breakpointManager; |
| 31 var breakpoints = breakpointManager._storage._setting.get(); | 31 var breakpoints = breakpointManager._storage._setting.get(); |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 ]); | 437 ]); |
| 438 }; | 438 }; |
| 439 | 439 |
| 440 </script> | 440 </script> |
| 441 </head> | 441 </head> |
| 442 <body onload="runTest()"> | 442 <body onload="runTest()"> |
| 443 <p>Tests breakpoints are correctly dimmed and restored in JavaScriptSourceFrame
during live edit.</p> | 443 <p>Tests breakpoints are correctly dimmed and restored in JavaScriptSourceFrame
during live edit.</p> |
| 444 <a href="https://bugs.webkit.org/show_bug.cgi?id=99598">Bug 99598</a> | 444 <a href="https://bugs.webkit.org/show_bug.cgi?id=99598">Bug 99598</a> |
| 445 </body> | 445 </body> |
| 446 </html> | 446 </html> |
| OLD | NEW |