Closed
Bug 1605658
Opened 6 years ago
Closed 6 years ago
ValueToSource should handle JSFunctions explicitly as a fallback
Categories
(Core :: JavaScript Engine, task)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla73
| Tracking | Status | |
|---|---|---|
| firefox73 | --- | fixed |
People
(Reporter: evilpies, Assigned: evilpies)
References
Details
Attachments
(1 file)
Currently js::ValueToSource works by calling toSource on objects, and falling back to ObjectToSource if that property is not callable. I am adding an explicit case for JSFunction.
Otherwise removing toSource degrades existing error messages involving functions. In the future we might want to explicitly handle some more object types.
| Assignee | ||
Comment 1•6 years ago
|
||
Pushed by evilpies@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/79d517bdae7a
ValueToSource should handle JSFunctions explicitly as a fallback. r=arai
Comment 3•6 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox73:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla73
You need to log in
before you can comment on or make changes to this bug.
Description
•