Firefox/Projects/Jetpack

From MozillaWiki
< Firefox‎ | Projects
Revision as of 01:24, 6 February 2010 by Adw (talk | contribs) (→‎Background)
Jump to navigation Jump to search

Summary

Make sure Jetpack's needs in Firefox and Platform are met. Facilitate communication between Firefox and Jetpack teams.

Background

Jetpack's architecture under versions 0.8 and earlier (now called the Jetpack "prototype") is being abandoned for a new architecture nicknamed the Jetpack "reboot". Check the Labs reboot wiki page for details, but briefly, the differences between the two:

  • "Jetpacks" produced under the reboot are actually XPIs. They're real extensions. Under the prototype they were single JS files.
  • Since jetpacks are now extensions, it no longer makes sense to say "I made a jetpack." It's more like, "I made an extension using Jetpack."
  • Jetpack itself is no longer an extension. It no longer makes sense to say, "I installed Jetpack."
  • The reboot is basically a toolchain, runtime, and API -- a framework.
  • "Cuddlefish" is what Atul has coined this framework.
  • The reboot is very loosely integrated with Firefox. The runtime is bundled in each XPI. The only significant hook that these XPIs require is a (re)loadable extension mechanism.
  • The reboot has a security model, the prototype didn't.
  • Roughly speaking, there are two layers of APIs under the reboot. There's a low-level, chrome-privileged layer that wraps the platform. And there's a high-level, secure, low surface area, and friendly layer that builds on the lower. It's the higher layer that might be thought of as "the Jetpack API," but it's entirely possible to use the lower to build an extension.
  • The Bespin IDE of the prototype will be replaced with a contracted-out in-browser IDE called "FlightDeck." FlightDeck provides a nice UI to Cuddlefish's toolchain.

Current Status

Next Steps

  • Continue to iterate on the API we want under the Jetpack reboot.
  • Find any Firefox/Platform blockers or larger concerns arising from that API.
  • Separately, mossop will be working on bug 542385, (re)loadable extensions.

Related Bugs

Related Links

Team

  • Lead: adw
  • Members: mossop
  • Jetpack team contact: atul

Goals

  • Make sure Jetpack has what it needs for a smooth uplift into Firefox.
  • Keep an open communication channel between the Firefox and Jetpack teams.

Non Goals

  • Finalize or dictate the Jetpack APIs.