mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 22:55:23 +00:00
[JAEGER] Fix recent regression in jstest content/base/test/test_bug333198.html
This commit is contained in:
parent
62e90008e7
commit
214f56d7ea
@ -554,7 +554,7 @@ static inline bool
|
||||
FetchElementId(VMFrame &f, JSObject *obj, const Value &idval, jsid &id, Value *vp)
|
||||
{
|
||||
int32_t i_;
|
||||
if (ValueFitsInInt32(idval, &i_)) {
|
||||
if (ValueFitsInInt32(idval, &i_) && INT_FITS_IN_JSID(i_)) {
|
||||
id = INT_TO_JSID(i_);
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user