Not a huge deal, but we can see where this is going. requestAnimationFrame and cancelAnimationFrame are very useful for – drum roll – JavaScript animation.
WebKit on iOS now supports the requestAnimationFrame and cancelAnimationFrame methods in JavaScript, as described here http://www.w3.org/TR/animation-timing/.
Note that because the specification is still at the Working Draft state, these methods have the webkit prefix, so they are window.webkitRequestAnimationFrame, window.webkitCancelAnimationFrame.
Looks like browser-based video games do have a future!
via iOS 6 beta download link: Apple’s iOS 6 now available to developers.