chromium/chrome/test/data/extensions/api_test/webstore_private/install_child.html

<!--
Copyright 2020 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 installChild() {
    var manifest = getManifest();
    chrome.webstorePrivate.beginInstallWithManifest3(
        {id: appId, manifest: manifest},
        callbackPass(function(result) {
      assertEq("", result);

      // Complete the installation
      chrome.webstorePrivate.completeInstall(appId, callbackPass());
    }));
  },
]);

</script>