Increase the maximum number of PDF.js preferences
Categories
(Firefox :: General, enhancement)
Tracking
()
| 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.
Comment 2•2 days ago
|
||
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.
Updated•2 days ago
|
Comment 5•17 hours ago
|
||
| bugherder | ||
Description
•