зеркало из https://github.com/mozilla/gecko-dev.git
r=jevering, a=jevering. 31447. We weren't accommodating the comma as a delimiter, now we are. call 720.841.4229 if there's a problem
This commit is contained in:
Родитель
00c5c7c2f0
Коммит
8bb7a9728f
|
@ -3806,7 +3806,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
|
|||
PRInt32 millis = -1;
|
||||
PRUnichar *uriAttrib = nsnull;
|
||||
|
||||
PRInt32 semiColon = result.FindChar(';');
|
||||
PRInt32 semiColon = result.FindCharInSet(";,");
|
||||
nsAutoString token;
|
||||
if (semiColon > -1)
|
||||
result.Left(token, semiColon);
|
||||
|
@ -3845,7 +3845,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
|
|||
// Increment to the next token.
|
||||
if (semiColon > -1) {
|
||||
semiColon++;
|
||||
PRInt32 semiColon2 = result.FindChar(';', PR_FALSE, semiColon);
|
||||
PRInt32 semiColon2 = result.FindCharInSet(";,", semiColon);
|
||||
if (semiColon2 == -1) semiColon2 = result.Length();
|
||||
result.Mid(token, semiColon, semiColon2 - semiColon);
|
||||
semiColon = semiColon2;
|
||||
|
|
|
@ -3806,7 +3806,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
|
|||
PRInt32 millis = -1;
|
||||
PRUnichar *uriAttrib = nsnull;
|
||||
|
||||
PRInt32 semiColon = result.FindChar(';');
|
||||
PRInt32 semiColon = result.FindCharInSet(";,");
|
||||
nsAutoString token;
|
||||
if (semiColon > -1)
|
||||
result.Left(token, semiColon);
|
||||
|
@ -3845,7 +3845,7 @@ HTMLContentSink::ProcessMETATag(const nsIParserNode& aNode)
|
|||
// Increment to the next token.
|
||||
if (semiColon > -1) {
|
||||
semiColon++;
|
||||
PRInt32 semiColon2 = result.FindChar(';', PR_FALSE, semiColon);
|
||||
PRInt32 semiColon2 = result.FindCharInSet(";,", semiColon);
|
||||
if (semiColon2 == -1) semiColon2 = result.Length();
|
||||
result.Mid(token, semiColon, semiColon2 - semiColon);
|
||||
semiColon = semiColon2;
|
||||
|
|
Загрузка…
Ссылка в новой задаче