OLD | NEW |
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.createDirectory("/hoge/fuga", testStep.shift()); | 21 InspectorTest.createDirectory("/hoge/fuga", testStep.shift()); |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ]; | 68 ]; |
69 | 69 |
70 InspectorTest.clearFileSystem(testStep.shift()); | 70 InspectorTest.clearFileSystem(testStep.shift()); |
71 } | 71 } |
72 </script> | 72 </script> |
73 </head> | 73 </head> |
74 <body> | 74 <body> |
75 <p>Tests requestDirectoryContent command.</p> | 75 <p>Tests requestDirectoryContent command.</p> |
76 </body> | 76 </body> |
77 </html> | 77 </html> |
OLD | NEW |