Closed Bug 808795 Opened 12 years ago Closed 12 years ago

Show compatibility error if an add-on uses checkLoadURI or checkLoadURIStr

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2012-11-15

People

(Reporter: jorgev, Assigned: basta)

Details

(Whiteboard: [fx17])

As explained in bug 327244, checkLoadURI and checkLoadURIStr have been removed from the nsIScriptSecurityManager interface. We need to flag all instances of these function calls and show an error.

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

Message:

The checkLoadURI and checkLoadURIStr functions have been removed. You should use checkLoadURIWithPrincipal instead. See <LINK> for more information.

Link: https://bugzilla.mozilla.org/show_bug.cgi?id=327244

Affected add-on:

https://addons.mozilla.org/firefox/addon/fox-splitter/
Bumped to 11-15 milestone for time and krupa.
Target Milestone: 2012-11-08 → 2012-11-15
Merged:

https://github.com/mozilla/amo-validator/commit/a03e0bb7f936b252dfd7caa9fbb6f7bcdd3e4682
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.