Bug 1057674 - Unget the token when parsing the filter property expects a function but doesn't find one. r=dbaron

This commit is contained in:
Max Vujovic 2014-08-25 13:25:08 -07:00
parent dfc4c053b1
commit 0318c98055

View File

@ -13781,6 +13781,7 @@ CSSParserImpl::ParseSingleFilter(nsCSSValue* aValue)
if (mToken.mType != eCSSToken_Function) {
REPORT_UNEXPECTED_TOKEN(PEExpectedNoneOrURLOrFilterFunction);
UngetToken();
return false;
}