| 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 { | 8 { |
| 9 return 0; | 9 return 0; |
| 10 } | 10 } |
| 11 | 11 |
| 12 var test = function() | 12 var test = function() |
| 13 { | 13 { |
| 14 var testName = WebInspector.resourceTreeModel.inspectedPageURL(); | 14 var testName = InspectorTest.resourceTreeModel.inspectedPageURL(); |
| 15 testName = testName.substring(testName.lastIndexOf('/') + 1); | 15 testName = testName.substring(testName.lastIndexOf('/') + 1); |
| 16 | 16 |
| 17 InspectorTest.startDebuggerTest(step1); | 17 InspectorTest.startDebuggerTest(step1); |
| 18 | 18 |
| 19 function step1() | 19 function step1() |
| 20 { | 20 { |
| 21 InspectorTest.showScriptSource(testName, step2); | 21 InspectorTest.showScriptSource(testName, step2); |
| 22 } | 22 } |
| 23 | 23 |
| 24 function step2(sourceFrame) | 24 function step2(sourceFrame) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 42 | 42 |
| 43 </script> | 43 </script> |
| 44 </head> | 44 </head> |
| 45 | 45 |
| 46 <body onload="runTest()"> | 46 <body onload="runTest()"> |
| 47 <p> | 47 <p> |
| 48 Tests that breakpoints are not activated on page reload.<a href="https://bugs.we
bkit.org/show_bug.cgi?id=41461">Bug 41461</a> | 48 Tests that breakpoints are not activated on page reload.<a href="https://bugs.we
bkit.org/show_bug.cgi?id=41461">Bug 41461</a> |
| 49 </p> | 49 </p> |
| 50 </body> | 50 </body> |
| 51 </html> | 51 </html> |
| OLD | NEW |