mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 943217 - fix moz-document error message, r=dbaron
This commit is contained in:
parent
5ff058083d
commit
5ca31f1d25
@ -26,7 +26,7 @@ PEImportBadURI=Invalid URI in @import rule: '%1$S'.
|
||||
PEImportUnexpected=Found unexpected '%1$S' within @import.
|
||||
PEGroupRuleEOF2=end of @media, @supports or @-moz-document rule
|
||||
PEGroupRuleNestedAtRule=%1$S rule not allowed within @media or @-moz-document rule.
|
||||
PEMozDocRuleBadFunc=Expected url(), url-prefix(), or domain() in @-moz-document rule but found '%1$S'.
|
||||
PEMozDocRuleBadFunc2=Expected url(), url-prefix(), domain() or regexp() in @-moz-document rule but found '%1$S'.
|
||||
PEMozDocRuleNotURI=Expected URI in @-moz-document rule but found '%1$S'.
|
||||
PEMozDocRuleNotString=Expected string in @-moz-document rule regexp() function but found '%1$S'.
|
||||
PEMozDocRuleEOF=next URI in @-moz-document rule
|
||||
|
@ -2084,7 +2084,7 @@ CSSParserImpl::ParseMozDocumentRule(RuleAppendFunc aAppendFunc, void* aData)
|
||||
(mToken.mIdent.LowerCaseEqualsLiteral("url-prefix") ||
|
||||
mToken.mIdent.LowerCaseEqualsLiteral("domain") ||
|
||||
mToken.mIdent.LowerCaseEqualsLiteral("regexp"))))) {
|
||||
REPORT_UNEXPECTED_TOKEN(PEMozDocRuleBadFunc);
|
||||
REPORT_UNEXPECTED_TOKEN(PEMozDocRuleBadFunc2);
|
||||
UngetToken();
|
||||
delete urls;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user