Closed Bug 981214 Opened 11 years ago Closed 10 years ago

JS_GetOwnPropertyDescriptorById has strange definitions of "own"

Categories

(Core :: JavaScript: Standard Library, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 547140

People

(Reporter: efaust, Unassigned)

Details

JS_GetOwnPropertyDescriptorById() calls GetPropertyDescriptorById(), which helpfully calls LookupPropertyById(), which checks the whole prototype chain! This is not what "own" means.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.