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

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: reupload Created 4 years, 2 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 InspectorTest.addFooJSFile(fs);
15 fs.addFileMapping("http://127.0.0.1:8000", "/");
16 fs.reportCreated(function() { });
17 InspectorTest.waitForBinding("foo.js").then(onBindingCreated);
18
19 function onBindingCreated()
dgozman 2016/09/23 23:03:20 Let's also dump before binding.
lushnikov 2016/09/24 00:30:50 Done.
20 {
21 InspectorTest.addResult("BindigCreated");
22 WebInspector.panels.sources._sourcesView.showOpenResourceDialog();
23 var dialog = WebInspector.OpenResourceDialog._instanceForTest;
24 for (var i = 0; i < dialog.itemCount(); ++i)
25 InspectorTest.addResult(dialog.itemKeyAt(i));
26 InspectorTest.completeTest();
27 }
28 };
29 </script>
30 </head>
31 <body onload="runTest()">
32 <p>Verify that GoTo source dialog filters out mapped uiSourceCodes.</p>
33 </body>
34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698