Bug 220543 - [iOS] ASSERT(match() == PseudoClass) in CSSSelector::pseudoClassType() is hit when navigating on apple.com
Summary: [iOS] ASSERT(match() == PseudoClass) in CSSSelector::pseudoClassType() is hit...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-01-12 07:57 PST by Antoine Quint
Modified: 2021-01-12 07:57 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>