Approved! IWBNI there were a way in swf9 to get a warning for for-in over arrays. :)
On 2009-08-24, at 19:21EDT, André Bargull wrote: > Change 20090825-bargull-ge6 by barg...@dell--p4--2-53 on 2009-08-25 > 01:06:28 > in /home/Admin/src/svn/openlaszlo/trunk > for http://svn.openlaszlo.org/openlaszlo/trunk > > Summary: don't use for-in when iterating over arrays > > New Features: > > Bugs Fixed: LPP-8394 (asynchronous tests don't work anymore) > > Technical Reviewer: ptw > QA Reviewer: (pending) > Doc Reviewer: (pending) > > Documentation: > > Release Notes: > > Details: > The for-in loops in lz.TestSuite#run() iterated in reverse order > over the array which contains the testcases. Replacing the loop with > a normal for-loop makes it more deterministic. > Also changed lz.Test#setResult() which was obviously wrong and > removed the copy of xmlstringequals() and xmlequals(). > > > Tests: > testcase from bugreport > > Files: > M lps/components/lzunit/lzunit.lzx > > Changeset: > http://svn.openlaszlo.org/openlaszlo/patches/20090825-bargull-ge6.tar > _______________________________________________ Laszlo-reviews mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-reviews
