Closed Bug 1040158 Opened 10 years ago Closed 10 years ago

Need a way to override multiprocessCompatible flag in install.rdf (AMO control for e10s-breaking add-ons)

Categories

(Firefox :: Extension Compatibility, defect)

defect
Not set
normal
Points:
5

Tracking

()

RESOLVED FIXED
Firefox 38
Iteration:
38.2 - 9 Feb
Tracking Status
e10s m5+ ---
firefox38 --- fixed

People

(Reporter: billm, Assigned: mossop)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1029926 +++

Blair asked for some follow-up work to bug 1029926, which added the multiprocessCompatible flag to install.rdf:

In addition to supporting this flag in install.rdf, we'll also want a followup bug to let AMO override it. This will let us cover cases like:
* Add-on is multi-process compatible, but author didn't add multiprocessCompatible to install.rdf
* Add-on specifies multiprocessCompatible, but we find it's buggy and needs the shims afterall
* Something changes that makes an add-on that was once multi-process compatible now be broken and need shims

And, finally, we should have some telemetry added for this, so we know what impact it's having now and over time.
No longer depends on: 1029926
Blocks: e10s-addons
tracking-e10s: --- → ?
Depends on: 1029926
Summary: Need a way to override multiprocessCompatible flag in install.rdf and collect telemetry for it → Need a way to override multiprocessCompatible flag in install.rdf and collect telemetry for it (AMO control for e10s-breaking add-ons)
Needs both client side and AMO side work.
Depends on: 1083545
Flags: firefox-backlog+
Assignee: nobody → wmccloskey
Points: --- → 5
Flags: qe-verify-
I can't see how this depends on bug 1083545
No longer depends on: 1083545
Assignee: wmccloskey → dtownsend
Status: NEW → ASSIGNED
Iteration: --- → 38.2 - 9 Feb
I'm splitting the telemetry piece of this off into bug 1128121
Summary: Need a way to override multiprocessCompatible flag in install.rdf and collect telemetry for it (AMO control for e10s-breaking add-ons) → Need a way to override multiprocessCompatible flag in install.rdf (AMO control for e10s-breaking add-ons)
Attached patch patchSplinter Review
This allows an update.rdf to override the multiprocessCompatible. It doesn't do this at install time since we don't always load the update.rdf then (perhaps we should). But whenever a daily update check happens the change will be applied and persisted. The format is simple, with no flag present in update.rdf no change happens. If the flag is set then its value overrides that of install.rdf.
Attachment #8558182 - Flags: review?(bmcbride)
(In reply to Dave Townsend [:mossop] from comment #4)
> It doesn't
> do this at install time since we don't always load the update.rdf then
> (perhaps we should).

Yea, have been thinking we should.
Attachment #8558182 - Flags: review?(bmcbride) → review+
https://hg.mozilla.org/integration/fx-team/rev/3c49c72bbd26

(In reply to Blair McBride [:Unfocused] (I don't read bugmail - needinfo? me!) from comment #5)
> (In reply to Dave Townsend [:mossop] from comment #4)
> > It doesn't
> > do this at install time since we don't always load the update.rdf then
> > (perhaps we should).
> 
> Yea, have been thinking we should.

Filed bug 1129479
Relanded with the braindead simple initialisation order change in the test: https://hg.mozilla.org/integration/fx-team/rev/d0d66a5cad38
https://hg.mozilla.org/mozilla-central/rev/d0d66a5cad38
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: