Prevent Closing Crostini Installer Dialog without Web Page Consent
Currently, the WebUI installer dialog can be closed directly in the overview mode, and the web page will not notice it. We want to prevent this from happening for a few reasons: * The web page should have an opportunity to clean up before closing (e.g. call cancel()). * In some installation states, we want to keep the dialog open. This CL blocks closing requests to the dialog unless the web page proactively request it. bug: 929571 Test: Enable CrostiniWebUIInstaller flag, try closing installer dialog in different ways Change-Id: I8f5643c42b807d2a3fcebdd5c56e7648a46ab86f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872084 Commit-Queue: Jason Lin <lxj@google.com> Reviewed-by:calamity <calamity@chromium.org> Cr-Commit-Position: refs/heads/master@{#708520}
Showing
Please register or sign in to comment