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> | 5 <script src="../../http/tests/inspector/workspace-test.js"></script> |
6 <script src="../../http/tests/inspector/isolated-filesystem-test.js"></script> | 6 <script src="../../http/tests/inspector/isolated-filesystem-test.js"></script> |
7 <script> | 7 <script> |
8 function test() | 8 function test() |
9 { | 9 { |
10 function dumpUISourceCodes(uiSourceCodes, next) | 10 function dumpUISourceCodes(uiSourceCodes, next) |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 manager.removeMockFileSystem("/var/www"); | 85 manager.removeMockFileSystem("/var/www"); |
86 | 86 |
87 InspectorTest.testFileMapping.setMappingEntries([]); | 87 InspectorTest.testFileMapping.setMappingEntries([]); |
88 next(); | 88 next(); |
89 }, | 89 }, |
90 | 90 |
91 function testScriptFileOnReloadWithDirtyFile(next) | 91 function testScriptFileOnReloadWithDirtyFile(next) |
92 { | 92 { |
93 var originalFileContent = "<foo content>"; | 93 var originalFileContent = "<foo content>"; |
94 var scriptURL = "http://localhost/html/foo.js"; | 94 var scriptURL = "http://localhost/html/foo.js"; |
95 var scriptContent = originalFileContent + "\n //@ sourceURL=" + scr
iptURL + " \n "; | 95 var scriptContent = originalFileContent + "\n //# sourceURL=" + scr
iptURL + " \n "; |
96 function uiSourceCodeAdded(uiSourceCode) { } | 96 function uiSourceCodeAdded(uiSourceCode) { } |
97 | 97 |
98 function unloadScript() | 98 function unloadScript() |
99 { | 99 { |
100 resourceScriptMapping._debuggerReset(); | 100 resourceScriptMapping._debuggerReset(); |
101 defaultScriptMapping._debuggerReset(); | 101 defaultScriptMapping._debuggerReset(); |
102 } | 102 } |
103 | 103 |
104 function loadScript() | 104 function loadScript() |
105 { | 105 { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 } | 209 } |
210 } | 210 } |
211 ]); | 211 ]); |
212 }; | 212 }; |
213 </script> | 213 </script> |
214 </head> | 214 </head> |
215 <body onload="runTest()"> | 215 <body onload="runTest()"> |
216 <p>Tests file system project mappings.</p> | 216 <p>Tests file system project mappings.</p> |
217 </body> | 217 </body> |
218 </html> | 218 </html> |
OLD | NEW |