Disables streaming in the extension when length is undefined.
This commit is contained in:
parent
29eb147d42
commit
c0e933682a
@ -897,6 +897,7 @@ PdfStreamConverter.prototype = {
|
||||
(!isPDFBugEnabled ||
|
||||
hash.toLowerCase().indexOf('disablerange=true') < 0);
|
||||
streamRequest = contentEncoding === 'identity' &&
|
||||
aRequest.contentLength >= 0 &&
|
||||
!getBoolPref(PREF_PREFIX + '.disableStream', false) &&
|
||||
(!isPDFBugEnabled ||
|
||||
hash.toLowerCase().indexOf('disablestream=true') < 0);
|
||||
|
Loading…
Reference in New Issue
Block a user