Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(314)

Side by Side Diff: LayoutTests/inspector/debugger/file-system-project-mapping.html

Issue 15832007: DevTools: Add support for //# sourceURL (sourceMappingURL) comments and deprecate //@ ones (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebaselined Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698