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

Unified Diff: chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js

Issue 348553002: Gallery: Add browser tests to apply the exposure effect for an image. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 6 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
« no previous file with comments | « chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/photo_editor.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js
diff --git a/chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js b/chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js
index 430f5f84670d9e5fba10df6cdd0e70f797747bf0..f81f6b692168e7cc77ec1995949cbc083789f801 100644
--- a/chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js
+++ b/chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/test_util.js
@@ -83,8 +83,9 @@ function launchWithTestEntries(
selectedEntries.map(function(entry) { return entry.nameText; }));
});
return launch(entriesPromise).then(function() {
- return appWindowPromise.then(function(appWindow) {
- return {appWindow: appWindow, entries: entries};
+ var launchedPromise = Promise.all([appWindowPromise, entriesPromise]);
+ return launchedPromise.then(function(results) {
+ return {appWindow: results[0], entries: results[1]};
});
});
}
« no previous file with comments | « chrome/test/data/extensions/api_test/file_manager_browsertest/gallery/photo_editor.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698