Strings terminated by a newline instead of a closing quote should be handled as errors, not strings. b=286262 r+sr=bzbarsky

This commit is contained in:
dbaron%dbaron.org 2005-03-15 18:58:36 +00:00
Родитель dc22d7c581
Коммит 6bd0ca6473
1 изменённых файлов: 1 добавлений и 1 удалений

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

@ -1078,7 +1078,7 @@ PRBool nsCSSScanner::GatherString(nsresult& aErrorCode, PRInt32 aStop,
{
for (;;) {
if (EatNewline(aErrorCode)) {
break;
return PR_FALSE;
}
PRInt32 ch = Read(aErrorCode);
if (ch < 0) {