Bug 196634

Summary: Element::isFocusable() debug asserts too frequently
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: New BugsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, cmarcelo, commit-queue, conrad_shultz, dbates, esprehn+autocc, ews-watchlist, ggaren, kangil.han, koivisto, simon.fraser
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Disables the assertion
none
Updated the comment none

Description Ryosuke Niwa 2019-04-04 16:46:27 PDT
Element::isFocusable() debug asserts too frequently
Comment 1 Ryosuke Niwa 2019-04-04 16:47:12 PDT
Created attachment 366770 [details]
Disables the assertion
Comment 2 Geoffrey Garen 2019-04-04 16:52:10 PDT
Comment on attachment 366770 [details]
Disables the assertion

View in context: https://bugs.webkit.org/attachment.cgi?id=366770&action=review

Can you cite a bug report with steps to reproduce in this FIXME?

If we just keep an abstract FIXME, we're preventing future developers from adding that assertion back.

> Source/WebCore/dom/Element.cpp:556
> +        // FIXME: We should be ablet to assert !needsStyleRecalc() || !document().childNeedsStyleRecalc().

able
Comment 3 Ryosuke Niwa 2019-04-04 16:54:58 PDT
(In reply to Geoffrey Garen from comment #2)
> Comment on attachment 366770 [details]
> Disables the assertion
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=366770&action=review
> 
> Can you cite a bug report with steps to reproduce in this FIXME?

Apparently this happens on Gmail and Microsoft Exchange (website). I can add that to FIXME.
Comment 4 Conrad Shultz 2019-04-04 16:55:07 PDT
rdar://problem/45729622
Comment 5 Ryosuke Niwa 2019-04-04 16:56:23 PDT
Created attachment 366773 [details]
Updated the comment
Comment 6 Geoffrey Garen 2019-04-04 16:58:16 PDT
Comment on attachment 366773 [details]
Updated the comment

r=me
Comment 7 Ryosuke Niwa 2019-04-04 18:09:45 PDT
Comment on attachment 366773 [details]
Updated the comment

Clearing flags on attachment: 366773

Committed r243923: <https://trac.webkit.org/changeset/243923>
Comment 8 Ryosuke Niwa 2019-04-04 18:09:47 PDT
All reviewed patches have been landed.  Closing bug.