Change 20100727-maxcarlson-Q by maxcarl...@friendly on 2010-07-27 19:03:02 PDT
in /Users/maxcarlson/openlaszlo/trunk2
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Fix encoding/decoding for Flash/browser calls with array/object
arguments
Bugs Fixed: LPP-9242 - HTML SWF8: An empty string is "null" when passed by
callJavascript()
Technical Reviewer: promanik
QA Reviewer: hminsky
Details: swf/dojo/flash8/DojoExternalInterface - Tabs to spaces. call()
updated to escape values inside arrays/objects, like those used for
callJavaScript() args. Update method call from lz.embed.__unescapestring() to
lz.embed.dojo.__unescapestring().
swf9/DojoExternalInterface - call() updated to escape values inside
arrays/objects, like those used for callJavaScript() args.
embednew.js, flash.js - Move lz.embed.__unescapestring() to
lz.embed.dojo.__unescapestring().
Tests: See updated test at LPP-9242
Files:
M WEB-INF/lps/lfc/kernel/swf/dojo/flash8/DojoExternalInterface.as
M WEB-INF/lps/lfc/kernel/swf9/DojoExternalInterface.as
M lps/includes/source/embednew.js
M lps/includes/source/flash.js
Changeset:
http://svn.openlaszlo.org/openlaszlo/patches/20100727-maxcarlson-Q.tar