Closed Bug 1965003 Opened 3 months ago Closed 3 months ago

Minify the pdf.js code

Categories

(Firefox :: PDF Viewer, task)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: calixte, Assigned: calixte)

References

Details

(Keywords: perf, Whiteboard: [pdfjs-performance])

Attachments

(2 files)

In reducing the code size, we reduce the time to load it.
The only possible drawback is to loose the ability to get debug info in the console in case of exception, but we already catch all the exceptions in order to display a warning with the error message, so it shouldn't change anything.

Keywords: perf
See Also: → 1505119
Whiteboard: [pdfjs-performance]
Summary: Minify the worker code → Minify the pdf.js code
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED

Finally, we decided to not minify on the pdf.js side in order to still have a "clear" code in the source tree.
I'll file a new bug in order to do the minification when building Firefox.

No longer depends on: 1966766

I guess we can close this in favor of bug 1967968.

Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: