This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Implement downloads to device #672
Labels
Draft Design
From design team for review
enhancement
This issue is a new feature or request
in progress
Needs Design
Attention design team
P3
Backlog
PM/UX review
PM/UX review needed prior to merge
size: 4
Milestone
Hardware
Oculus Go
Steps to Reproduce
Current Behavior
A file is not downloaded.
Expected Behavior
A file will be downloaded to
/sdcard/Android/data/org.mozilla.vrbrowser/files/Download
.Possible Solution
Design wires and conversations are in issue #635.
Technically: When a user navigates to a URL with a response header of
Content-Disposition: attachment
, a mime-type that Gecko thinks is downloadable, or a user clicks on a link with adownload
attribute (e.g.,<a href="img_1590128.png" download="screenshot.png"><img src="img_1590128.png"></a>
).There's a Downloads GeckoView Android Component for this now: https://github.com/mozilla-mobile/android-components/blob/master/components/feature/downloads/README.md
There may be additional work to be done, but let's double check that we are correctly using the Safe Browsing API so that URLs that are known to be threats cannot be downloaded.
The text was updated successfully, but these errors were encountered: