mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
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:
parent
a372bf8f4d
commit
ecbd660609
4 changed files with 11 additions and 23 deletions
|
@ -105,7 +105,7 @@ class DownloadManager {
|
|||
return false;
|
||||
}
|
||||
|
||||
download(data, url, filename, _options) {
|
||||
download(data, url, filename) {
|
||||
let blobUrl;
|
||||
if (data) {
|
||||
blobUrl = URL.createObjectURL(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue