Closed Bug 519463 Opened 15 years ago Closed 15 years ago

Vector.splice() negative deleteCount should be coerced to zero

Categories

(Tamarin Graveyard :: Virtual Machine, defect, P3)

x86
macOS
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 486340
flash10.1

People

(Reporter: tharwood, Assigned: tharwood)

Details

Found a commented-out test (!) in as3/Vector/splice.as -- a negative deleteCount, which the tester (and I) conclude should be coerced to a zero deleteCount. To reproduce: uncomment last test in as3/Vector/splice.as.
Alternatively, of course, v1.splice(x,-2,"foo") could throw a RangeError.
Assignee: tharwood → nobody
Component: Tracing Virtual Machine → Virtual Machine
Flags: flashplayer-qrb?
QA Contact: tracing-vm → vm
Assignee: nobody → tharwood
Status: NEW → ASSIGNED
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Flags: flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.1
Fixed in general Vector.splice() cleanup.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.