Closed
Bug 999156
Opened 10 years ago
Closed 10 years ago
Object.getOwnPropertyDescriptor launders away custom descriptor properties returned from scripted proxies
Categories
(Core :: JavaScript: Standard Library, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: efaust, Unassigned)
References
Details
This is similar to bug 601379. We take the object returned by the trap, convert it to a JSPropertyDescriptor losing the and , convert *that* to a is::PropSpec, and then generate a *new* object without the information from that. This is madness. It is easily fixed if we do the conversion to PropSpec in the proxy api.
Reporter | ||
Comment 1•10 years ago
|
||
This actually got removed from ES6. See bug 1031243 for more details.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•