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)

defect
Not set
normal

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.
Assignee: mstriemer → nobody
Iteration: --- → 44.3 - Nov 2
Whiteboard: [fx42] → [port-to-js-validator]
Assignee: nobody → cgrebs
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)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
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 ago10 years ago
Resolution: --- → FIXED
verified fixed on dev.
Status: RESOLVED → VERIFIED
Whiteboard: [port-to-js-validator] → [port-to-js-validator][fx42]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.