mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 10:44:56 +00:00
Backed out changeset ecd714c21c5b (bug 1346419)
This commit is contained in:
parent
153e8c9aba
commit
44d8602f66
@ -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\"");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user