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)
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.
Assignee | ||
Comment 1•15 years ago
|
||
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
Updated•15 years ago
|
Assignee: nobody → tharwood
Status: NEW → ASSIGNED
Flags: flashplayer-triage+
Flags: flashplayer-qrb?
Flags: flashplayer-qrb+
Priority: -- → P3
Target Milestone: --- → flash10.1
Assignee | ||
Comment 2•15 years ago
|
||
Fixed in general Vector.splice() cleanup.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Updated•15 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•