chromium/chrome/test/data/extensions/api_test/webstore_private/install_cancel_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 installCanceledChild() {
    var manifest = getManifest();
    chrome.webstorePrivate.beginInstallWithManifest3(
        {id: appId, manifest: manifest},
        function(result) {
      assertEq(result, "user_cancelled");
      succeed();
    });
  },
]);

</script>