diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 19:30:52 -0800 |
commit | 8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch) | |
tree | 11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/java-string-object-type.html | |
parent | 648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff) | |
download | external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/java-string-object-type.html')
-rw-r--r-- | WebCore/manual-tests/java-string-object-type.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/WebCore/manual-tests/java-string-object-type.html b/WebCore/manual-tests/java-string-object-type.html new file mode 100644 index 0000000..ef74626 --- /dev/null +++ b/WebCore/manual-tests/java-string-object-type.html @@ -0,0 +1,24 @@ +<html> +<body onload="test();"> +<script> +function test() +{ + document.getElementById("results").innerHTML = + "<p>Type of Java String object is: " + typeof(document.getElementById('applet').getString()); +} +</script> + +<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 "object".<br/> +On failure, the type will be "function".<br/> +See Radar 4212626.</p> + +<div id="results"> +</div> + +<APPLET id="applet" code="StringTypeTest.class" codebase="resources" width="0" height="0"> +</APPLET> + +</body> +</html> |