2 <body onload=
"test();">
6 document
.getElementById("results").innerHTML
=
7 "<p>Type of Java String object is: " + typeof(document
.getElementById('applet').getString());
11 <p>This test verifies that Java String objects are of the correct type when returned to JavaScript.
</p>
13 <p>On success, the Java String object will be of type
"object
".
<br/>
14 On failure, the type will be
"function
".
<br/>
15 See Radar
4212626.
</p>
20 <APPLET id=
"applet" code=
"StringTypeTest.class" codebase=
"resources" width=
"0" height=
"0">