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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 8 09:20:42 PST 2010


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





--- Comment #4 from Juan <brattchess at yahoo.com>  2010-02-08 09:20:42 PST ---
(In reply to comment #3)
> I don't see any syntax errors in Safari console (although there are other
> JavaScript errors reported).
> 
> What exactly is the bug here? I take it that to reproduce it, one needs to open
> http://www.lulabytes.com. What are the actual and expected results?

For example there is another uncaught syntax error:

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);}



The problem is that the page doesn't load correctly, you can not see the menu,
and the text...
As there are some errors in Javascript, the loading data stops.
I can not see this problem in Firefox or IExplorer.

-- 
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