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

Unified Diff: chrome/test/data/extensions/platform_apps/launch_file_with_no_extension/test.js

Issue 14912009: Support getEntryId for entries passed to apps as launch data. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 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/platform_apps/launch_file_with_no_extension/manifest.json ('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/platform_apps/launch_file_with_no_extension/test.js
diff --git a/chrome/test/data/extensions/platform_apps/launch_file_with_no_extension/test.js b/chrome/test/data/extensions/platform_apps/launch_file_with_no_extension/test.js
index 211b2d51bb7d09cda2914aca84987f022a125eae..7538174e11460ff222ce820c2b85af643d874f9b 100644
--- a/chrome/test/data/extensions/platform_apps/launch_file_with_no_extension/test.js
+++ b/chrome/test/data/extensions/platform_apps/launch_file_with_no_extension/test.js
@@ -10,6 +10,8 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
chrome.test.assertEq(launchData.id, "text",
"launchData.id incorrect");
chrome.test.assertEq(launchData.items.length, 1);
+ chrome.test.assertTrue(
+ chrome.fileSystem.getEntryId(launchData.items[0].entry) != null);
launchData.items[0].entry.file(function(file) {
var reader = new FileReader();
« no previous file with comments | « chrome/test/data/extensions/platform_apps/launch_file_with_no_extension/manifest.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698