| 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/workspace-test.js"></script> | |
| 6 <script> | 5 <script> |
| 7 function test() | 6 function test() |
| 8 { | 7 { |
| 9 var uiSourceCodes = []; | 8 var uiSourceCodes = []; |
| 10 function addUISourceCode(url) | 9 function addUISourceCode(url) |
| 11 { | 10 { |
| 12 var contentProvider = Common.StaticContentProvider.fromString(url, Commo
n.resourceTypes.Script, ""); | 11 var contentProvider = Common.StaticContentProvider.fromString(url, Commo
n.resourceTypes.Script, ""); |
| 13 var uiSourceCode = Bindings.NetworkProject.forTarget(InspectorTest.mainT
arget).addFile(contentProvider, InspectorTest.mainFrame(), false); | 12 var uiSourceCode = Bindings.NetworkProject.forTarget(InspectorTest.mainT
arget).addFile(contentProvider, InspectorTest.mainFrame(), false); |
| 14 uiSourceCodes.push(uiSourceCode); | 13 uiSourceCodes.push(uiSourceCode); |
| 15 } | 14 } |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 InspectorTest.addResult("Next file for " + uiSourceCode.url() + " is " +
nextURI + "."); | 50 InspectorTest.addResult("Next file for " + uiSourceCode.url() + " is " +
nextURI + "."); |
| 52 } | 51 } |
| 53 InspectorTest.completeTest(); | 52 InspectorTest.completeTest(); |
| 54 } | 53 } |
| 55 </script> | 54 </script> |
| 56 </head> | 55 </head> |
| 57 <body onload="runTest()"> | 56 <body onload="runTest()"> |
| 58 <p>Tests how switch to next file with the same name and different extension feat
ure works.</p> | 57 <p>Tests how switch to next file with the same name and different extension feat
ure works.</p> |
| 59 </body> | 58 </body> |
| 60 </html> | 59 </html> |
| OLD | NEW |