Closed Bug 29159 Opened 25 years ago Closed 24 years ago

Loading of javascript files out of unsigned JARs

Categories

(Core :: JavaScript Engine, enhancement, P3)

Other
Other
enhancement

Tracking

()

RESOLVED FIXED

People

(Reporter: taras.tielkes, Assigned: security-bugs)

Details

Netscape 4.x has the ability to load javascript source out of unsigned JARs by 
using the syntax:
-----------------------------------------------------
<SCRIPT SRC="test.js" ARCHIVE="libfunc.jar"></SCRIPT>
-----------------------------------------------------

It would be nice if this would still work in Mozilla.
Norris says this is yours
Assignee: rogerl → mstoltz
This is not a bug, but more a feature request.
Netscape 4.x and 4.5x do support this though.
There is an alternate syntax in Mozilla for this. For the above example, use
<SCRIPT SRC="jar:http://server.com/libfunc.jar!/test.js"></SCRIPT>

However, I'm going to implement ARCHIVE= as well, so I'll leave this bug open.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Target Milestone: M16
I don't want to implement bits and pieces of the 4.X archive syntax; that would 
be confusing. So for now, no ARCHIVE= tag. Please use the jar: URL syntax above. 
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.