Open
Bug 880380
Opened 12 years ago
Updated 2 years ago
Rename makeInfallible to logExceptions or something
Categories
(DevTools :: Framework, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: dcamp, Unassigned)
Details
makeInfallible's name has confused at least one person, and it doesn't quite match the infallible semantics we use elsewhere ('will kill the app if it fails' vs. 'will log failures'), so maybe a rename is in order?
Comment 1•12 years ago
|
||
Sure, if it's not helpful, we should rename it. 'logExceptions' seems fine.
(In js/src "infallible" means that the function doesn't return a failure indication (a false return value; a null pointer; etc.). That seemed analogous with throwing an exception in JS. makeInfallible takes a function that might throw, and returns one that never throws. But, communication is about getting the idea into the other person's head...)
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Component: General → Framework
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•