[Webkit-unassigned] [Bug 8110] Define navigator.vendorSub (bcms.gov.uk doesn't allow access to login page)
bugzilla-daemon at opendarwin.org
bugzilla-daemon at opendarwin.org
Sat Apr 1 01:09:35 PST 2006
http://bugzilla.opendarwin.org/show_bug.cgi?id=8110
ap at nypop.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at nypop.com
Severity|blocker |major
Status|UNCONFIRMED |NEW
Component|Website |HTML DOM
Ever Confirmed|0 |1
Priority|P1 |P2
Summary|Doesn't allow access to |Define navigator.vendorSub
|login page |(bcms.gov.uk doesn't allow
| |access to login page)
------- Comment #1 from ap at nypop.com 2006-04-01 01:09 PDT -------
This site detects Safari as a Netscape browser, and looks for the exact version
in navigator.vendorSub.substring(0,1). Safari doesn't define this property,
which causes all further initialization code to be skipped.
In Firefox 1.5, navigator.vendorSub and navigator.vendor are empty, so it is
also mis-detected, but without an exception being raised. See
<https://bugzilla.mozilla.org/show_bug.cgi?id=274928> and
<http://www.mozilla.org/build/revised-user-agent-strings.html> for more
information.
To temporarily work around the problem, you can enable Safari Debug menu and
set the user agent to Windows MSIE 6.0. Changing priority/severity to match the
rules described at <http://webkit.opendarwin.org/quality/bugpriorities.html>.
var j_appname = navigator.appName;
var j_appvers = navigator.appVersion;
var g_browser = "Other";
var isIE5plus =0;
if (j_appname == "Microsoft Internet Explorer") {g_browser = "ie"}
if (j_appname == "Netscape") {g_browser = "ns"}
if (g_browser == "ie") {
if(j_appvers.indexOf("MSIE 4") != -1) g_browser += '4';
if(j_appvers.indexOf("MSIE 5") != -1) g_browser += '5';
if(j_appvers.indexOf("MSIE 6") != -1) g_browser += '6';
if(j_appvers.indexOf("MSIE 7") != -1) g_browser += '7';
} else if (g_browser == "ns") {
if (navigator.vendor == "Firefox") {
g_browser = "ff";
}
g_browser += navigator.vendorSub.substring(0,1);
}
--
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