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

Conditionally bundle gulp image_decoders-specific code in src/core/jbig2.js (PR 9729 follow-up) #14994

Merged
merged 1 commit into from
Jun 6, 2022

Conversation

Snuffleupagus
Copy link
Collaborator

This method/function was added only for the gulp image_decoders-builds, and is completely unused elsewhere (e.g. in the Firefox PDF Viewer).
While this only reduces the size of the built pdf.worker.js file by a little over 1 kB, it can't hurt to remove completely unused code from the "normal" builds.

…/jbig2.js` (PR 9729 follow-up)

This method/function was added only for the `gulp image_decoders`-builds, and is completely unused elsewhere (e.g. in the Firefox PDF Viewer).
While this only reduces the size of the *built* `pdf.worker.js` file by a little over 1 kB, it can't hurt to remove completely unused code from the "normal" builds.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Received

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

Live output at: http://54.241.84.105:8877/4d8a2956e143f11/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Received

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

Live output at: http://54.193.163.58:8877/31ed3f696f26abb/output.txt

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Linux m4)


Failed

Full output at http://54.241.84.105:8877/4d8a2956e143f11/output.txt

Total script time: 26.44 mins

  • Font tests: Passed
  • Unit tests: FAILED
  • Integration Tests: Passed
  • Regression tests: FAILED
  different ref/snapshot: 23
  different first/second rendering: 1

Image differences available at: http://54.241.84.105:8877/4d8a2956e143f11/reftest-analyzer.html#web=eq.log

@pdfjsbot
Copy link

pdfjsbot commented Jun 5, 2022

From: Bot.io (Windows)


Success

Full output at http://54.193.163.58:8877/31ed3f696f26abb/output.txt

Total script time: 28.42 mins

  • Font tests: Passed
  • Unit tests: Passed
  • Integration Tests: Passed
  • Regression tests: Passed

@calixteman
Copy link
Contributor

Unrelated to this patch, but from time to time I see this test should correctly render PDFs in parallel | in firefox failing.
Is it something we can fix or is it an intermittent we must live with ?

@Snuffleupagus
Copy link
Collaborator Author

Is it something we can fix or is it an intermittent we must live with ?

I believe that it's a fairly recent intermittent failure, affecting only Firefox on Linux, and I thus suspect that https://bugzilla.mozilla.org/show_bug.cgi?id=1770088 is the culprit.

@timvandermeij timvandermeij merged commit 135b9fb into mozilla:master Jun 6, 2022
@timvandermeij
Copy link
Contributor

Thanks!

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

Successfully merging this pull request may close these issues.

4 participants