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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths.html

Issue 2484833003: DevTools: teach automapping to deal with network resources with file:// urls (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../inspector-test.js"></script>
4 <script src="../isolated-filesystem-test.js"></script>
5 <script src="./persistence-test.js"></script>
6 <script src="./automapping-test.js"></script>
7 <script>
8
9 function test()
10 {
11 var app_js = {
12 content: "console.log('foo.js!');",
13 time: null
14 };
15
16 var automappingTest = new InspectorTest.AutomappingTest(new WebInspector.Wor kspace());
17 automappingTest.addNetworkResources({
18 // Make sure main resource gets mapped.
19 "file:///usr/local/node/app.js": app_js,
20 });
21
22 var fs = new InspectorTest.TestFileSystem("file:///usr/local/node");
23 InspectorTest.addFiles(fs, {
24 "app.js": app_js,
25 });
26 fs.reportCreated(onFileSystemCreated);
27
28 function onFileSystemCreated()
29 {
30 automappingTest.waitUntilMappingIsStabilized(InspectorTest.completeTest. bind(InspectorTest));
31 }
32 }
33 </script>
34 </head>
35 <body onload="runTest()">
36 <p>Verify that automapping is capable of mapping file:// urls.</p>
37 </body>
38 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/inspector/persistence/automapping-absolute-paths-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698