Firefox/Projects/Jetpack Uplift Exploration/Notes: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 45: Line 45:
* JavaScript memory tracker
* JavaScript memory tracker
* Object.freeze() ({{bug|492844}})
* Object.freeze() ({{bug|492844}})
== Jetpack requirements ==
* Complete security model
** Stabilize code
** Test for vulnerabilities
* Unit test coverage
* Inclusion of metadata in Jetpacks
** Author
** License
** Homepage
* Remove use of jQuery in core (chrome) code
* Code style review
* Rework usage of iframes in statusbar
** Most Jetpacks don't need full iframe functionality, which is expensive for how its used
** Add API to add an image/button, with relevant event callbacks

Revision as of 00:24, 20 July 2009

Draft-template-image.png THIS PAGE IS A WORKING DRAFT Pencil-emoji U270F-gray.png
The page may be difficult to navigate, and some information on its subject might be incomplete and/or evolving rapidly.
If you have any questions or ideas, please add them as a new topic on the discussion page.

Note: This assumes many things!

Uplift Scope

Included

  • Runtime

Not Included

  • Development environment (separate addon)
    • Code editor
    • Setting of development specific prefs (eg, javascript.options.showInConsole)
    • Firebug specific code
    • JSBridge
  • Development documentation (to be put on MDC)
  • Subscription UI (managed via new Extension Manager)
  • Workarounds for older version of Firefox
  • Personas specific code

Uplifted separately

  • Slidebar (replace/improve current sidebar functionality)
  • JS security code (eg, securable membrane)

Browser UI

Areas where browser.xul/browser.js should provide simple APIs:

Subscription / Installation / Management

  • Management through Extension Manager API and UI
  • Install & update comparable to current addons

Platform requirements

  • JavaScript memory tracker
  • Object.freeze() (bug 492844)

Jetpack requirements

  • Complete security model
    • Stabilize code
    • Test for vulnerabilities
  • Unit test coverage
  • Inclusion of metadata in Jetpacks
    • Author
    • License
    • Homepage
  • Remove use of jQuery in core (chrome) code
  • Code style review
  • Rework usage of iframes in statusbar
    • Most Jetpacks don't need full iframe functionality, which is expensive for how its used
    • Add API to add an image/button, with relevant event callbacks