Overview of how downloads work

  • Revision slug: Overview_of_how_downloads_work
  • Revision title: Overview of how downloads work
  • Revision id: 180602
  • Created:
  • Creator: Spanglerco
  • Is current revision? No
  • Comment Migrated page from http://www.mozilla.org/docs/docshell/mozilla_downloads.html

Revision Content

There are two ways of downloading files in Mozilla. One way is to encounter a file with an unknown content type, the other is to choose "Save link target as" from the context menu of a link. Things like File|Save Page as, Save Image As, etc. are all part of the second codepath.

This document describes both codepaths (See below for the second one). Click on the images to display them "stand-alone" in the browser, which may resize them to fit the browser window.

Downloads via the helper app service

Downloads via the helper app service

This diagram is an UML sequence diagram, and was created using dia. Get the .dia file here: mozilla_downloads.dia

Downloads via "Save link target as" and friends

Downloads via

This diagram is an UML sequence diagram, and was created using dia. Get the .dia file here: mozilla_downloads_path2.dia

Original Document Information

  • Author(s): Christian Biesinger

Revision Source

<p>There are two ways of downloading files in Mozilla. One way is to encounter a file with an unknown content type, the other is to choose "Save link target as" from the context menu of a link. Things like File|Save Page as, Save Image As, etc. are all part of the second codepath.
</p><p>This document describes both codepaths (<a href="#Downloads_via_.22Save_link_target_as.22_and_friends">See below</a> for the second one). Click on the images to display them "stand-alone" in the browser, which may resize them to fit the browser window.
</p>
<h3 name="Downloads_via_the_helper_app_service"> Downloads via the helper app service </h3>
<p><img alt="Downloads via the helper app service" src="File:en/Media_Gallery/Mozilla_downloads.png">
</p><p><i>This diagram is an UML sequence diagram, and was created using dia. Get the .dia file here: <a class="external" href="http://www.mozilla.org/docs/docshell/mozilla_downloads.dia">mozilla_downloads.dia</a></i>
</p>
<h3 name="Downloads_via_.22Save_link_target_as.22_and_friends"> Downloads via "Save link target as" and friends </h3>
<p><img alt="Downloads via " src="File:en/Media_Gallery/Mozilla_downloads_path2.png">
</p><p><i>This diagram is an UML sequence diagram, and was created using dia. Get the .dia file here: <a class="external" href="http://www.mozilla.org/docs/docshell/mozilla_downloads_path2.dia">mozilla_downloads_path2.dia</a></i>
</p>
<div class="originaldocinfo">
<h2 name="Original_Document_Information"> Original Document Information </h2>
<ul><li> Author(s): Christian Biesinger
</li></ul>
</div>
Revert to this revision