Closed
Bug 1531419
Opened 5 years ago
Closed 5 years ago
Font Editor: fix issues raised by React in dev mode
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(firefox67 fixed)
RESOLVED
FIXED
Firefox 67
Tracking | Status | |
---|---|---|
firefox67 | --- | fixed |
People
(Reporter: rcaliman, Assigned: rcaliman)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
There are historical issue in the Font Editor which stem from improper use of React and sloppy type coercion:
- missing
key
properties in lists of rendered components - typos in element attributes as expected by React (ex:
maxlength
=>maxLength
) - incorrect type for axis & font property values as defined by component
propTypes
.
The React errors do not impact end users, but make for a noisy console. The inconsistent types for values create potential for new bugs.
The patch for this bugs corrects many of these issues.
Assignee | ||
Comment 1•5 years ago
|
||
- add
key
where necessary; - fix element attribute typos;
- use consistent Number type for axis and font property values as defined by
propTypes
.
Pushed by rcaliman@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f5936ae0c1d6 Address errors shown by React in dev mode for Font Editor; r=gl
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox67:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 67
Updated•3 years ago
|
Component: Inspector: Fonts → Inspector
You need to log in
before you can comment on or make changes to this bug.
Description
•