[Webkit-unassigned] [Bug 6907] REGRESSION: United.com JS menu's content spilling into page as of 1/29/06
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sun Jan 29 17:07:16 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=6907
------- Comment #6 from ddkilzer at kilzer.net 2006-01-29 17:07 -------
TypeError: Undefined value
http://a56.g.akamai.net/7/56/7207/149f8fe8f9724b/www.united.com/ual/asset/udm-control.js
Line: 11
The first error is part of a JS check for Mac IE.
um.u=navigator.userAgent.toLowerCase();
// ...
um.wie=(um.d&&typeof um.m.all!=um.un&&typeof window.opera==um.un&&!um.k);
um.mie=(um.wie&&um.u.indexOf('mac')>0);
um.mx=(um.u.indexOf('tasman 0.9')>0);
if(um.mx){um.mie=1;}
um.omie=0;
if(um.mie){
um.wie=0;
um.iev=um.u;
um.iev=um.iev.split('msie ');
um.iev[1]=um.iev[1].split(';'); // um.iev[1] is undefined here
um.iev=parseFloat(um.iev[1][0],10);
um.omie=(um.iev<5.2);
}
// um.iev -- IE version number
// um.mie -- isMacIE?
// um.omie -- isOldMacIE? (before 5.2)
// um.wie -- isWinIE?
The only way I see to fix this error (other than evangelism) is to add an "MSIE
X.Y" compatibility string to Safari's user agent, perhaps like this:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/420+ (KHTML, like
Gecko; MSIE 6.0) Safari/417.8
--
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list