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> | 4 <script> |
5 function test() | 5 function test() |
6 { | 6 { |
7 WebInspector.showPanel("scripts"); | 7 WebInspector.showPanel("sources"); |
8 | 8 |
9 function createMockProject() | 9 function createMockProject() |
10 { | 10 { |
11 var workspace = new WebInspector.Workspace(); | 11 var workspace = new WebInspector.Workspace(); |
12 var projectDelegate = new WebInspector.SimpleProjectDelegate("", WebInsp
ector.projectTypes.Network); | 12 var projectDelegate = new WebInspector.SimpleProjectDelegate("", WebInsp
ector.projectTypes.Network); |
13 var project = workspace.addProject(projectDelegate); | 13 var project = workspace.addProject(projectDelegate); |
14 project.requestFileContent = function(uri, callback) | 14 project.requestFileContent = function(uri, callback) |
15 { | 15 { |
16 callback("<script content>", false, "text/javascript"); | 16 callback("<script content>", false, "text/javascript"); |
17 } | 17 } |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 }, | 195 }, |
196 ]); | 196 ]); |
197 } | 197 } |
198 </script> | 198 </script> |
199 </head> | 199 </head> |
200 <body onload="runTest()"> | 200 <body onload="runTest()"> |
201 <p>Tests revision support in UISourceCode.</p> | 201 <p>Tests revision support in UISourceCode.</p> |
202 <a href="https://bugs.webkit.org/show_bug.cgi?id=97669">Bug 97669</a> | 202 <a href="https://bugs.webkit.org/show_bug.cgi?id=97669">Bug 97669</a> |
203 </body> | 203 </body> |
204 </html> | 204 </html> |
OLD | NEW |