Closed Bug 752747 Opened 12 years ago Closed 12 years ago

Show compatibility warning if an add-on uses nsIPrefBranch2

Categories

(addons.mozilla.org Graveyard :: Compatibility Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2012-05-17

People

(Reporter: jorgev, Assigned: basta)

References

Details

(Whiteboard: [fx13])

Attachments

(1 file)

As explained in bug 718255, nsIPrefBranch2 has been merged into nsIPrefBranch. nsIPrefBranch2 will continue to work as a proxy, so no breakage should occur. We need to flag all instances of this interface calls and show a warning.

This is a compatibility warning, so the add-on should still be upgraded in this case.

Message:

The nsIPrefBranch2 interface has been merged into the nsIPrefBranch interface in Firefox 13. Once you drop support for older versions of Firefox, you should stop using nsIPrefBranch2. You can use the == operator as an alternative. See <LINK> for more information.

Link: https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIPrefBranch2

Affected add-on:

https://addons.mozilla.org/en-US/firefox/addon/download-statusbar/ (and most others).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Attached image post-fix screenshot
Blocks: 827444
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: