FUEL should be a pure JavaScript library

RESOLVED WONTFIX

Status

()

Firefox
General
RESOLVED WONTFIX
10 years ago
2 years ago

People

(Reporter: Adam Kowalczyk, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
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
Last Resolved: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.