mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-14 05:44:20 +00:00
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:
parent
6f0869c658
commit
12cb3644ab
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user