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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html

Issue 2349343002: DevTools: introduce persistence/ module (Closed)
Patch Set: DevTools: add persistence/ module Created 4 years, 3 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../inspector-test.js"></script>
4 <script src="../debugger-test.js"></script>
5 <script src="../workspace-test.js"></script>
6 <script src="../isolated-filesystem-test.js"></script>
7 <script src="./persistence-test.js"></script>
8 <script src="./resources/foo.js"></script>
9 <script>
10
11 function test()
12 {
13 var fs = new InspectorTest.TestFileSystem("file:///var/www");
14 fs.root.mkdir("inspector").mkdir("persistence").mkdir("resources").addFile(" foo.js", "window.foo = ()=>'foo';");
15 fs.reportCreated(function() { });
16 InspectorTest.waitForBinding("foo.js", onBindingCreated);
17 WebInspector.fileSystemMapping.addFileSystem(fs.fileSystemPath);
18 WebInspector.fileSystemMapping.addFileMapping(fs.fileSystemPath, "http://127 .0.0.1:8000", "/");
19
20 function onBindingCreated()
21 {
22 InspectorTest.addResult("BindigCreated");
23 WebInspector.panels.sources._sourcesView.showOpenResourceDialog();
24 var dialog = WebInspector.OpenResourceDialog._instanceForTest;
25 for (var i = 0; i < dialog.itemCount(); ++i)
26 InspectorTest.addResult(dialog.itemKeyAt(i));
27 InspectorTest.completeTest();
28 }
29 };
30 </script>
31 </head>
32 <body onload="runTest()">
33 <p>Verify that GoTo source dialog filters out mapped uiSourceCodes.</p>
34 </body>
35 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698