Closed Bug 87088 Opened 24 years ago Closed 24 years ago

applets fail to load from a chrome

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: jevans12, Assigned: James.Melvin)

References

Details

(Whiteboard: [jpibug])

I have a xul file registered as a chrome. In this xul file I have an applet. When I invoke moz(v0.9.1) with mozilla -console -chrome chrome://appletInChrome/content/appletInChrome.xul The java plug-in(v1.3.1) reports java.net.MalformedURLException: unknown protocol: chrome
java.net.MalformedURLException:unknown protocol: chrome at java.net.URL <init>(URL.java:480) at java.net.URL <init>(URL.java:376) at java.net.URL <init>(URL.java:330) at.sun.plugin.navig.win32.PluginObject.setDocumentURL I tried specifing the applet with both html:applet and html:object tags although I need liveconnect so due to other LC bugs im using applet tag. <!--- <html:APPLET name="DynamicDocCom" code="DynamicDocCom" archive="dynamicdoccom.jar, weblogic.jar, xerces.jar" width="1" height="1" id="com" codebase="http://www.hitrun.net" MAYSCRIPT="true"> <html:param name="param1" value="file:///platform.cfg"/> <html:param name="param2" value="file:///generic.cfg"/> <html:param name="param3" value="alerts"/> <html:param name="param4" value="beatest1"/> </html:APPLET> --> OBJECT TAG <html:object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" id="com" width="1" height="1" archive="dynamicdoccom.jar,weblogic.jar, xerces.jar" name="DynamicDocCom" code="DynamicDocCom" > <html:param name="type" value="application/x-java-applet;version=1.3"/> <html:param name="codebase" value="http://www.hitandrun.net"/> <html:param name="scriptable" value="true"/> <html:param name="mayscript" value="true"/> </html:object>
This is a very interesting bug. Please be aware that the java plugin uses java.net for non all protocols save HTTPS. This means that if java doesn't have a protocol handler for chrome, it will just fail. This smells like an RFE. I'll file it that way into sun's bug system.
I have filed bugtraq bug 4475610 as an RFE on this.
Assignee: edburns → James.Melvin
Whiteboard: [jpibug]
jpibug invalid
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
SPAM: reassigning OJI bugs to new QA, pmac. (227 bugs)
QA Contact: shrir → pmac
QA Contact: pmac → petersen
*** Bug 199740 has been marked as a duplicate of this bug. ***
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.