test for webkitRequestAnimationFrame failing
<p>I have coded the following experimental test
I know there is a greatly condensed version of this but I wanted
to actually see what version the client is actually using.</p>

<pre><code>var src = ''
var strSrc = ''; 
var alt = function()
{
  if(window.requestAnimationFrame)
    {
     src = window.requestAnimationFrame;
     strSrc = 'requestAnimationFrame';
     return src;
    }
  if(window.webkitRequestAnimationFrame)
    {
     src = window.webkitRequestAnimationFrame;
     strSrc = 'webkitRequestAnimationFrame';
     return src;
    }
  if(window.mozRequestAnimationFrame)
    {
     src = window.mozRequestAnimationFrame;
     strSrc = 'mozRequestAnimationFrame';
     return src;
    }
  if(window.oRequestAnimationFrame)
    {
     src = window.oRequestAnimationFrame;
     strSrc = 'oRequestAnimationFrame';
     return src;
    }
  if(window.msRequestAnimationFrame)
    {
     src = window.msRequestAnimationFrame;
     strSrc = 'msRequestAnimationFrame';
     return src;
    }
  else
    {
     strSrc = 'setTimeout';
     return function(callBack)
        {
         window.setTimeout(callBack, 1000/60);
        }
    }
 }

window.requestAnimFrame = alt()
if(window.requestAnimFrame)
 {
  alert(strSrc)
 }
</code></pre>

<p>In Safari I get the alert string 'setTimeout' instead of 'webkitRequestAnimationFrame'.
I am using two different versions of Safari on Mac OSX. I don't see any misspellings here.
Has Safari discontinued this function? Or, am I doing something wrong?
Thanks for time and attention.</p>
