If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

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

VERIFIED FIXED in 2012-11-15

Status

addons.mozilla.org Graveyard
Compatibility Tools
VERIFIED FIXED
5 years ago
2 years ago

People

(Reporter: jorgev, Assigned: basta)

Tracking

unspecified
2012-11-15

Details

(Whiteboard: [fx17])

(Reporter)

Description

5 years ago
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/
(Assignee)

Comment 1

5 years ago
Bumped to 11-15 milestone for time and krupa.
Target Milestone: 2012-11-08 → 2012-11-15
(Assignee)

Comment 2

5 years ago
Merged:

https://github.com/mozilla/amo-validator/commit/a03e0bb7f936b252dfd7caa9fbb6f7bcdd3e4682
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED

Comment 3

5 years ago
verified fixed at https://addons-dev.allizom.org/en-US/developers/upload/87f2ca7d26124d6296ba927fb44755d3
Status: RESOLVED → VERIFIED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.