Closed
Bug 691567
Opened 14 years ago
Closed 14 years ago
Show compatibility warning if an add-on uses taintEnabled
Categories
(addons.mozilla.org Graveyard :: Compatibility Tools, defect, P2)
addons.mozilla.org Graveyard
Compatibility Tools
Tracking
(Not tracked)
RESOLVED
FIXED
6.2.7
People
(Reporter: jorgev, Assigned: ashort)
Details
(Whiteboard: [fx9])
As explained in bug 679971, navigator.taintEnabled has been removed. We need to check for all calls of the taintEnabled function and show a compatibility warning.
This is a compatibility warning, so the add-on should still be upgraded in this case.
Message:
The taintEnabled function is no longer available in Firefox 9. Since this function was only used for browser detection and this doesn't belong in extension code, you should remove it if possible. For more information, please see <LINK>.
Link: https://bugzilla.mozilla.org/show_bug.cgi?id=679971
Affected add-on:
https://addons.mozilla.org/en-US/firefox/addon/local-load/
| Assignee | ||
Comment 1•14 years ago
|
||
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 2•14 years ago
|
||
I don't see any warnings while validating for navigator.taintEnabled
See https://addons-dev.allizom.org/en-US/developers/upload/7264a673146f45978320fdf44e9f79d9
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 3•14 years ago
|
||
Krupa / Jorge : this addon, local_load does not use navigator.taintEnabled but it includes mootools.js which does. I believe that the validator has code to ignore known third party libraries. Can you find (or create) and addon that uses navigator.taintEnabled directly?
| Assignee | ||
Comment 4•14 years ago
|
||
A bit of debugging reveals that the validator does in fact skip the mootools files that mention taintEnabled.
Comment 5•14 years ago
|
||
I used FireClip and it seems to work. See https://addons-dev.allizom.org/en-US/developers/upload/03edcd550aec4abf933dda77e6f22e0b
Moving this back to Resolved.
Status: REOPENED → RESOLVED
Closed: 14 years ago → 14 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 6•14 years ago
|
||
Hrm. While I don't care too much about this warning, it should mostly occur within library code. I think we'll need to figure out a way to make an exception to the library code rule when doing compat checks.
| Reporter | ||
Comment 7•14 years ago
|
||
For the future, that is. I'll file a bug.
Updated•10 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•