Backed out changeset ecd714c21c5b (bug 1346419)

This commit is contained in:
Carsten "Tomcat" Book 2017-03-27 13:58:38 +02:00
parent 153e8c9aba
commit 44d8602f66

View File

@ -703,10 +703,6 @@ nsIndexedToHTML::OnIndexAvailable(nsIRequest *aRequest,
// Adjust the length in case unescaping shortened the string.
loc.Truncate(nsUnescapeCount(loc.BeginWriting()));
if (loc.IsEmpty()) {
return NS_ERROR_ILLEGAL_VALUE;
}
if (loc.First() == char16_t('.'))
pushBuffer.AppendLiteral(" class=\"hidden-object\"");