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