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
Родитель e1bd7c777d
Коммит 221c1813fa
1 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -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";