Closed
Bug 1415188
Opened 8 years ago
Closed 2 years ago
Consider removing Reflect.parse's "builder" API
Categories
(Core :: JavaScript Engine, enhancement, P5)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
People
(Reporter: jorendorff, Unassigned)
Details
Reflect.parse takes an optional `builder` argument. If present, it's an object with a ton of methods, and it's used to build the resulting AST. (The default, if `builder` is missing, is to build a straightforward JSON AST.)
https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey/Parser_API#Builder_objects
This API is brittle. Every time we add anything to JS syntax--or remove an obsolete feature--all code using the builder API breaks. Therefore I doubt anyone is using it and we should remove it.
| Reporter | ||
Updated•8 years ago
|
status-firefox58:
--- → fix-optional
Comment 1•8 years ago
|
||
status-firefox59:
--- → ?
Updated•3 years ago
|
Severity: normal → S3
Comment 2•2 years ago
|
||
This seems to be done: All we check these days is loc and target.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Comment 3•2 years ago
|
||
This was done in bug 1800629.
You need to log in
before you can comment on or make changes to this bug.
Description
•