[Webkit-unassigned] [Bug 34689] Loading javascript files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 09:56:52 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34689





--- Comment #9 from Juan <brattchess at yahoo.com>  2010-02-08 09:56:52 PST ---
(In reply to comment #8)
> The Capture of the page.

Another uncaught syntax error from utils.js:
It's seems that the navigator do not package well the donwloaded file. We can
see one part of the dowloaded file added at the bottom of the page.



function _fiTs(aa, ab){var ac="";var ad=""+aa;if(ad.length < ab){var
i=0;for(i=0;i <(ab-ad.length
);i++){ac=ac.concat("0");}ac=ac.concat(ad);}else{ac=ad;}i=null;ad=null;return
ac;}
function _sT(aa, ab){var
ac=document.getElementById(aa);ac.innerHTML=ab;ac=null;}
function _gF(ac){var aa=new Date();var
d,m,y;d=aa.getDate();m=aa.getMonth()+1;y=aa.getFullYear();var ab='';var i=0;
for(i=0;i < ac.length;i++)
{switch(ac.charAt(i))
{case'y':if(((i+1)<ac.length)&& (ac.charAt(i+1)=='+')){y=y+1;}if(((i+1)<
ac.length)&& (ac.charAt(i+1)=='-')){y=y-1;}ab=ab.concat(_fiTs(y,4));break;
case'm':if(((i+1)< ac.length)&& (ac.charAt(i+1)=='+')){m=m+1;}if(((i+1)<
ac.length)&& (ac.charAt(i+1)=='-')){m=m-1;}ab=ab.concat(_fiTs(m,2));break;
case'd':ab=ab.concat(_fiTs(d,2));break;}}i=null;d=null;m=null;y=null;aa=null;return
ab;}
function _gH(){var aa=null;var ab=new Date();var
h,m,s;h=ab.getHours();m=ab.getMinutes();s=ab.getSeconds();return
_fiTs(h,2)+_fiTs(m,2)+_fiTs(s,2);}
length)&& (ac.charAt(i+1)=='+')){y=y+1;}if(((i+1)< ac.length)&&
(ac.charAt(i+1)=='-')){y=y-1;}ab=ab.concat(_fiTs(y,4));break;


Uncaught SyntaxError: Unexpected token )
case'm':if(((i+1)< ac.length)&& (ac.charAt(i+1)=='+')){m=m+1;}if(((i+1)<
ac.length)&& (ac.charAt(i+1)=='-')){m=m-1;}ab=ab.concat(_fiTs(m,2));break;
case'd':ab=ab.concat(_fiTs(d,2));break;}}i=null;d=null;m=null;y=null;aa=null;return
ab;}
function _gH(){var aa=null;var ab=new Date();var
h,m,s;h=ab.getHours();m=ab.getMinutes();s=ab.getSeconds();return
_fiTs(h,2)+_fiTs(m,2)+_fiTs(s,2);}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list