FlightDeck will construct an XPI and give it a URL on the FlightDeck server. The FD add-on will be notified and should retrieve the XPI then load it into FF without a restart via its super-boot-strappish auto-magic abilities!
Severity: normal → critical
OS: Windows 7 → All
Priority: -- → P1
Hardware: x86 → All
Ok, I've got a simple prototype working. First, try getting this XPI and installing it in Firefox 3.6: https://secure.toolness.com/xpi/flightdeck.xpi Then, view this page: http://hg.mozilla.org/users/avarma_mozilla.com/atul-packages/raw-file/5a07d72fd105/packages/flightdeck/sample-web-page/index.html You should be able to push the buttons to temporarily install/uninstall one of two addons without restarting. Installing one will uninstall the other, if it's currently installed. If you ever quit Firefox, any installed addon will effectively be uninstalled. Try viewing the source of the index.html page to see how the page communicates with Firefox. Note that this prototype effectively exposes a massive security hole in Firefox, as it allows any website to install a Jetpack-based XPI on your computer without your permission. This will obviously need to change. :)
Oh, I should probably mention what the Jetpack-based addons actually do, so you can make sure the dynamic install/uninstall works. :) "Facebook Acquaintances" modifies Facebook by replacing every occurrence of the word "friend" with "acquaintance". "Cuddlefish Lab" adds an eponymous entry to the "Tools" menu of Firefox; selecting it opens a tab that allows you to play with the Jetpack API in a way that's reminiscent of the Jetpack Prototype. Source code for both of these addons is located at http://hg.mozilla.org/users/avarma_mozilla.com/atul-packages.
Just filed bug 552195, about a malformed ZIP/XPI file hard-crashing FF if the FD addon tries opening it.
Also just filed bug 552197 - FlightDeck addon needs to only accept XPIs from trusted sources.
Thanks! It's working on http://flightdeck.zalewa.info/ It's still "old" jetpack-sdk, so no Modules allowed.
I'm marking this as fixed. The only remaining blocker for a public beta of FlightDeck from the addon-side now appears to be bug 552197.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
Component: FlightDeck → FlightDeck
Product: Mozilla Labs → Mozilla Labs Graveyard
You need to log in before you can comment on or make changes to this bug.