Change bargull-20110128-Ul1 by bargull@Bargull02 on 2011-01-28 19:23:25
in /home/anba/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: Handle initialiser expression in for-in statement

Bugs Fixed: LPP-9703 (Initialiser expression not evaluated in for-in loop)

Technical Reviewer: ptw
QA Reviewer: (pending)

Details:
GenericVisitor:
- visit initialiser expression

JavascriptGenerator:
- visit initialiser expression

SWF9Generator:
- rewrite initialiser expression to comma expression to work around Flash Player bug FP-6086

ParseTreePrinter:
- emit initialiser expression if present

ecma-forin.lzl:
- adjusted copy of e4x-foreach.lzl to cover some for-in statement uses


Tests:
new test cases from ecma-forin (swf10, dhtml {firefox,opera,safari,ie})

Files:
M test/smoke/smokecheck.lzx
A test/smoke/ecma-forin.lzl
M WEB-INF/lps/server/src/org/openlaszlo/sc/JavascriptGenerator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/SWF9Generator.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/GenericVisitor.java
M WEB-INF/lps/server/src/org/openlaszlo/sc/ParseTreePrinter.java

Changeset: http://svn.openlaszlo.org/openlaszlo/patches/bargull-20110128-Ul1.tar

Reply via email to