Closed Bug 824988 Opened 12 years ago Closed 12 years ago

Show compatibility error if an add-on uses openCacheEntry

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
2013-01-03

People

(Reporter: jorgev, Assigned: basta)

Details

(Whiteboard: [fx18])

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/
Merged:

https://github.com/mozilla/amo-validator/commit/c068bfd5b0ef2e49243c3d16d860de1e4741e787
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.