Bug 470455 - test_database_sync_embed_visits.js leaks, r=sdwilsh
[wine-gecko.git] / plugin / oji / MRJ / testing / TrivialApplet / TrivialApplet.html
blobbc293dc5c393d5fb7ef6b0691f63dbfffc666f8e
1 <HTML>
2 <HEAD>
3 <TITLE>TrivialApplet</TITLE>
4 </HEAD>
6 <SCRIPT LANGUAGE="JavaScript">
8 var System = java.lang.System;
10 function writeln(text)
12 document.write("<P>", text, "</P>");
15 function println(text)
17 System.out.println(text);
20 function examineApplets()
22 var applets = document.applets;
23 println("applets.length = " + applets.length);
26 function examineTrivialApplet(applet)
28 // applet.print("url = " + applet.urlField.getText());
29 println("url = " + applet.urlField.getText());
32 </SCRIPT>
34 <!-- <BODY onload="examineApplets();"> -->
36 <BODY>
38 <P>
39 <APPLET
40 ARCHIVE="AppletClasses.jar"
41 NAME="TrivialApplet"
42 CODE="TrivialApplet.class"
43 MAYSCRIPT="true"
44 WIDTH=200 HEIGHT=200>
45 <PARAM NAME="URL" VALUE="http://home.netscape.com">
46 </APPLET>
47 </P>
49 <HR>
51 <a href="TrivialApplet.java">The source.</a>
53 <form>
55 <P>
57 <input type=button
58 onclick="examineApplets();"
59 value="examineApplets()">
61 <input type=button
62 onclick="examineTrivialApplet(document.TrivialApplet);"
63 value="examineTrivialApplet()">
65 </P>
67 </form>
69 </BODY>
70 </HTML>