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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-ui/switch-file.html

Issue 2533073003: [DevTools] Remove workspace-test.js part1. (Closed)
Patch Set: Created 4 years 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
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>
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698