-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove moz-chunked-arraybuffer
support, and related code, from src/display/network.js
#10678
Remove moz-chunked-arraybuffer
support, and related code, from src/display/network.js
#10678
Conversation
a4ef87c
to
0f76e6f
Compare
abf85c8
to
7af3683
Compare
…/display/network.js` The `moz-chunked-arraybuffer` responseType is a non-standard property, which has been subsumed by the Fetch API, and it's in the process of being removed from Firefox; please see https://bugzilla.mozilla.org/show_bug.cgi?id=1120171 and https://bugzilla.mozilla.org/show_bug.cgi?id=1411865 *Please note:* Rather than waiting for both `Fetch` *and* `ReadableStream` to be available in e.g. a Firefox ESR version (which is probably going to be 68 at the earliest), let's just decide that PDF.js release `2.1.266` will be the last one with `moz-chunked-arraybuffer` support and land this patch (since nothing should outright break without it anyway).
moz-chunked-arraybuffer
support, and related code, from src/display/network.js
moz-chunked-arraybuffer
support, and related code, from src/display/network.js
7af3683
to
b40e672
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.67.70.0:8877/366274d15fad96d/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @Snuffleupagus received. Current queue size: 0 Live output at: http://54.215.176.217:8877/9b791948b42985c/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/366274d15fad96d/output.txt Total script time: 18.20 mins
|
From: Bot.io (Windows)SuccessFull output at http://54.215.176.217:8877/9b791948b42985c/output.txt Total script time: 25.78 mins
|
Both of these have now landed, hence I believe that we should just move forward with this PR. |
Very nice cleanup! |
The
moz-chunked-arraybuffer
responseType is a non-standard property, which has been subsumed by the Fetch API, and it's in the process of being removed from Firefox; please see https://bugzilla.mozilla.org/show_bug.cgi?id=1120171 and https://bugzilla.mozilla.org/show_bug.cgi?id=1411865Please note: Rather than waiting for both
Fetch
andReadableStream
to be available in e.g. a Firefox ESR version (which is probably going to be 68 at the earliest), let's just decide that PDF.js release2.1.266
will be the last one withmoz-chunked-arraybuffer
support and land this patch (since nothing should outright break without it anyway).