Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (19 sloc) 634 Bytes
<body onload="test();">
function test()
document.getElementById("results").innerHTML =
"<p>Type of Java String object is: " + typeof(document.getElementById('applet').getString());
<p>This test verifies that Java String objects are of the correct type when returned to JavaScript.</p>
<p>On success, the Java String object will be of type &quot;object&quot;.<br/>
On failure, the type will be &quot;function&quot;.<br/>
See Radar 4212626.</p>
<div id="results">
<APPLET id="applet" code="StringTypeTest.class" codebase="resources" width="0" height="0">
Jump to Line
Something went wrong with that request. Please try again.