javascript doesn't generate codebase attribute for applets

RESOLVED INCOMPLETE

Status

()

--
minor
RESOLVED INCOMPLETE
12 years ago
10 years ago

People

(Reporter: ss4gohanmichael, Unassigned)

Tracking

2.0 Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: CLOSEME 07/14)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1) Gecko/20061010 Firefox/2.0

I was creating a dynamic applet with a javascript function to show some virtual tours on one of my client's websites when the codebase failed to generate in Firefox. It worked in all other browsers, but Firefox didn't and it failed to find the appropriate *.jar file. This caused the applet to not initialize properly. I remedied my situation by just prepending the location in the codebase to the *.jar file itself. I'm fine with that solution, but it is strange that it wouldn't generate it via "applet_handle.codebase = url".

Reproducible: Always

Steps to Reproduce:
1. Create a JavaScript function to "x = document.createElement('applet')"
2. Feed it something and rely on the codebase "x.codebase = "http://foo.bar/dir/"

Actual Results:  
It generates the applet perfectly, except it leaves out the codebase.

Expected Results:  
It should append "codebase = 'http://foo.bar/dir/'" somewhere in the applet tag.
Reporter, do you still see this problem with the latest Firefox 2? If not, can you please close this bug as WORKSFORME. Thanks!
Whiteboard: CLOSEME 07/14
Version: unspecified → 2.0 Branch
Closing as incomplete -> no reply 

If you still see this bug, feel free to reopen, please include a testcase or so (if possible) to this bug, thanks !
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.