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

Unified Diff: chrome/test/data/extensions/platform_apps/launch_application_octet_stream/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
Index: chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js
diff --git a/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js b/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js
index 97cc73e822c34cbbbf0b577e49dea00f7e1020b4..079f79c8b672a2e64e4a4a9b31fce47e3d66fa3a 100644
--- a/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js
+++ b/chrome/test/data/extensions/platform_apps/launch_application_octet_stream/test.js
@@ -12,6 +12,8 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
chrome.test.assertEq(launchData.items.length, 1);
chrome.test.assertEq(launchData.items[0].type,
"application/octet-stream");
+ chrome.test.assertTrue(
+ chrome.fileSystem.getEntryId(launchData.items[0].entry) != null);
launchData.items[0].entry.file(function(file) {
var reader = new FileReader();

Powered by Google App Engine
This is Rietveld 408576698