[Basilisk] Update pdf.js to version 1.6.467 from Firefox 53.0.2

This commit is contained in:
Basilisk-Dev 2023-09-11 21:58:45 -04:00 • committed by roytam1
commit 328408759a
15 changed files with 63242 additions and 69243 deletions

View file

@ -375,6 +375,9 @@ if (typeof PDFJSDev !== 'undefined' && PDFJSDev.test('FIREFOX || MOZCENTRAL')) {
}
var networkManager = this._manager;
if (!networkManager.isHttp) {
return false;
}
var fullRequestXhrId = this._fullRequestId;
var fullRequestXhr = networkManager.getRequestXhr(fullRequestXhrId);
if (fullRequestXhr.getResponseHeader('Accept-Ranges') !== 'bytes') {