Closed Bug 358209 Opened 18 years ago Closed 16 years ago

javascript doesn't generate codebase attribute for applets

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: ss4gohanmichael, Unassigned)

Details

(Whiteboard: CLOSEME 07/14)

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
Closed: 16 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.