Bug 220543

Summary: [iOS] ASSERT(match() == PseudoClass) in CSSSelector::pseudoClassType() is hit when navigating on apple.com
Product: WebKit Reporter: Antoine Quint <graouts>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Antoine Quint 2021-01-12 07:57:07 PST
Steps to reproduce:

1. Open the iOS Simulator
2. Open Safari and navigate to apple.com
3. Tap the shopping bag icon in the top right of the screen
4. Tap on Bag

At this point this assertion is hit with a debug build:

        PseudoClassType pseudoClassType() const
        {
            ASSERT(match() == PseudoClass);
            return static_cast<PseudoClassType>(m_pseudoType);
        }
Comment 1 Radar WebKit Bug Importer 2021-01-12 07:57:20 PST
<rdar://problem/73040905>