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 unused methods from NetworkManager, in src/display/network.js #11976

Merged
merged 1 commit into from
Jun 7, 2020

Conversation

Snuffleupagus
Copy link
Collaborator

Both of the removed methods were added in PR #2719, however they are no longer used:

Both of the removed methods were added in PR 2719, however they are no longer used:
 - It appears that `hasPendingRequests` was never used at all, even from the beginning.
 - The only general PDF.js library usage of `abortAllRequests` was removed in PR 6879, which is now four years ago. (Originally the Firefox-specific network implementation, see https://searchfox.org/mozilla-central/source/browser/extensions/pdfjs/content/PdfJsNetwork.jsm, was shared with the `src/display/network.js` file and *there* this method is used. However, since all of the Firefox-specific code now lives directly in mozilla-central, that's not relevant for the removal in this patch.)
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

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/b616c297ce21bea/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Windows)


Received

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

Live output at: http://54.215.176.217:8877/69d8b64f9a19583/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/b616c297ce21bea/output.txt

Total script time: 25.68 mins

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

Image differences available at: http://54.67.70.0:8877/b616c297ce21bea/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Jun 7, 2020

From: Bot.io (Windows)


Failed

Full output at http://54.215.176.217:8877/69d8b64f9a19583/output.txt

Total script time: 29.49 mins

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

Image differences available at: http://54.215.176.217:8877/69d8b64f9a19583/reftest-analyzer.html#web=eq.log

@timvandermeij timvandermeij merged commit 4cfeda3 into mozilla:master Jun 7, 2020
@timvandermeij
Copy link
Contributor

Nice find; thanks!

@Snuffleupagus Snuffleupagus deleted the rm-dead-network-code branch June 7, 2020 16:24
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.

3 participants