Show compatibility error if an add-on uses markPageAsTyped or markPageAsFollowedLink

VERIFIED FIXED in 2013-06-13

Status

VERIFIED FIXED
5 years ago
3 years ago

People

(Reporter: jorgev, Assigned: basta)

Tracking

unspecified
2013-06-13

Details

(Whiteboard: [fx22])

(Reporter)

Description

5 years ago
As explained in bug 839034, the functions markPageAsTyped and markPageAsFollowedLink were moved from nsIBrowserHistory to nsINavHistoryService. We need to flag all instances of these two functions being used and show an error.

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

Message:

markPageAsTyped and markPageAsFollowedLink were moved from nsIBrowserHistory to nsINavHistoryService. See <LINK> for more information.

Link: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsINavHistoryService

Affected add-on:

https://addons.mozilla.org/firefox/addon/shopping-helper/
(Assignee)

Comment 1

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

Comment 2

5 years ago
verified fixed at https://addons-dev.allizom.org/en-US/developers/upload/2a583657e4904446b9155dd370a0804e
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.