Closed Bug 442131 Opened 16 years ago Closed 8 years ago

FUEL should be a pure JavaScript library

Categories

(Firefox :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ancestor.ak, Unassigned)

Details

Currently FUEL is built of XPCOM interfaces, which limits flexibility of the API. You can't return JavaScript objects or pass them as parameters, consumers can't set custom properties on the predefined FUEL objects, everything is statically typed etc.

We just can't take advantage of all kinds of useful JavaScript techniques used in modern libraries. 

Now that Components.utils.import() provides an ability to easily import and share code modules between contexts, I think it would a good idea to turn FUEL into a pure JavaScript library. It could be automatically loaded in the main Firefox window and we could have a handy global method for importing it into other contexts.
FUEL is being removed in bug 1090880, so this is now wontfix.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.