capture: fix download() for a special case
capture: fix download() for a special case

See added comments for detail. In the previous version case 3 will be handled as case 5 and 6, which is not desirable.

danny0838/firefox-scrapbook,danny0838/firefox-scrapbook