Title: [227147] trunk/Source/WebCore
- Revision
- 227147
- Author
- [email protected]
- Date
- 2018-01-18 09:50:00 -0800 (Thu, 18 Jan 2018)
Log Message
REGRESSION(r225650): The scores of MotionMark tests Multiply and Leaves dropped by 8%
https://bugs.webkit.org/show_bug.cgi?id=181460
<rdar://problem/36379776>
Reviewed by Ryosuke Niwa.
* css/parser/CSSParser.cpp:
(WebCore::CSSParserContext::CSSParserContext):
Don't do the expensive security origin test if the supplied sheet base URL is null. This
is true for rules coming from the same document.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (227146 => 227147)
--- trunk/Source/WebCore/ChangeLog 2018-01-18 17:49:44 UTC (rev 227146)
+++ trunk/Source/WebCore/ChangeLog 2018-01-18 17:50:00 UTC (rev 227147)
@@ -1,5 +1,19 @@
2018-01-18 Antti Koivisto <[email protected]>
+ REGRESSION(r225650): The scores of MotionMark tests Multiply and Leaves dropped by 8%
+ https://bugs.webkit.org/show_bug.cgi?id=181460
+ <rdar://problem/36379776>
+
+ Reviewed by Ryosuke Niwa.
+
+ * css/parser/CSSParser.cpp:
+ (WebCore::CSSParserContext::CSSParserContext):
+
+ Don't do the expensive security origin test if the supplied sheet base URL is null. This
+ is true for rules coming from the same document.
+
+2018-01-18 Antti Koivisto <[email protected]>
+
REGRESSION (r223604): Setting :before/after pseudo element on <noscript> asserts
https://bugs.webkit.org/show_bug.cgi?id=181795
<rdar://problem/36334524>
Modified: trunk/Source/WebCore/css/parser/CSSParser.cpp (227146 => 227147)
--- trunk/Source/WebCore/css/parser/CSSParser.cpp 2018-01-18 17:49:44 UTC (rev 227146)
+++ trunk/Source/WebCore/css/parser/CSSParser.cpp 2018-01-18 17:50:00 UTC (rev 227147)
@@ -78,8 +78,9 @@
, mode(document.inQuirksMode() ? HTMLQuirksMode : HTMLStandardMode)
, isHTMLDocument(document.isHTMLDocument())
, cssGridLayoutEnabled(document.isCSSGridLayoutEnabled())
- , hasDocumentSecurityOrigin(document.securityOrigin().canRequest(baseURL))
+ , hasDocumentSecurityOrigin(sheetBaseURL.isNull() || document.securityOrigin().canRequest(baseURL))
{
+
needsSiteSpecificQuirks = document.settings().needsSiteSpecificQuirks();
enforcesCSSMIMETypeInNoQuirksMode = document.settings().enforceCSSMIMETypeInNoQuirksMode();
useLegacyBackgroundSizeShorthandBehavior = document.settings().useLegacyBackgroundSizeShorthandBehavior();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes