Stop sending the unused options parameter to various download-methods in the viewer

The `options` handling, for the download-methods, was originally added in PR 16391 and became obsolete in PR 17771.

This fixes failures, in mozilla-central tests, which appeared after landing PR 18527.
This commit is contained in:
Jonas Jenwald 2024-08-02 20:41:41 +02:00
parent a372bf8f4d
commit ecbd660609
4 changed files with 11 additions and 23 deletions

View file

@ -105,7 +105,7 @@ class DownloadManager {
return false;
}
download(data, url, filename, _options) {
download(data, url, filename) {
let blobUrl;
if (data) {
blobUrl = URL.createObjectURL(