Closed Bug 14522 Opened 21 years ago Closed 20 years ago
jsloader should reflect some object with mimetype into JS
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.
21 years ago
Status: NEW → ASSIGNED
Target Milestone: M11
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.
20 years ago
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Component type added to nsIModule::registerSelf, so we're done here.
You need to log in before you can comment on or make changes to this bug.