Bug 50829
Summary: | Java Applet using EMBED or OBJECT tag produces unnecessary request | ||
---|---|---|---|
Product: | WebKit | Reporter: | Rocco J Carello <rjcarello> |
Component: | Java | Assignee: | Nobody <webkit-unassigned> |
Status: | UNCONFIRMED | ||
Severity: | Normal | CC: | ap, jhoneycutt, tomaccia |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows Vista |
Rocco J Carello
When using EMBED to load a Java Applet, Safari makes an unnecessary request for the value of the CODE parameter. Example:
<embed height="0" width="0" type="application/x-java-applet" codebase="java/" archive="ReceiptPrinter.jar" code="ReceiptPrinter">
Makes the following request:
Request URL:http://SITE_URL/ReceiptPrinter
This request, of course, results in a "Failed to Load Resource" error in the console. The Java Applet works fine though.
Works in Firefox. Works in IE8. Works, but similar error in Chrome.
Similar results using the OBJECT tag with the difference being that IE8 crashes:
<object type="application/x-java-applet" width="0" height="0" name="ReceiptPrinter" id="ReceiptPrinter">
<param name="codebase" value="java/">
<param name="archive" value="ReceiptPrinter.jar">
<param name="code" value="ReceiptPrinter">
</object>
I am attempting to use EMBED or OBJECT because APPLET is deprecated.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
tomaccia
Hello,
Issue seems related to the bug 7163 opened in 2006.
I think this issue has now more importance since there are now 2 major browser that use webkit both on Mac and Windows and they are growing in popularity (Chrome and Safari).
Would it be possible to confirm and increase the urgency of the issue? In my company and we can see from the logs that the bug is causing a lot of useless request to our production platform.
Regards,
Thomas