<!--
Copyright 2016 The Chromium Authors
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>
runTests([
function installBlockedChild() {
var manifest = getManifest();
var expectedError =
"Parent has blocked extension/app installation"
chrome.webstorePrivate.beginInstallWithManifest3(
{id: appId, manifest: manifest},
callbackFail(expectedError, function(result) {
assertEq("blocked_for_child_account", result);
}));
},
]);
</script>