Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / test / data / extensions / api_test / webstore_private / theme.html
blobc0d59e0be40cb80aadec38e26cf368f0b2aa5285
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 var themeId = 'iamefpfkojoapidjnbafmgkgncegbkad';
11 runTests([
12 function installTheme() {
13 listenOnce(chrome.management.onInstalled, function(info) {
14 assertEq(info.id, themeId);
15 });
17 var manifest = getManifest("../../theme/manifest.json");
18 chrome.webstorePrivate.beginInstallWithManifest3(
19 {id: themeId, manifest: manifest},
20 callbackPass(function(result) {
21 assertEq("", result);
22 chrome.webstorePrivate.completeInstall(themeId, callbackPass());
23 }));
25 ]);
27 </script>