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

Unified Diff: chrome/test/data/extensions/api_test/webstore_private/install_bundle_cancel.html

Issue 855513002: Add/resurrect support for bundles of WebStore items. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testext_bundle
Patch Set: cleanup;rebase Created 5 years, 10 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/api_test/webstore_private/install_bundle_cancel.html
diff --git a/chrome/test/data/extensions/api_test/webstore_private/install_bundle_cancel.html b/chrome/test/data/extensions/api_test/webstore_private/install_bundle_cancel.html
new file mode 100644
index 0000000000000000000000000000000000000000..f7c0269e4b41615c28a360bf4bed95942159bdbf
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/webstore_private/install_bundle_cancel.html
@@ -0,0 +1,41 @@
+<!--
+ * Copyright (c) 2012 The Chromium Authors. All rights reserved. Use of this
+ * source code is governed by a BSD-style license that can be found in the
+ * LICENSE file.
+-->
+<script src="common.js"></script>
+<script>
+
+var bundleItems = [
+ {
+ id: 'begfmnajjkbjdgmffnjaojchoncnmngg',
+ manifest: getManifest('bundle/app1.json'),
+ localizedName: 'app.1'
+ },
+ {
+ id: 'mpneghmdnmaolkljkipbhaienajcflfe',
+ manifest: getManifest('bundle/app2.json'),
+ localizedName: 'app.2'
+ },
+ {
+ id: 'bmfoocgfinpmkmlbjhcbofejhkhlbchk',
+ manifest: getManifest('bundle/extension1.json'),
+ localizedName: 'extension.1'
+ },
+ {
+ id: 'pkapffpjmiilhlhbibjhamlmdhfneidj',
+ manifest: getManifest('bundle/extension2.json'),
+ localizedName: 'extension.2'
+ }
+];
+
+runTests([
+ function installCanceled() {
+ chrome.webstorePrivate.installBundle(
+ { id: 'abcdefghijklmnopabcdefghijklmnop', localizedName: 'MyBundle' },
+ bundleItems,
+ callbackFail("User cancelled install"));
+ }
+]);
+
+</script>

Powered by Google App Engine
This is Rietveld 408576698