Remove unnecessary empty string fallback from the getPDFFileNameFromURL
call in web/pdf_document_properties.js
(PR 10114 follow-up)
Given that the `getPDFFileNameFromURL` helper function has a specific code-path for handling non-string inputs, this empty string fallback really isn't necessary at the call-site in `web/pdf_document_properties.js`.
This commit is contained in:
parent
108258a8f8
commit
93e7f630c1
@ -132,7 +132,7 @@ class PDFDocumentProperties {
|
||||
return Promise.all([
|
||||
info,
|
||||
metadata,
|
||||
contentDispositionFilename || getPDFFileNameFromURL(this.url || ""),
|
||||
contentDispositionFilename || getPDFFileNameFromURL(this.url),
|
||||
this._parseFileSize(this.maybeFileSize),
|
||||
this._parseDate(info.CreationDate),
|
||||
this._parseDate(info.ModDate),
|
||||
|
Loading…
Reference in New Issue
Block a user