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

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

Issue 2398773002: DevTools: fix http/tests/inspector/persistence/persistence-go-to-file-dialog.html (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html
index cb0d093ee5c848ef667fb0288d7da70430bcfdd9..6b4c794177a5dea4dfc72e77c8eed4e5d1854252 100644
--- a/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html
+++ b/third_party/WebKit/LayoutTests/http/tests/inspector/persistence/persistence-go-to-file-dialog.html
@@ -46,8 +46,11 @@ function test()
{
WebInspector.panels.sources._sourcesView.showOpenResourceDialog();
var dialog = WebInspector.OpenResourceDialog._instanceForTest;
+ var keys = [];
for (var i = 0; i < dialog.itemCount(); ++i)
- InspectorTest.addResult(dialog.itemKeyAt(i));
+ keys.push(dialog.itemKeyAt(i));
+ keys.sort();
+ InspectorTest.addResult(keys.join("\n"));
WebInspector.Dialog._instance.detach();
}
};

Powered by Google App Engine
This is Rietveld 408576698