Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |