Closed
Bug 1316164
Opened 8 years ago
Closed 8 years ago
NativeGetElement is not defined.
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
FIXED
mozilla52
Tracking | Status | |
---|---|---|
firefox52 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
Details
Attachments
(1 file)
1.62 KB,
patch
|
evilpie
:
review+
|
Details | Diff | Splinter Review |
https://dxr.mozilla.org/mozilla-central/rev/f13e90d496cf1bc6dfc4fd398da33e4afe785bde/js/src/vm/NativeObject.h#1409-1411 > extern bool > NativeGetElement(JSContext* cx, HandleNativeObject obj, HandleValue receiver, uint32_t index, > MutableHandleValue vp); It has no definition. and the following inline also doesn't work. https://dxr.mozilla.org/mozilla-central/rev/f13e90d496cf1bc6dfc4fd398da33e4afe785bde/js/src/vm/NativeObject.h#1420-1425 > inline bool > NativeGetElement(JSContext* cx, HandleNativeObject obj, uint32_t index, MutableHandleValue vp) > { > RootedValue receiver(cx, ObjectValue(*obj)); > return NativeGetElement(cx, obj, receiver, index, vp); > } they should be removed.
Assignee | ||
Comment 1•8 years ago
|
||
5-ary NativeGetElement is not defined but there's only declaration. 4-ary NativeGetElement is defined but it calls 5-ary one. Removed both of them.
Updated•8 years ago
|
Attachment #8808977 -
Flags: review?(evilpies) → review+
Assignee | ||
Comment 2•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/eb60b1702ed9aa9dec06a0e6b7395aa373e88589 Bug 1316164 - Remove unused/undefined NativeGetElement declaration. r=evilpie
Comment 3•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/eb60b1702ed9
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
You need to log in
before you can comment on or make changes to this bug.
Description
•