Closed
Bug 1214921
Opened 10 years ago
Closed 10 years ago
Show compatibility error if an add-on uses mozRequestAnimationFrame
Categories
(addons.mozilla.org Graveyard :: Compatibility Tools, defect)
addons.mozilla.org Graveyard
Compatibility Tools
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: jorgev, Assigned: cgrebs)
Details
(Whiteboard: [port-to-js-validator][fx42])
As explained in bug 909154, mozRequestAnimationFrame was unprefixed to requestAnimationFrame. We need to show a compatibility error for every instance found of mozRequestAnimationFrame.
Note that many SDK add-ons (like https://addons.mozilla.org/addon/google-documents-viewer/) have a comment line that refer to mozRequestAnimationFrame, so please make sure those aren't flagged.
This is a compatibility error, so the add-on shouldn't be upgraded in this case. It should also appear as a warning in regular validations.
Message:
mozRequestAnimationFrame is no longer supported in prefixed form, please use requestAnimationFrame instead. See <LINK> for more information.
Link: https://developer.mozilla.org/en-US/docs/Web/API/window/requestAnimationFrame
Affected add-on:
https://addons.mozilla.org/addon/smoothwheel/
Release timing:
Firefox 42 will be released on November 3rd.
Updated•10 years ago
|
Assignee: mstriemer → nobody
Updated•10 years ago
|
Iteration: --- → 44.3 - Nov 2
Whiteboard: [fx42] → [port-to-js-validator]
Updated•10 years ago
|
Assignee: nobody → cgrebs
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/amo-validator
https://github.com/mozilla/amo-validator/commit/d44118d8e34ea5e7fb0efffa2e1dc0ff11c36cef
Show compatibility error if an add-on uses mozRequestAnimationFrame (pair with cgrebs) (bug 1214921)
| Assignee | ||
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 3•10 years ago
|
||
compat failure is seen as expected at https://addons.allizom.org/en-US/developers/upload/c9e250c1a5b0411e8b08c64bfe333ba0
However checking for https://addons.mozilla.org/addon/google-documents-viewer/ results in an unexpcted error https://addons.allizom.org/en-US/developers/upload/7b92266cbb3841ef9d06eb8d84baf57a
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 4•10 years ago
|
||
The "unexpected error" should be fixed in https://github.com/mozilla/amo-validator/pull/337 (on -dev at least, not sure it's on stage yet).
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
| Reporter | ||
Updated•10 years ago
|
Whiteboard: [port-to-js-validator] → [port-to-js-validator][fx42]
Updated•9 years ago
|
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•