Merge pull request #22945 from nullaus/bug1053509

bug 1053509 - Use plain js download object when download succeeds. r=crd...
(cherry picked from commit 385f8b1fc9179441c9d6a6ad16ff8701edfa1faa)
Merge pull request #23007 from nullaus/v1.4

Merge pull request #22945 from nullaus/bug1053509