Title: [209676] trunk/Source/WebCore
- Revision
- 209676
- Author
- [email protected]
- Date
- 2016-12-10 15:36:59 -0800 (Sat, 10 Dec 2016)
Log Message
[CSS Parser] Make sure content extensions initialize AtomicString
https://bugs.webkit.org/show_bug.cgi?id=165737
Reviewed by Simon Fraser.
Fixes two broken tests in TestWebkitAPI.
* contentextensions/ContentExtensionParser.cpp:
(WebCore::ContentExtensions::isValidSelector):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (209675 => 209676)
--- trunk/Source/WebCore/ChangeLog 2016-12-10 22:29:24 UTC (rev 209675)
+++ trunk/Source/WebCore/ChangeLog 2016-12-10 23:36:59 UTC (rev 209676)
@@ -1,3 +1,15 @@
+2016-12-10 Dave Hyatt <[email protected]>
+
+ [CSS Parser] Make sure content extensions initialize AtomicString
+ https://bugs.webkit.org/show_bug.cgi?id=165737
+
+ Reviewed by Simon Fraser.
+
+ Fixes two broken tests in TestWebkitAPI.
+
+ * contentextensions/ContentExtensionParser.cpp:
+ (WebCore::ContentExtensions::isValidSelector):
+
2016-12-10 Simon Fraser <[email protected]>
Animation followed by transition doesn't always fire transitionend event
Modified: trunk/Source/WebCore/contentextensions/ContentExtensionParser.cpp (209675 => 209676)
--- trunk/Source/WebCore/contentextensions/ContentExtensionParser.cpp 2016-12-10 22:29:24 UTC (rev 209675)
+++ trunk/Source/WebCore/contentextensions/ContentExtensionParser.cpp 2016-12-10 23:36:59 UTC (rev 209676)
@@ -186,6 +186,7 @@
static bool isValidSelector(const String& selector)
{
+ AtomicString::init(); // Necessary to ensure starAtom is initialized.
CSSParserContext context(HTMLQuirksMode);
CSSParser parser(context);
CSSSelectorList selectorList;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes