Closed
Bug 14522
Opened 25 years ago
Closed 25 years ago
jsloader should reflect some object with mimetype into JS
Categories
(Core :: XPConnect, defect, P3)
Tracking
()
RESOLVED
FIXED
M11
People
(Reporter: jband_mozilla, Assigned: shaver)
Details
JS components should not have their loader's mimetype hardcoded. The exact same
JS component source should work whether loaded from a 'js from file system'
loader, or 'js from jarfile loader', or 'js from wherever' loader. The JS code
should be able to discover this from some clue provided into its
runtime enviroment by the loader that loaded it at install time.
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M11
Assignee | ||
Comment 1•25 years ago
|
||
We need to add the component type to the nsIModule::RegisterSelf API, so other
loader types don't need to reinvent this particular wheel.
I'll do it tonight, so we don't have to adjust those millions of JS components
that people are going to write tomorrow (cough), and so I only have to retrofit
the GIF stuff.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 2•25 years ago
|
||
Component type added to nsIModule::registerSelf, so we're done here.
Comment hidden (collapsed) |
You need to log in
before you can comment on or make changes to this bug.
Description
•