Skip to content
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

Merged

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented Mar 25, 2019

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).

@Snuffleupagus Snuffleupagus force-pushed the rm-moz-chunked-arraybuffer branch 3 times, most recently from abf85c8 to 7af3683 Compare April 1, 2019 18:48
…/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).
@Snuffleupagus Snuffleupagus changed the title [DO NOT MERGE] Remove moz-chunked-arraybuffer support, and related code, from src/display/network.js Remove moz-chunked-arraybuffer support, and related code, from src/display/network.js Apr 1, 2019
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2019

From: Bot.io (Linux m4)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.67.70.0:8877/366274d15fad96d/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2019

From: Bot.io (Windows)


Received

Command cmd_test from @Snuffleupagus received. Current queue size: 0

Live output at: http://54.215.176.217:8877/9b791948b42985c/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2019

From: Bot.io (Linux m4)


Success

Full output at http://54.67.70.0:8877/366274d15fad96d/output.txt

Total script time: 18.20 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@pdfjsbot
Copy link

pdfjsbot commented Apr 1, 2019

From: Bot.io (Windows)


Success

Full output at http://54.215.176.217:8877/9b791948b42985c/output.txt

Total script time: 25.78 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Regression tests: Passed

@Snuffleupagus
Copy link
Collaborator Author

[...] please see https://bugzilla.mozilla.org/show_bug.cgi?id=1120171 and https://bugzilla.mozilla.org/show_bug.cgi?id=1411865

Both of these have now landed, hence I believe that we should just move forward with this PR.

@timvandermeij timvandermeij merged commit 8c8738e into mozilla:master Apr 5, 2019
@timvandermeij
Copy link
Contributor

Very nice cleanup!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants