[Webkit-unassigned] [Bug 247212] New: imported/w3c/web-platform-tests/css/css-properties-values-api/unit-cycles.html hits an assertion in debug

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 28 14:09:48 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=247212

            Bug ID: 247212
           Summary: imported/w3c/web-platform-tests/css/css-properties-val
                    ues-api/unit-cycles.html hits an assertion in debug
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cdumez at apple.com
                CC: koivisto at iki.fi, mmaxfield at apple.com

imported/w3c/web-platform-tests/css/css-properties-values-api/unit-cycles.html hits an assertion in debug since StylePropertyMap::set() was implemented in Bug 247199 and the test actually started running:

ASSERT(!m_state.fontDirty());

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   JavaScriptCore                             0x1356eca08 WTFCrash + 24
1   WebCore                                    0x2805c68c4 WTFCrashWithInfo(int, char const*, char const*, int) + 36 (Assertions.h:754)
2   WebCore                                    0x2854d88e8 WebCore::Style::Builder::applyNonHighPriorityProperties() + 264 (StyleBuilder.cpp:115)
3   WebCore                                    0x28551befc WebCore::Style::Resolver::applyMatchedProperties(WebCore::Style::Resolver::State&, WebCore::Style::MatchResult const&) + 864 (StyleResolver.cpp:638)
4   WebCore                                    0x28551add4 WebCore::Style::Resolver::styleForElement(WebCore::Element const&, WebCore::Style::ResolutionContext const&, WebCore::RuleMatchingBehavior) + 716 (StyleResolver.cpp:266)
5   WebCore                                    0x285553c30 WebCore::Style::TreeResolver::styleForStyleable(WebCore::Styleable const&, WebCore::Style::TreeResolver::ResolutionType, WebCore::Style::ResolutionContext const&) + 812 (StyleTreeResolver.cpp:153)
6   WebCore                                    0x285554044 WebCore::Style::TreeResolver::resolveElement(WebCore::Element&, WebCore::Style::TreeResolver::ResolutionType) + 276 (StyleTreeResolver.cpp:226)
7   WebCore                                    0x285557df0 WebCore::Style::TreeResolver::resolveComposedTree() + 1452 (StyleTreeResolver.cpp:832)
8   WebCore                                    0x2855590e0 WebCore::Style::TreeResolver::resolve() + 372 (StyleTreeResolver.cpp:932)
9   WebCore                                    0x2836f0bb0 WebCore::Document::resolveStyle(WebCore::Document::ResolveStyleType) + 988 (Document.cpp:2114)
10  WebCore                                    0x2836f1aa4 WebCore::Document::updateStyleIfNeeded() + 520 (Document.cpp:2250)
11  WebCore                                    0x283326a54 WebCore::ComputedStyleExtractor::updateStyleIfNeededForProperty(WebCore::Element&, WebCore::CSSPropertyID) + 136 (ComputedStyleExtractor.cpp:2553)
12  WebCore                                    0x28332666c WebCore::ComputedStyleExtractor::propertyValue(WebCore::CSSPropertyID, WebCore::ComputedStyleExtractor::UpdateLayout, WebCore::ComputedStyleExtractor::PropertyValueType) + 216 (ComputedStyleExtractor.cpp:2803)
13  WebCore                                    0x28320ffbc WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue(WebCore::CSSPropertyID, WebCore::ComputedStyleExtractor::UpdateLayout) const + 108 (CSSComputedStyleDeclaration.cpp:99)
14  WebCore                                    0x2832100dc WebCore::CSSComputedStyleDeclaration::getPropertyValue(WebCore::CSSPropertyID) const + 56 (CSSComputedStyleDeclaration.cpp:119)
15  WebCore                                    0x283210a1c WebCore::CSSComputedStyleDeclaration::getPropertyValue(WTF::String const&) + 248 (CSSComputedStyleDeclaration.cpp:191)
16  WebCore                                    0x280803da0 WebCore::jsCSSStyleDeclarationPrototypeFunction_getPropertyValueBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSCSSStyleDeclaration*) + 592 (JSCSSStyleDeclaration.cpp:2406)
17  WebCore                                    0x280803b28 long long WebCore::IDLOperation<WebCore::JSCSSStyleDeclaration>::call<&(WebCore::jsCSSStyleDeclarationPrototypeFunction_getPropertyValueBody(JSC::JSGlobalObject*, JSC::CallFrame*, WebCore::JSCSSStyleDeclaration*)), (WebCore::CastedThisErrorBehavior)0>(JSC::JSGlobalObject&, JSC::CallFrame&, char const*) + 576 (JSDOMOperation.h:63)
18  WebCore                                    0x2808031a4 WebCore::jsCSSStyleDeclarationPrototypeFunction_getPropertyValue(JSC::JSGlobalObject*, JSC::CallFrame*) + 44 (JSCSSStyleDeclaration.cpp:2411)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221028/44b4b410/attachment.htm>


More information about the webkit-unassigned mailing list