Closed Bug 948489 Opened 12 years ago Closed 8 years ago

Support functions with destructured parameters and rest parameters for function previews

Categories

(DevTools :: Object Inspector, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: msucan, Unassigned)

References

(Depends on 1 open bug)

Details

From bug 843004 comment 35: > Another future problem is the handling of parameterNames. Currently, > `Debugger.Frame.prototype.parameterNames` only returns an array of strings, > so your code will work. However, `parameterNames` is specified to > potentially return an array of strings|arrays|objects to handle destructured > parameter names (bug 936208). There's also rest parameters which are > currently handled inadequately (bug 905359). So when either of those bugs is > fixed we should also update this stringifier to handle the new > data/formatting. We need to make sure the VariablesView stringifier for object actor grips that represent functions will be updated to support destructured parameter names and rest parameters, when the dependencies are fixed.
Severity: normal → enhancement
Won't be fixed in the VariablesView, filed https://github.com/devtools-html/devtools-core/issues/806 for Reps
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.