JS_GetPropertyDescriptorById misnamed? (doesn't invoke getter, so value returned is bogus value in the slot)

RESOLVED FIXED

Status

()

RESOLVED FIXED
9 years ago
3 years ago

People

(Reporter: Waldo, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
I'm considering this method called on an array with the "length" property, which returns something like so (note bogus value of undefined, rather than 1 or 3 or what-have-you):

(gdb) p descriptor
$1 = {
  obj = 0x84e100, 
  attrs = 4, 
  getter = 0, 
  setter = 0, 
  value = 22
}

Brendan says Lookup would thus be a more accurate name.
(Assignee)

Updated

4 years ago
Assignee: general → nobody
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.