[rfc][icedtea-web] a new reproducer LiveConnect "type conversion" tests

Jana Fabrikova jfabriko at redhat.com
Mon Feb 11 08:42:08 PST 2013


Hello,

I have rewritten the JSToJTypeConv reproducer with respect to Adam's 
comments to the other reproducers, modifying the javascript part of the 
reproducer to a smaller piece of code by employment of 
decodeURIComponent. (Patch attached.)

Four new testcases have been added for setting boolean and Boolean java 
variables to javascript strings "false" and "true", which all end with 
value true, because the strings are non-empty.

Thank you for any further comments,
Jana


2013-02-11  Jana Fabrikova  <jfabriko at redhat.com>

	* /tests/reproducers/simple/JSToJTypeConv/testcases/JSToJTypeConvTest.java:
	adding 50 testcases based on the interactive Liveconnect
	JS->Java type conversion tests and 4 testcases for setting
	java boolean and Boolean variables to nonempty strings
	* /tests/reproducers/simple/JSToJTypeConv/srcs/JSToJTypeConv.java:
	the applet whose variables are set from JS during the tests
	* /tests/reproducers/simple/JSToJTypeConv/resources/JSToJava_TypeConv.js:
	the JavaScript code for setting the applet variables from JS
	* /tests/reproducers/simple/JSToJTypeConv/resources/jstoj-typeconv.jnlp:
	JNLP file for displaying applet in the html page
	* /tests/reproducers/simple/JSToJTypeConv/resources/JSToJTypeConv.html:
	the html page with java applet embedded, displayed in browser
	during the tests


On 10/16/2012 12:53 PM, Jana Fabrikova wrote:
> 2012-10-16  Jana Fabrikova  <jfabriko at redhat.com>
>
>      * /tests/reproducers/simple/JSToJTypeConv:
>      adding a new reproducer for the sixth LiveConnect
>      test (Tests for data type conversion from JS to Java variables.)
>
>
> I would like to ask for review of the attached patch,
> thank you,
> Jana

-------------- next part --------------
A non-text attachment was scrubbed...
Name: adding_2ndversion_JSToJTypeConv_reproducer.patch
Type: text/x-patch
Size: 24650 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20130211/e5523380/adding_2ndversion_JSToJTypeConv_reproducer.patch 


More information about the distro-pkg-dev mailing list