[Laszlo-dev] For Review: Change 20090508-ptw-G Summary: Ensure dynamic properties are created in instances
P T Withington
ptw at pobox.com
Fri May 8 07:59:43 PDT 2009
Change 20090508-ptw-G by ptw at dueling-banjos.home 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
More information about the Laszlo-dev
mailing list