Closed
Bug 689404
Opened 13 years ago
Closed 13 years ago
Changes to inline settings broke existing Firefox Mobile add-ons
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla9
People
(Reporter: mfinkle, Assigned: darktrojan)
Details
(Keywords: addon-compat, verified-aurora, verified-beta, Whiteboard: [qa+])
Attachments
(1 file, 1 obsolete file)
7.51 KB,
patch
|
Unfocused
:
review+
christian
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
bug 669390 changed <setting type="control"> to only allow <button> children and added <setting type="multi"> to handle <menulist> and <radiogroup> children. This breaks many Firefox Mobile add-ons which use <setting type="control"> for <menulist> children. We need a way to keep <setting type="control"> to keep working for add-on compatibility. Ideas?
Reporter | ||
Updated•13 years ago
|
status-firefox8:
--- → affected
status-firefox9:
--- → affected
tracking-firefox8:
--- → ?
tracking-firefox9:
--- → ?
Reporter | ||
Comment 1•13 years ago
|
||
One simple idea is to allow <setting type="control"> to have <menulist> children. Keep <setting type="multi"> as is, allowing <menulist> too. This would allow old code still use the old binding, but new code will use the new binding.
Comment 2•13 years ago
|
||
Yea, that's the easiest way (er, and the only way?). In one of the reviews, I think I explicitly asked for <setting type="control"> to stop including <menulist>, since it was something we didn't want to support forever. But if that's causing pain...
Reporter | ||
Comment 3•13 years ago
|
||
It is causing pain. We can work to get add-ons using the new binding, but we can't go cold turkey now. This affects Fx8, which becomes "Beta" tomorrow/today.
Comment 4•13 years ago
|
||
Blair do you have time to put together a patch for this? We need to get it in nightlies a.s.a.p. so we can get the confidence to push it to the betas.
Assignee: nobody → bmcbride
Reporter | ||
Comment 5•13 years ago
|
||
I am trying a patch too
Reporter | ||
Comment 6•13 years ago
|
||
This patch merely adds "menulist" back to the allowed children of <setting type="control">. This means the developer is responsible for handling the saving and loading of the preference to the control. If the developer wants to let the binding handle the preference syncing, they should use <setting type="multi"> This patch does correct the problem in Firefox Mobile. We should consider this a compatibility fix only. Let's not try to make type="control" into something bigger than it already is.
Assignee: bmcbride → mark.finkle
Attachment #562650 -
Flags: review?(bmcbride)
Assignee | ||
Comment 7•13 years ago
|
||
My patch is better! :-P And also already on try. https://tbpl.mozilla.org/?tree=Try&rev=5c3a17a73d94
Attachment #562650 -
Attachment is obsolete: true
Attachment #562650 -
Flags: review?(bmcbride)
Attachment #562655 -
Flags: review?(bmcbride)
Updated•13 years ago
|
Attachment #562655 -
Flags: review?(bmcbride) → review+
Comment 8•13 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ac92a6d8297c
Assignee: mark.finkle → geoff
Status: NEW → ASSIGNED
OS: Linux → All
Hardware: x86 → All
Target Milestone: --- → mozilla9
Version: unspecified → Trunk
Updated•13 years ago
|
tracking-firefox9:
? → ---
https://hg.mozilla.org/mozilla-central/rev/ac92a6d8297c
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 10•13 years ago
|
||
Thanks for the quick turn around guys!
Comment 11•13 years ago
|
||
Mark, do you have an example extension which was broken?
Reporter | ||
Comment 12•13 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #11) > Mark, do you have an example extension which was broken? Bigger Text, by Matt Brubeck is one I tested. There are a few others too. Basically any add-on for Fennec that supplied it's own options is likely to fail.
Reporter | ||
Comment 13•13 years ago
|
||
Comment on attachment 562655 [details] [diff] [review] patch This patch was landed on Fx9 before Aurora, so it's already on Aurora now. We do need it on Beta though. Safe, easy patch - with tests!
Attachment #562655 -
Flags: approval-mozilla-beta?
Attachment #562655 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 15•13 years ago
|
||
QA should track this fix across branches. Ioana, can one of you please verify this fix on the target branches, once it has been landed? Thanks.
Whiteboard: [qa+]
Updated•13 years ago
|
Keywords: addon-compat
Comment 16•13 years ago
|
||
Add-ons are working fine, including Bigger Text add-on. Verified fixed on Aurora 9 and Firefox 8 Beta 3: Mozilla /5.0 (Android;Linux armv7l;rv:9.0a2) Gecko/20111012 Firefox/9.0a2 Fennec/9.0a2 and Mozilla /5.0 (Android;Linux armv7l;rv:8.0) Gecko/20111011 Firefox/8.0 Fennec/8.0
Status: RESOLVED → VERIFIED
Comment 17•13 years ago
|
||
Geoff, I assume there is no manual test necessary? Please update the flag accordingly.
You need to log in
before you can comment on or make changes to this bug.
Description
•