Closed Bug 53390 Opened 25 years ago Closed 25 years ago

MoleculeViewer applet example3 doesn't load all the applets on the page.

Categories

(Core Graveyard :: Plug-ins, defect, P3)

x86
Other
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 54424

People

(Reporter: edburns, Assigned: edburns)

References

()

Details

Reproducible: always Steps to reproduce: 1. Visit http://java.sun.com/products/plugin/1.3/demos/applets/GraphLayout/example3.html 2. Note that only one applet shows up when there should be four.
I'm finding that nsPluginHostImpl::InstantiateEmbededPlugin() is only called once when visiting this page.
Status: NEW → ASSIGNED
Added to CC list
The url points to 'Graph LAyout' applet(which loads fine) rather than molecule viewer..am i confusing here?Thnx.
In this example, each applet is specified as follows: <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 100 HEIGHT = 100 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13- win32.cab#Version=1,3,0,0"> <PARAM NAME = CODE VALUE = XYZApp.class > <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3"> <PARAM NAME="scriptable" VALUE="false"> <PARAM NAME = model VALUE =models/water.xyz> <COMMENT> <EMBED type="application/x-java-applet;version=1.3" CODE = XYZApp.class WIDTH = 100 HEIGHT = 100 model = models/water.xyz scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin- install.html"><NOEMBED></COMMENT> alt="Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason." Your browser is completely ignoring the &lt;APPLET&gt; tag! </NOEMBED></EMBED> </OBJECT> The issue is that <COMMENT> and </COMMENT> is used to comment out the EMBED tag in IE. However, when Netscape 6 sees tags like this in a row, the parsing engine is confused, and it only parses the first OBJECT/EMBED tag. There is a workaround: <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" WIDTH = 100 HEIGHT = 100 codebase="http://java.sun.com/products/plugin/1.3/jinstall-13- win32.cab#Version=1,3,0,0"> <PARAM NAME = CODE VALUE = XYZApp.class > <PARAM NAME="type" VALUE="application/x-java-applet;version=1.3"> <PARAM NAME="scriptable" VALUE="false"> <PARAM NAME = model VALUE =models/water.xyz> <COMMENT> <EMBED type="application/x-java-applet;version=1.3" CODE = XYZApp.class WIDTH = 100 HEIGHT = 100 model = models/water.xyz scriptable=false pluginspage="http://java.sun.com/products/plugin/1.3/plugin- install.html"><NOEMBED> alt="Your browser understands the &lt;APPLET&gt; tag but isn't running the applet, for some reason." Your browser is completely ignoring the &lt;APPLET&gt; tag! </NOEMBED></EMBED> </COMMENT> </OBJECT> By putting the </COMMENT> tag in the proper form, Netscape 6 will parse the tags properly and show all four applets.
dup of bug 54424. *** This bug has been marked as a duplicate of 54424 ***
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
mass duplicate verifications . For filtering purposes, pls use keywd "massdupverification"
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.