Closed
Bug 1894763
Opened 5 months ago
Closed 5 months ago
Get all reader view prefs using a try-catch block
Categories
(Toolkit :: Reader Mode, enhancement)
Toolkit
Reader Mode
Tracking
()
RESOLVED
FIXED
128 Branch
Tracking | Status | |
---|---|---|
firefox128 | --- | fixed |
People
(Reporter: rhn0312, Assigned: rhn0312)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
blocker level bug for rolling out new theme and layout menus.
Currently, if an invalid value is passed to one of the Reader View pref getters, it stops AboutReader.sys.mjs
from executing and makes reader view inaccessible. We should refactor the code by declaring all pref values using the default values first, then attempt to fetch the pref value in a try catch block, logging a warning if an invalid value is passed.
Updated•5 months ago
|
Assignee: nobody → ini
Status: NEW → ASSIGNED
Pushed by ini@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d166b88c4f9
Get all reader view prefs using a try-catch block. r=reader-mode-reviewers,Gijs
Comment 3•5 months ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
status-firefox128:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 128 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•