Change bargull-20110204-rU0 by bargull@Bargull02 on 2011-02-04 14:36:43
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix glitch with Array.splice
Bugs Fixed: LPP-9705 (delegates created by a handler in a state do not
get deleted from the parent's __delegates array when they are removed)
Technical Reviewer: ptw
QA Reviewer: (pending)
Details:
splice() returns the removed array portion, so there shouldn't be an
assignment to __delegates. splice() also supports negative indices, so
it's more safe to call it in the loop instead of after the loop.
Tests:
test cases from bug report
Files:
M WEB-INF/lps/lfc/events/LaszloEvents.lzs
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/bargull-20110204-rU0.tar