servo / rust-mozjs

DEPRECATED - moved to servo/mozjs instead.
Mozilla Public License 2.0
293 stars 122 forks source link

CallArgs::get should return UndefinedHandleValue instead of panicking for OOB indices #219

Closed tschneidereit closed 8 years ago

tschneidereit commented 8 years ago

CallArgs::get currently panics for OOB indices. Instead, it should return UndefinedHandleValue like the C++ version does.

/CC @Ms2ger