Bug 249994

Summary: [css-nesting] Fix assert when parsing invalid CSS selector
Product: WebKit Reporter: Matthieu Dubet <m_dubet>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Matthieu Dubet
Reported 2023-01-02 01:42:35 PST
Debug builds are reporting an assertion failure after this change. https://results.webkit.org/?suite=layout-tests&test=fast%2Fcss%2Ffont_property_normal.html Buildbot: builder Apple-Ventura-Debug-AppleSilicon-WK2-Tests build 569 https://build.webkit.org/#/builders/704/builds/569 fast/css/font_property_normal.html [ Crash ] fast/css/parsing-invalid-block-recovery.html [ Crash ] ASSERTION FAILED: scopeCombinator != CSSSelector::Subselector css/parser/CSSSelectorParser.cpp(329) : std::unique_ptr<CSSParserSelector> WebCore::CSSSelectorParser::consumeRelativeNestedSelector(WebCore::CSSParserTokenRange &)
Attachments
Matthieu Dubet
Comment 1 2023-01-02 01:43:28 PST
Radar WebKit Bug Importer
Comment 2 2023-01-02 01:44:31 PST
Matthieu Dubet
Comment 3 2023-01-02 01:46:20 PST
EWS
Comment 4 2023-01-03 10:41:10 PST
Committed 258392@main (d741aacc0a0d): <https://commits.webkit.org/258392@main> Reviewed commits have been landed. Closing PR #8124 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.