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

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

Issue 265503003: Enable file_handlers and chrome.app.runtime for QuickOffice. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Feedback, less hacky Created 6 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_whitelisted_ext_with_file/test.js
diff --git a/chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.js b/chrome/test/data/extensions/platform_apps/launch_whitelisted_ext_with_file/test.js
similarity index 90%
copy from chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.js
copy to chrome/test/data/extensions/platform_apps/launch_whitelisted_ext_with_file/test.js
index b4ff0c80a7bc18584a51a3dc76cb5c3114e85baf..0fa2d0e70e0f3e2061efd1c2d03ea8f538b1ee8b 100644
--- a/chrome/test/data/extensions/platform_apps/launch_file_by_extension_and_type/test.js
+++ b/chrome/test/data/extensions/platform_apps/launch_whitelisted_ext_with_file/test.js
@@ -6,6 +6,11 @@ chrome.app.runtime.onLaunched.addListener(function (launchData) {
// Test that the isKioskSession field is |false| and the id and items fields
// can be read in the launch data.
chrome.test.runTests([
+ function checkNoChromeApp() {
+ chrome.test.assertEq(undefined, chrome.app.getIsInstalled);
+ chrome.test.succeed();
+ },
+
function testFileHandler() {
chrome.test.assertFalse(!launchData, "No launchData");
chrome.test.assertFalse(launchData.isKioskSession,

Powered by Google App Engine
This is Rietveld 408576698