Change 20090508-ptw-G by [email protected] on 2009-05-08
10:52:53 EDT
in /Users/ptw/OpenLaszlo/trunk-2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Ensure dynamic properties are created in instances
Bugs Fixed: LPP-8088 DHTML: many warnings from
applyConstraintMethod() (partial)
Technical Reviewer: max (pending)
QA Reviewer: hminsky (pending)
Details:
Clean up the code in LzNode that makes sure dynamic properties
exist by using a cross-platform test: if accessing the dynamic
property returns undefined, make sure it exists in the instance by
setting it to undefined.
This does not fix the warning part of the bug, but it does make
swf9 work again.
Tests:
http://localhost:8080/4.2/test/extensions/html.lzx?lzr=swf9 No
longer gets a runtime error.
Files:
M WEB-INF/lps/lfc/core/LzNode.lzs
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20090508-ptw-G.tar