| Index: chrome/test/data/extensions/api_test/webstore_private/install_bundle.html
|
| diff --git a/chrome/test/data/extensions/api_test/webstore_private/install_bundle.html b/chrome/test/data/extensions/api_test/webstore_private/install_bundle.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d9859dd69fad3b00b1784ebc4fe6cd4a26c41541
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/webstore_private/install_bundle.html
|
| @@ -0,0 +1,45 @@
|
| +<!--
|
| + * 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 successfulInstall() {
|
| + chrome.webstorePrivate.installBundle(
|
| + bundleItems, callbackPass(function() {
|
| + bundleItems.forEach(function(item) {
|
| + checkItemInstalled(
|
| + item.id,
|
| + callbackPass(function(result) { assertTrue(result); }));
|
| + });
|
| + }));
|
| + }
|
| +]);
|
| +
|
| +</script>
|
|
|