Security/Reviews/Gaia/DownloadManager: Difference between revisions

Jump to navigation Jump to search
Line 94: Line 94:
=== How is a download initiated? ===
=== How is a download initiated? ===
* A simple <a> tag with a href pointing to a server that returns a Content-Type of "application/octet-stream"
* A simple <a> tag with a href pointing to a server that returns a Content-Type of "application/octet-stream"
* TODO: Welp, some processing happens with the HTTP response, then it says hey lets download this. We need to find that.
* mozDownloadManager.ondownloadstart (download_manager.js) creates download start notification
* mozDownloadManager.ondownloadstart (download_manager.js) creates download start notification


Confirmed users
353

edits

Navigation menu