blob: ef74626b5773c0295175773fd0fbdf9bdba19169 [file] [log] [blame]
<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">