Closed
Bug 1449052
Opened 7 years ago
Closed 6 years ago
[meta] Remove uses of bootstrapped extensions
Categories
(Toolkit :: Add-ons Manager, enhancement)
Toolkit
Add-ons Manager
Tracking
()
RESOLVED
FIXED
People
(Reporter: aswan, Unassigned)
References
Details
(Keywords: meta)
We no longer allow arbitrary bootstrapped extensions on release or beta, but we do have a handful that get special treatment for now. In order to remove a bunch of old code for supporting bootstrapped extensions, we need to get rid of these (either by converting them to webextensions or finding some other way to do whatever each one does)
Comment 1•7 years ago
|
||
Removing bootstrapped extensions is not what was promised in https://wiki.mozilla.org/Add-ons/Firefox57
Anyways, when will this happen? It seems non-bootstrapped ones are being removed right now in bug 1448221, so I am considering refactoring my overlay add-on into a bootstrapped extension. But if you are going to remove them next week then it won't be worth.
Reporter | ||
Comment 2•7 years ago
|
||
(In reply to Oriol Brufau [:Oriol] from comment #1)
> Removing bootstrapped extensions is not what was promised in
> https://wiki.mozilla.org/Add-ons/Firefox57
That page is about the restrictions related to installing and enabling different types of extensions, it is not a promise to keep supporting the legacy types indefinitely. Sorry if there was a misunderstanding about that.
> Anyways, when will this happen? It seems non-bootstrapped ones are being
> removed right now in bug 1448221, so I am considering refactoring my overlay
> add-on into a bootstrapped extension. But if you are going to remove them
> next week then it won't be worth.
We're working out the timeline right now. Its unlikely to happen next week but I would advise using webextensions and not bootstrap.
Comment 3•7 years ago
|
||
(In reply to Andrew Swan [:aswan] from comment #2)
> (In reply to Oriol Brufau [:Oriol] from comment #1)
> > Removing bootstrapped extensions is not what was promised in
> > https://wiki.mozilla.org/Add-ons/Firefox57
>
> That page is about the restrictions related to installing and enabling
> different types of extensions, it is not a promise to keep supporting the
> legacy types indefinitely. Sorry if there was a misunderstanding about that.
I think the part that's still unclear is what's left for developers who want to make add-ons that aren't possible to implement with the current set of webextension APIs, but don't really care about shipping their experimental add-on to a large audience (so if the add-on istalls only on Nightly and devedition that's fine). I mean people who mostly want to customize their own browsing experience, and may be willing to share their code but don't care if it's actually used by others.
Updated•7 years ago
|
Summary: Remove uses of boostrapped extensions → Remove uses of bootstrapped extensions
Comment 4•7 years ago
|
||
(In reply to Florian Quèze [:florian] from comment #3)
> I think the part that's still unclear is what's left for developers who want
> to make add-ons that aren't possible to implement with the current set of
> webextension APIs, but don't really care about shipping their experimental
> add-on to a large audience (so if the add-on istalls only on Nightly and
> devedition that's fine). I mean people who mostly want to customize their
> own browsing experience, and may be willing to share their code but don't
> care if it's actually used by others.
I suspect what they'll likely need to use is a bundled Experiment API to get access to the same privileged gunk that bootstrap.js always had.
Comment 5•7 years ago
|
||
How does this bug differ from bug 1419884? Looks like the direction there is more focused on moving bootstrapped to WebExtension Experiments?
See Also: → 1419884
Reporter | ||
Comment 6•7 years ago
|
||
That bug appears to be about creating enough WebExtensions APIs to enable our current system extensions and other internal extensions to be written as pure WebExtensions. That seems like an interesting landmark but not something we ever need to actually achieve.
Depends on: 1450305
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 7•7 years ago
|
||
:jryans are there any devtools extensions other than adb helper that we should be tracking here?
Flags: needinfo?(jryans)
Reporter | ||
Comment 8•7 years ago
|
||
I think we have dependencies now for all the bootstrapped extensions in mozila-central.
Aside from devtools (see previous comment), the out-of-tree ones I know of are:
- Shield
- Test Pilot
- Pocket
Representatives from all the above are aware of the eventual demise of bootstrapped extensions but primarily do issue tracking outside of bugzilla so we can't easily create blocking bugs here.
(In reply to Andrew Swan [:aswan] from comment #7)
> :jryans are there any devtools extensions other than adb helper that we
> should be tracking here?
No, that should be it. We used to also have the Valence add-on as well, but that project is now unsupported.
Flags: needinfo?(jryans)
Comment 10•7 years ago
|
||
(In reply to Andrew Swan [:aswan] from comment #8)
> I think we have dependencies now for all the bootstrapped extensions in
> mozila-central.
> Aside from devtools (see previous comment), the out-of-tree ones I know of
> are:
> - Shield
> - Test Pilot
> - Pocket
>
about:sync (https://addons.mozilla.org/en-US/firefox/addon/about-sync/, https://github.com/mhammond/aboutsync) is another out-of-tree bootstrapped extension.
Comment 11•7 years ago
|
||
(In reply to Thom Chiovoloni [:tcsc] from comment #10)
> about:sync (https://addons.mozilla.org/en-US/firefox/addon/about-sync/,
> https://github.com/mhammond/aboutsync) is another out-of-tree bootstrapped
> extension.
For the purposes of this bug, we're only concerned about extensions that are used in automation or signed for use in release builds.
Comment 12•7 years ago
|
||
(In reply to Kris Maglione [:kmag] (long backlog; ping on IRC if you're blocked) from comment #11)
> (In reply to Thom Chiovoloni [:tcsc] from comment #10)
> > about:sync (https://addons.mozilla.org/en-US/firefox/addon/about-sync/,
> > https://github.com/mhammond/aboutsync) is another out-of-tree bootstrapped
> > extension.
>
> For the purposes of this bug, we're only concerned about extensions that are
> used in automation or signed for use in release builds.
Unless I'm mistaken, it's signed for release builds.
Comment 13•7 years ago
|
||
Ah, I might have misunderstood. It's not distributed as part of a release build, if that's what you meant.
Comment 14•7 years ago
|
||
Bootstrapped add-ons can't be installed in release builds unless they're signed with a special certificate. about:sync is not signed in that way. Not the version on AMO, at any rate.
Comment 15•7 years ago
|
||
Ah, yeah, that's what I initially thought you meant. No, about:sync is signed with that certificate, and can be installed on release builds (I just double checked on a fresh profile). We often recommend users do this to help report bugs.
ni?markh to confirm, since he's the one that goes through the signing process.
Flags: needinfo?(markh)
Comment 16•7 years ago
|
||
I'm not sure exactly what certificate is being referred to here, but about:sync is signed using the process at https://mana.mozilla.org/wiki/display/SVCOPS/Sign+a+Mozilla+Internal+Extension, making it available in the release channel.
Flags: needinfo?(markh)
Comment 17•7 years ago
|
||
Sorry, you're right, I misread the signature info. In that case, I suggest you migrate the extension to a WebExtension as soon as possible. Signed legacy extensions that aren't in-tree won't block this removal.
Comment 18•7 years ago
|
||
Could implementing bug 1451983 help migrate some extensions to WebExtensions?
(In reply to Andrew Swan [:aswan] from comment #8)
> I think we have dependencies now for all the bootstrapped extensions in
> mozila-central.
> Aside from devtools (see previous comment), the out-of-tree ones I know of
> are:
> - Shield
> - Test Pilot
> - Pocket
>
> Representatives from all the above are aware of the eventual demise of
> bootstrapped extensions but primarily do issue tracking outside of bugzilla
> so we can't easily create blocking bugs here.
Test Pilot has bug 1280233 open for this.
Depends on: 1280233
Updated•7 years ago
|
Comment 19•6 years ago
|
||
Does this affect the ASan reporter addon in browser/extensions/asan-reporter/ ? If so, I might need someone to help migrating this. We cannot remove support for this extension until we have a working alternative.
Flags: needinfo?(kmaglione+bmo)
Reporter | ||
Comment 20•6 years ago
|
||
(In reply to Christian Holler (:decoder) from comment #19)
> Does this affect the ASan reporter addon in
> browser/extensions/asan-reporter/ ? If so, I might need someone to help
> migrating this. We cannot remove support for this extension until we have a
> working alternative.
Yes, asan-reporter will be affected. I thought I talked to somebody about asan-reporter a while back and concluded that it wasn't used, but not to worry, it looks like a pretty trivial port. Lets take further discussion to bug 1487173.
Flags: needinfo?(kmaglione+bmo)
Comment 21•6 years ago
|
||
From 'Intent to unship: bootstrapped extensions' <https://mail.mozilla.org/pipermail/dev-addons/2018-June/003831.html> (2018-06-05):
> … plan to remove support for bootstrapped extensions altogether
> in Firefox 65. …
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 22•6 years ago
|
||
All the dependencies are closed, marking this done!
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•