Back out ded200210541 (bug 693808) since it caused bug 809745

This commit is contained in:
Gavin Sharp 2012-11-16 13:00:02 -06:00
parent 72a49fe0dc
commit deaa3cbc7b

View File

@ -817,10 +817,7 @@ nsresult nsDefaultURIFixup::KeywordURIFixup(const nsACString & aURIString,
if (((spaceLoc < dotLoc || quoteLoc < dotLoc) &&
(spaceLoc < colonLoc || quoteLoc < colonLoc) &&
(spaceLoc < qMarkLoc || quoteLoc < qMarkLoc)) ||
qMarkLoc == 0 ||
(dotLoc == uint32_t(kNotFound) &&
colonLoc == uint32_t(kNotFound) &&
qMarkLoc == uint32_t(kNotFound) ) )
qMarkLoc == 0)
{
KeywordToURI(aURIString, aURI);
}