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

RESOLVED FIXED

Status

()

Core
JavaScript Engine
RESOLVED FIXED
7 years ago
7 years ago

People

(Reporter: dmandelin, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
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.
(Reporter)

Comment 1

7 years ago
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
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.