Closed Bug 1896577 Opened 9 months ago Closed 8 months ago

Remove a path depending of the build machine from the pdf.js code

Categories

(Firefox :: PDF Viewer, task, P1)

task

Tracking

()

RESOLVED FIXED

People

(Reporter: calixte, Assigned: calixte)

References

Details

Attachments

(1 file)

As noticed by :robwu, we've this string:
https://searchfox.org/mozilla-central/rev/b3f40fd7c4671537ed29a232e76c962977650045/toolkit/components/pdfjs/content/build/pdf.worker.mjs#7511
which can be "file:///builds/worker/pdf.js/external/openjpeg/openjpeg.js" if the update has been made by updatebot.

It can be replaced by something more generic in disabling import_meta when building openjpeg:
https://github.com/mozilla/pdf.js.openjpeg/blob/326b629e57fa91d97497552468c7484d696649e4/compile.sh#L22

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

Attachment

General

Created:
Updated:
Size: