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

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

Issue 389613006: Prevent duplicate concurrent installs of the same extension (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed update of webstore_result Created 6 years, 5 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/ephemeral_launcher/webstore_common.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/platform_apps/ephemeral_launcher/webstore_launch_app.js
diff --git a/chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_launch_app.js b/chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_launch_app.js
index c9d31be6250a0381561183043b04f45c1346e072..0c08950c1f5086f882ad32c6ec440b4b2fa7ac39 100644
--- a/chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_launch_app.js
+++ b/chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_launch_app.js
@@ -47,16 +47,16 @@ var tests = [
// progress.
function pendingInstall() {
// First initiate a full install of the app.
- var manifest = getManifest(kDefaultAppManifestPath);
+ var manifest = getManifest(kAppWithPermissionsManifestPath);
chrome.webstorePrivate.beginInstallWithManifest3(
- { "id": kDefaultAppId, "manifest": manifest },
+ { "id": kAppWithPermissionsId, "manifest": manifest },
callbackPass(function(result) {
assertEq(result, "");
// Attempt to launch the app ephemerally.
chrome.test.runWithUserGesture(function() {
chrome.webstorePrivate.launchEphemeralApp(
- kDefaultAppId,
+ kAppWithPermissionsId,
callbackFail(kInstallInProgressError, function(result) {
assertEq(kInstallInProgressCode, result);
}));
« no previous file with comments | « chrome/test/data/extensions/platform_apps/ephemeral_launcher/webstore_common.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698