Bug 327806 - Set unknownUID to the browser chrome URL if we're using that kind of detection.

ChatZilla only.
r=silver
p=rdmsoft@bugs.rdmsoft.com (Robert Marshall)
This commit is contained in:
silver%warwickcompsoc.co.uk 2006-02-21 18:31:17 +00:00
parent 6f0869c658
commit 12cb3644ab

View File

@ -436,11 +436,18 @@ function initApplicationCompatibility()
{
var url = getBrowserURL();
if (url == "chrome://navigator/content/navigator.xul")
{
client.host = "Mozilla";
}
else if (url == "chrome://browser/content/browser.xul")
{
client.host = "Firefox";
}
else
{
client.host = ""; // We don't know this host. Show an error later.
client.unknownUID = url;
}
}
client.platform = "Unknown";