зеркало из https://github.com/mozilla/gecko-dev.git
d652a7e6b4
As soon as the user clicks on a link to download a file Gecko will start the download - even before prompting the user. This led to problems when the user hadn't granted the permission to write to the downloads directory yet. The download would fail even though the user (later) accepted the permission. With this patch we will start the download to the app's cache directory (only if we do not have the permission) and prompt the user. As soon as the user has accepted the permission the download will be moved to the public downloads directory (even while still downloading). If the permission is denied the download will be cancelled. After the permission has been granted all subsequent downloads will start writing to the downloads directory directly. MozReview-Commit-ID: CCqk9h7Sxor --HG-- extra : rebase_source : 1634a39dcf6fff2d8eca88e28b3f3fb72dc97540 |
||
---|---|---|
.. | ||
base | ||
exthandler | ||
prefetch | ||
moz.build |