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

Convert the src/core/{jbig2, jpg, jpx}.js files to use standard classes #13338

Merged
merged 9 commits into from May 7, 2021

Conversation

Snuffleupagus
Copy link
Collaborator

@Snuffleupagus Snuffleupagus commented May 5, 2021

For e.g. gulp mozcentral, the built pdf.worker.js file decreases from 1 621 424 to 1 610 798 bytes with this patch-series.
This is mostly the result of removing a few huge closures from the source files, since that removes a lot of unnecessary whitespace.

These changes were made automatically, using `gulp lint --fix`.
*Please note:* Ignoring whitespace-only changes is probably necessary in order to review this.
These changes were made automatically, using `gulp lint --fix`.
*Please note:* Ignoring whitespace-only changes is probably necessary in order to review this.
These changes were made automatically, using `gulp lint --fix`.
*Please note:* Ignoring whitespace-only changes is probably necessary in order to review this.
@Snuffleupagus
Copy link
Collaborator Author

/botio test

@pdfjsbot
Copy link

pdfjsbot commented May 5, 2021

From: Bot.io (Windows)


Received

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

Live output at: http://3.101.106.178:8877/ae9cfa57ffd7941/output.txt

@pdfjsbot
Copy link

pdfjsbot commented May 5, 2021

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

@pdfjsbot
Copy link

pdfjsbot commented May 5, 2021

From: Bot.io (Linux m4)


Failed

Full output at http://54.67.70.0:8877/5bcb1af72a6b309/output.txt

Total script time: 25.77 mins

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

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

@pdfjsbot
Copy link

pdfjsbot commented May 5, 2021

From: Bot.io (Windows)


Failed

Full output at http://3.101.106.178:8877/ae9cfa57ffd7941/output.txt

Total script time: 29.56 mins

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

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

@Snuffleupagus Snuffleupagus marked this pull request as ready for review May 6, 2021 07:12
@timvandermeij timvandermeij merged commit 5248d0a into mozilla:master May 7, 2021
@timvandermeij
Copy link
Contributor

Looks much better; thanks!

@Snuffleupagus Snuffleupagus deleted the images-class branch May 7, 2021 19:22
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