Show compatibility error if an add-on uses openCacheEntry

VERIFIED FIXED in 2013-01-03

Status

addons.mozilla.org Graveyard
Compatibility Tools
VERIFIED FIXED
6 years ago
3 years ago

People

(Reporter: jorgev, Assigned: basta)

Tracking

unspecified
2013-01-03

Details

(Whiteboard: [fx18])

(Reporter)

Description

6 years ago
As explained in bug 695399, the openCacheEntry function no longer works when invoked from the main thread. 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 openCacheEntry function no longer works when invoked from the main thread. You should use asyncOpenCacheEntry instead. See <LINK> for more information.

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

Affected add-on:

https://addons.mozilla.org/firefox/addon/simple-adblock/
(Assignee)

Comment 1

6 years ago
Merged:

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

Comment 2

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