Vector.unshift() method removes items at end of vectors of strings and objects when inserting items at the beginning, instead of increasing the length of the vector. Works correctly for vectors of uints. test case: var strVector = new Vector.<String>; strVector.push("Carol", "Justine"); trace(strVector); //output: Carol, Justine trace(strVector.unshift("Betty")); trace(strVector) actual: Carol,Justine 2 Betty,Carol expected: Carol,Justine 3 Betty,Carol,Justine
Status: NEW → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Comment on attachment 404866 [details] [diff] [review] testcase Confirmed that testcase failed when using shell in astro and is passing in tamarin-redux tip. Pushed testcase as 2702:b65d52fb76cc
Attachment #404866 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.