Do not announce robot account token before account ID is available
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / webstore_private / begin_install.html
blobb860d440e83cd982c2daf58c46b41a53e916d027
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>
9 runTests([
10 function beginInstallWithAppBubble() {
11 var manifest = getManifest("app/manifest.json");
12 chrome.webstorePrivate.beginInstallWithManifest3(
13 {id: appId, manifest: manifest, appInstallBubble: true, authuser: "2"},
14 callbackPass(function(result) {
15 assertEq("", result);
16 }));
19 function beginInstallWithNoAppBubble() {
20 var manifest = getManifest();
21 chrome.webstorePrivate.beginInstallWithManifest3(
22 {id: extensionId, manifest: manifest},
23 callbackPass(function(result) {
24 assertEq("", result);
25 }));
27 ]);
29 </script>