Closed Bug 582429 Opened 11 years ago Closed 11 years ago

JM: jsreftest failure on js1_5\Regress\regress-452713.js

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dmandelin, Unassigned)

References

Details

Reduced test case:

  function test()
  {
    for (var j = 0; j < 5; ++j) { if (''[-1]) { } }
    print('boo');
  }
  test();

It should print 'boo'. With -m, it prints nothing.
The GetElem stub didn't match the interpreter one for the negative index into a string case.

http://hg.mozilla.org/projects/jaegermonkey/rev/e1df559f8e10
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.