Closed Bug 2056102 Opened 2 days ago Closed 17 hours ago

Increase the maximum number of PDF.js preferences

Categories

(Firefox :: General, enhancement)

Firefox 154
enhancement

Tracking

()

RESOLVED FIXED
155 Branch
Tracking Status
firefox155 --- fixed

People

(Reporter: aditisingh1400, Assigned: aditisingh1400)

Details

Attachments

(1 file)

Steps to reproduce:

PDF.js PR #20729 adds disableWorkerRendering as a new OptionKind.PREFERENCE option.

Actual results:

PdfStreamConverter.sys.mjs currently limits preference fetching to 50,
which means that one preference could be omitted after this change.

Expected results:

As per the comment here, we should increase MAX_NUMBER_OF_PREFS from 50 to 60 (just a potential value) to keep Mozilla Central synchronised with the PDF.js app_options_spec.js number of preferences.

I can't edit the original description, as I probably don't have permissions, the description's supposed to be:

PDF.js PR #20729 adds disableWorkerRendering as a new
OptionKind.PREFERENCE option.

PdfStreamConverter.sys.mjs currently limits preference fetching to 50.
Increase MAX_NUMBER_OF_PREFS from 50 to 60 to provide some headroom and
keep Mozilla Central synchronized with the corresponding limit in
test/unit/app_options_spec.js.

The Bugbug bot thinks this bug should belong to the 'Firefox::Settings UI' component, but is not confident enough to move the bug to that component.

Component: Untriaged → General
Assignee: nobody → aditisingh1400
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Pushed by cdenizet@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/95c37ccf3d2c https://hg.mozilla.org/integration/autoland/rev/b13c5fe826ae Increase the maximum number of PDF.js preferences to 60. r=pdfjs-reviewers,calixte
Status: ASSIGNED → RESOLVED
Closed: 17 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 155 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: