Closed
Bug 903571
Opened 12 years ago
Closed 12 years ago
HasPropertyOnPrototype actually does a property get
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bzbarsky, Unassigned)
References
(Blocks 1 open bug)
Details
It looks like this:
1353 return !GetPropertyOnPrototype(cx, obj, id, &found, NULL) || found;
Is there a reason we're not using JS_HasPropertyById directly here?
Flags: needinfo?(peterv)
![]() |
Reporter | |
Updated•12 years ago
|
Blocks: ParisBindings
Comment 1•12 years ago
|
||
We're not doing a property get; the actual get is guarded on the NULL in that line not being null.
![]() |
Reporter | |
Comment 2•12 years ago
|
||
Bah. We should document that! I'll throw that into bug 895758.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(peterv)
Resolution: --- → INVALID
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•