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

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

Issue 2706293007: [DevTools] Fix Dialog's close button to properly close dialog. (Closed)
Patch Set: test Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../inspector-test.js"></script> 3 <script src="../inspector-test.js"></script>
4 <script src="../debugger-test.js"></script> 4 <script src="../debugger-test.js"></script>
5 <script src="../isolated-filesystem-test.js"></script> 5 <script src="../isolated-filesystem-test.js"></script>
6 <script src="./persistence-test.js"></script> 6 <script src="./persistence-test.js"></script>
7 <script src="./resources/foo.js"></script> 7 <script src="./resources/foo.js"></script>
8 <script> 8 <script>
9 9
10 function test() 10 function test()
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 43
44 function dumpGoToSourceDialog() 44 function dumpGoToSourceDialog()
45 { 45 {
46 UI.panels.sources._sourcesView.showOpenResourceDialog(); 46 UI.panels.sources._sourcesView.showOpenResourceDialog();
47 var dialog = Sources.OpenResourceDialog._instanceForTest; 47 var dialog = Sources.OpenResourceDialog._instanceForTest;
48 var keys = []; 48 var keys = [];
49 for (var i = 0; i < dialog.itemCount(); ++i) 49 for (var i = 0; i < dialog.itemCount(); ++i)
50 keys.push(dialog.itemKeyAt(i)); 50 keys.push(dialog.itemKeyAt(i));
51 keys.sort(); 51 keys.sort();
52 InspectorTest.addResult(keys.join("\n")); 52 InspectorTest.addResult(keys.join("\n"));
53 UI.Dialog._instance.detach(); 53 UI.Dialog._instance.hide();
54 } 54 }
55 }; 55 };
56 </script> 56 </script>
57 </head> 57 </head>
58 <body onload="runTest()"> 58 <body onload="runTest()">
59 <p>Verify that GoTo source dialog filters out mapped uiSourceCodes.</p> 59 <p>Verify that GoTo source dialog filters out mapped uiSourceCodes.</p>
60 </body> 60 </body>
61 </html> 61 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/main/Main.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698