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

Side by Side Diff: LayoutTests/http/tests/inspector/filesystem/request-file-content.html

Issue 396993003: DevTools: get rid of WebInspector.cssModel, use target models instead (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
5 <script src="../inspector-test.js"></script> 5 <script src="../inspector-test.js"></script>
6 <script src="filesystem-test.js"></script> 6 <script src="filesystem-test.js"></script>
7 <script> 7 <script>
8 document.addEventListener("DOMContentLoaded", runTest); 8 document.addEventListener("DOMContentLoaded", runTest);
9 function test() 9 function test()
10 { 10 {
11 var fileSystemModel = new WebInspector.FileSystemModel(WebInspector.targetMa nager.activeTarget()); 11 var fileSystemModel = new WebInspector.FileSystemModel(WebInspector.targetMa nager.mainTarget());
12 12
13 var testStep = [ 13 var testStep = [
14 function() 14 function()
15 { 15 {
16 InspectorTest.createDirectory("/hoge", testStep.shift()); 16 InspectorTest.createDirectory("/hoge", testStep.shift());
17 }, 17 },
18 18
19 function() 19 function()
20 { 20 {
21 InspectorTest.writeFile("/hoge/fuga.txt", "piPASSyo", testStep.shift ()); 21 InspectorTest.writeFile("/hoge/fuga.txt", "piPASSyo", testStep.shift ());
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ]; 70 ];
71 71
72 InspectorTest.clearFileSystem(testStep.shift()); 72 InspectorTest.clearFileSystem(testStep.shift());
73 } 73 }
74 </script> 74 </script>
75 </head> 75 </head>
76 <body> 76 <body>
77 <p>Tests requestFileContent command.</p> 77 <p>Tests requestFileContent command.</p>
78 </body> 78 </body>
79 </html> 79 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698