Closed Bug 909197 Opened 11 years ago Closed 9 years ago

Move all uses of mozRequestAnimationFrame to the unprefixed version

Categories

(Firefox OS Graveyard :: Gaia, defect)

All
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fabrice, Unassigned)

References

Details

The prefixed version will go away in bug 909154.

It's currently used in:
email/shared/js/media/media_frame.js:162:      mozRequestAnimationFrame(function() {
gallery/js/frame_scripts.js:1543:      mozRequestAnimationFrame(function() {
homescreen/test/unit/grid_test.js:3:mocha.globals(['mozRequestAnimationFrame']);
homescreen/test/unit/grid_test.js:148:        realRequestAnimationFrame = window.mozRequestAnimationFrame;
homescreen/test/unit/grid_test.js:149:        window.mozRequestAnimationFrame = function(func) {
homescreen/test/unit/grid_test.js:162:        window.mozRequestAnimationFrame = realRequestAnimationFrame;
homescreen/js/dragdrop.js:267:    window.mozRequestAnimationFrame(move);
homescreen/js/page.js:791:    window.mozRequestAnimationFrame(function() {
homescreen/js/grid.js:286:        window.mozRequestAnimationFrame(refresh);
homescreen/js/grid.js:300:            window.mozRequestAnimationFrame(refresh);
homescreen/js/grid.js:336:            window.mozRequestAnimationFrame(function() {
homescreen/js/grid.js:352:          window.mozRequestAnimationFrame(function panTouchEnd() {
keyboard/js/imes/jspinyin/libpinyin.js:3293:                                         window['mozRequestAnimationFrame'] ||
pdfjs/content/web/viewer.js:4084:                              window.mozRequestAnimationFrame ||
Blocks: 909154
The "keyboard/js/imes/jspinyin/libpinyin.js" is using unprefixed version now.
(the prefixed version used in this file is just for fallback)
As far as I can tell, there are no more gaia uses of prefixed mozRequestAnimationFrame that don't prefer to use the unprefixed version.  Is this just fixed?
Flags: needinfo?(fabrice)
You're right!
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(fabrice)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.