Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(602)

Unified Diff: Source/core/css/MediaQuerySetTest.cpp

Issue 308733005: Fix assert on unknown rule type in the BisonCSSParser::endRuleHeader. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/MediaQuerySetTest.cpp
diff --git a/Source/core/css/MediaQuerySetTest.cpp b/Source/core/css/MediaQuerySetTest.cpp
index 834625e3ece81d36f0b7c96412861d1a7494289a..61616cd50a31001dba4ea24098dc860e1ee73adf 100644
--- a/Source/core/css/MediaQuerySetTest.cpp
+++ b/Source/core/css/MediaQuerySetTest.cpp
@@ -157,6 +157,8 @@ TEST(MediaQuerySetTest, Basic)
{"'\"\"\"', (max-width: 900px)", "not all, (max-width: 900px)", true},
{"\"'\"', (max-width: 900px)", "not all", true},
{"\"'''\", (max-width: 900px)", "not all, (max-width: 900px)", true},
+ {"s}", "not all", true},
+ {"s}, (color)", "not all, (color)", true},
{0, 0} // Do not remove the terminator line.
};
« no previous file with comments | « no previous file | Source/core/css/parser/BisonCSSParser-in.cpp » ('j') | Source/core/css/parser/BisonCSSParser-in.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698