- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / api_test / webstore_private / begin_install.html
1 <!--
2  * Copyright (c) 2012 The Chromium Authors. All rights reserved.  Use of this
3  * source code is governed by a BSD-style license that can be found in the
4  * LICENSE file.
5 -->
6 <script src="common.js"></script>
7 <script>
8
9 runTests([
10   function beginInstallWithAppBubble() {
11     var manifest = getManifest("app/manifest.json");
12     chrome.webstorePrivate.beginInstallWithManifest3(
13         {id: appId, manifest: manifest, appInstallBubble: true},
14         callbackPass(function(result) {
15       assertEq("", result);
16     }));
17   },
18
19   function beginInstallWithNoAppBubble() {
20     var manifest = getManifest();
21     chrome.webstorePrivate.beginInstallWithManifest3(
22         {id: extensionId, manifest: manifest},
23         callbackPass(function(result) {
24       assertEq("", result);
25     }));
26   },
27 ]);
28
29 </script>