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

Unified Diff: chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/main.js

Issue 339103002: Update the EphemeralAppLauncher for use by the webstorePrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase again 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
Index: chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/main.js
diff --git a/chrome/test/data/extensions/platform_apps/ephemeral_apps/notification_settings/main.js b/chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/main.js
similarity index 64%
copy from chrome/test/data/extensions/platform_apps/ephemeral_apps/notification_settings/main.js
copy to chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/main.js
index f9e810e42ff1bd622db77616104cfe0089f1abc7..0c87128245e76f3f22225a13852958b094e5a29b 100644
--- a/chrome/test/data/extensions/platform_apps/ephemeral_apps/notification_settings/main.js
+++ b/chrome/test/data/extensions/platform_apps/ephemeral_launcher/app_with_permissions/main.js
@@ -3,5 +3,8 @@
// found in the LICENSE file.
chrome.app.runtime.onLaunched.addListener(function() {
- chrome.app.window.create('index.html', {});
+ chrome.app.window.create('index.html', {}, function(win) {
+ chrome.test.sendMessage('launched');
+ win.close();
+ });
});

Powered by Google App Engine
This is Rietveld 408576698