Jetpack and Webextensions

30 views
Skip to first unread message

Alex white

unread,
Apr 22, 2016, 9:26:04 PM4/22/16
to mozilla-labs-jetpack
I'm a bit confused about the state of the addon sdk. 

Is the webextensions that are planned on becoming the new standard, are they going to completely replace or merely supplement the jetpack system?

Is jetpack going to be around for a while, or will I be needing to migrate the addon I'm developing to the new system soon?

I'm sorry if this isn't the right place to ask, or if this question comes about sounding as though I'm uninformed and didn't make the effort to look for it, but there doesn't seem to be any definitive answer in the docs at the moment.

Anyways, thanks.

William Bamberg

unread,
Apr 22, 2016, 11:38:49 PM4/22/16
to mozilla-la...@googlegroups.com, Amy Tsay
No, it's a very reasonable question. The only thing I know for sure is that you should not rely on certain low-level SDK APIs, in particular require("chrome") and any APIs that give you direct access to content (e.g. window/utils) or XUL objects (e.g. tab/utils).

Beyond that, I haven't seen a clear public statement about the future of the SDK either. I'm cc-ing Amy Tsay, who might have better information than me.

Will

--
You received this message because you are subscribed to the Google Groups "mozilla-labs-jetpack" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mozilla-labs-jet...@googlegroups.com.
To post to this group, send email to mozilla-la...@googlegroups.com.
Visit this group at https://groups.google.com/group/mozilla-labs-jetpack.
For more options, visit https://groups.google.com/d/optout.

William Bamberg

unread,
Apr 25, 2016, 2:13:08 AM4/25/16
to Amy Tsay, mozilla-la...@googlegroups.com, Jorge Villalobos
Thanks for the reply, Amy.

On Sun, Apr 24, 2016 at 9:37 PM, Amy Tsay <at...@mozilla.com> wrote:
Thanks for forwarding, Will. I'm also cc'ing Jorge in case he has something to add.

Alex--WebExtensions are going to become the standard for add-on development, and depending on your add-on the migration could be simple (i.e. if it is an SDK add-on using high-level APIs), or more complicated (and perhaps even impossible if it is a certain type of XUL add-on). We are still fixing critical SDK bugs, but we are not adding new features, and I think once WebExtensions are in a good place support for SDK will end. I don't have exact dates right now, but the transition is expected to be complete by the end of 2017.

We've documented what we know so far on this wiki page. A good way to get started is to see if your add-on is affected by using the lookup tool.

We're here to help in the #addons channel on irc.mozilla.org and the dev-addons mailing list--please feel free to reach out.

Thanks,
Amy

April 22, 2016 at 8:38 PM

Matěj Cepl

unread,
Apr 25, 2016, 8:45:19 AM4/25/16
to mozilla-la...@googlegroups.com
On 2016-04-25, 06:13 GMT, William Bamberg wrote:
>> Alex--WebExtensions are going to become the standard for
>> add-on development, and depending on your add-on the
>> migration could be simple (i.e. if it is an SDK add-on using
>> high-level APIs), or more complicated (and perhaps even
>> impossible if it is a certain type of XUL add-on). We are
>> still fixing critical SDK bugs, but we are not adding new
>> features, and I think once WebExtensions are in a good place
>> support for SDK will end. I don't have exact dates right now,
>> but the transition is expected to be complete by the end of
>> 2017.

More pressing question right now is, in my opinion, when the
WebExtensions start to be useable in an ordinary Firefox? Are
they supported in FF48, will they be supported in future
releases of Firefox? Which ones?

Best,

Matěj

--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

A GOOD name is rather to be chosen than great riches.
-- Proverbs 22:1

Alex white

unread,
Apr 25, 2016, 10:37:32 AM4/25/16
to mozilla-labs-jetpack
Thanks for all the responses. I've subscribed to the mailing list for now and plan on migrating as soon as I determine which parts will need to be replaced or swapped out.

William Bamberg

unread,
Apr 25, 2016, 2:36:13 PM4/25/16
to mozilla-la...@googlegroups.com, Addon Developers List
Cross-posting to dev-addons, where you will probably get more answers.

On Mon, Apr 25, 2016 at 3:01 AM, Matěj Cepl <mc...@cepl.eu> wrote:
On 2016-04-25, 06:13 GMT, William Bamberg wrote:
>> Alex--WebExtensions are going to become the standard for
>> add-on development, and depending on your add-on the
>> migration could be simple (i.e. if it is an SDK add-on using
>> high-level APIs), or more complicated (and perhaps even
>> impossible if it is a certain type of XUL add-on). We are
>> still fixing critical SDK bugs, but we are not adding new
>> features, and I think once WebExtensions are in a good place
>> support for SDK will end. I don't have exact dates right now,
>> but the transition is expected to be complete by the end of
>> 2017.

More pressing question right now is, in my opinion, when the
WebExtensions start to be useable in an ordinary Firefox? Are
they supported in FF48, will they be supported in future
releases of Firefox? Which ones?


From Firefox 46 (I believe) Firefox users can install WebExtensions from AMO. So you can write WebExtensions now, that target Firefox 46.

Whether it is usable depends on which APIs you need. The API overview page (https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API) summarises the status of all APIs, but describes the state in Nightly. The individual API pages (https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/webRequest#Browser_compatibility) give you more fine-grained info on which APIs are supported in which version.

(Maybe we should have a single page that includes all the browser compat tables for all APIs?)

Will

 

Best,

Matěj

--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

A GOOD name is rather to be chosen than great riches.
   -- Proverbs 22:1

Matěj Cepl

unread,
Apr 26, 2016, 1:01:18 AM4/26/16
to mozilla-la...@googlegroups.com
On 2016-04-25, 18:36 GMT, William Bamberg wrote:
> Cross-posting to dev-addons, where you will probably get more answers.

Ehm, what's that? I see on https://lists.mozilla.org/listinfo
only https://lists.mozilla.org/listinfo/addons-chromebug and
https://lists.mozilla.org/listinfo/addons-user-experience .

Matěj

--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled.
-- R. P. Feynman's concluding sentence
in his appendix to the Challenger Report

William Bamberg

unread,
Apr 26, 2016, 2:00:55 AM4/26/16
to mozilla-la...@googlegroups.com
On Mon, Apr 25, 2016 at 10:00 PM, Matěj Cepl <mc...@cepl.eu> wrote:
On 2016-04-25, 18:36 GMT, William Bamberg wrote:
> Cross-posting to dev-addons, where you will probably get more answers.

Ehm, what's that? I see on https://lists.mozilla.org/listinfo
only https://lists.mozilla.org/listinfo/addons-chromebug and
https://lists.mozilla.org/listinfo/addons-user-experience .

Matěj

--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC

For a successful technology, reality must take precedence over
public relations, for nature cannot be fooled.
    -- R. P. Feynman's concluding sentence
       in his appendix to the Challenger Report

Matěj Cepl

unread,
Apr 26, 2016, 6:01:21 AM4/26/16
to mozilla-la...@googlegroups.com
On 2016-04-26, 06:00 GMT, William Bamberg wrote:
> https://mail.mozilla.org/listinfo/dev-addons

Thank you. Oh well, yet another email list I won't follow,
because it is not on Gmane.

Matěj

--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

Never, never, never believe any war will be smooth and easy, or
that anyone who embarks on the strange voyage can measure the
tides and hurricanes he will encounter. The statesman who yields
to war fever must realise that once the signal is given, he is no
longer the master of policy but the slave of unforeseeable and
uncontrollable events.
-- Winston Churchill, 1930

Dietrich Ayala

unread,
Apr 26, 2016, 8:59:36 PM4/26/16
to mozilla-la...@googlegroups.com
Is that list mirrored on Google Groups?

Matěj Cepl

unread,
Apr 27, 2016, 4:01:15 AM4/27/16
to mozilla-la...@googlegroups.com
On 2016-04-27, 00:59 GMT, Dietrich Ayala wrote:
> Is that list mirrored on Google Groups?

No idea, why do you ask? Gmane can of course perfectly well with
mailman-based lists.

Matěj

--
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC

My life has been full of terrible misfortunes most of which never
happened.
-- Michel de Montaigne

William Bamberg

unread,
Apr 29, 2016, 1:05:01 AM4/29/16
to Jorge Villalobos, Bram Pitoyo, mozilla-la...@googlegroups.com, Addon Developers List


On Mon, Apr 25, 2016 at 4:34 PM, Jorge Villalobos <jo...@mozilla.com> wrote:
+1 on that idea.


On 4/25/16 4:39 PM, Bram Pitoyo wrote:
>     (Maybe we should have a single page that includes all the browser
>     compat tables for all APIs?)
>



 
>
> This is a great idea. One of the things that developers have told us on
> the interviews is wanting to find out what APIs are available on the
> version of Firefox that their users are using – in other words, release
> channel. Even if – let’s say – very few APIs are supported on release,
> this tells developers what channel they should develop in, and how long
> until they can release their WebExtensions add-on to the public.
>
> On 26 April 2016 at 06:36, William Bamberg <wbam...@mozilla.com
> <mailto:wbam...@mozilla.com>> wrote:
>
>     Cross-posting to dev-addons, where you will probably get more answers.
>
>     On Mon, Apr 25, 2016 at 3:01 AM, Matěj Cepl <mc...@cepl.eu
>         <mailto:mc...@ceplovi.cz>

>         GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
>
>         A GOOD name is rather to be chosen than great riches.
>            -- Proverbs 22:1
>
>         --
>         You received this message because you are subscribed to the
>         Google Groups "mozilla-labs-jetpack" group.
>         To unsubscribe from this group and stop receiving emails from
>         it, send an email to
>         mozilla-labs-jet...@googlegroups.com

>         To post to this group, send email to
>         mozilla-la...@googlegroups.com
>         <mailto:mozilla-la...@googlegroups.com>.
>         Visit this group at
>         https://groups.google.com/group/mozilla-labs-jetpack.
>         For more options, visit https://groups.google.com/d/optout.
>
>
>
>     _______________________________________________
>     Dev-addons mailing list
>     Dev-a...@mozilla.org <mailto:Dev-a...@mozilla.org>
>     https://mail.mozilla.org/listinfo/dev-addons
>
>
>
>
> _______________________________________________
> Dev-addons mailing list
> Dev-a...@mozilla.org
> https://mail.mozilla.org/listinfo/dev-addons
>

Reply all
Reply to author
Forward
0 new messages