| Summary: | Web Inspector: test webpage keeps reloading when Inspector is open | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Anne van Kesteren <annevk> | ||||||||||||||
| Component: | Accessibility | Assignee: | Tyler Wilcock <tyler_w> | ||||||||||||||
| Status: | RESOLVED FIXED | ||||||||||||||||
| Severity: | Normal | CC: | aboxhall, andresg_22, apinheiro, cfleizach, dmazzoni, ews-watchlist, inspector-bugzilla-changes, jcraig, jdiggs, pangle, samuel_white, tyler_w, webkit-bug-importer | ||||||||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||||||||
| Version: | Safari Technology Preview | ||||||||||||||||
| Hardware: | All | ||||||||||||||||
| OS: | All | ||||||||||||||||
| Attachments: |
|
||||||||||||||||
|
Description
Anne van Kesteren
2021-12-09 04:51:17 PST
Infinite recursion in accessibility code. Reproduces for me after switching to Elements pane. Created attachment 446945 [details]
Patch
Created attachment 446946 [details]
Patch
Created attachment 446947 [details]
Patch
Comment on attachment 446947 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=446947&action=review > LayoutTests/accessibility/mac/ignore-redundant-accessibility-text-groups.html:-15 > - <div id="title-group" role="group" title="Oranges"> Is this a case we can still Cover? It seems like one of the reasons we made that original patch (In reply to chris fleizach from comment #6) > Comment on attachment 446947 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=446947&action=review > > > LayoutTests/accessibility/mac/ignore-redundant-accessibility-text-groups.html:-15 > > - <div id="title-group" role="group" title="Oranges"> > > Is this a case we can still > Cover? It seems like one of the reasons we made that original patch Yeah, looks like we use the title attribute in AccessibilityNodeObject::helpText which doesn't call accessibilityIsIgnored directly or indirectly. So I can add that back in. Created attachment 447042 [details]
Patch
Comment on attachment 447042 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=447042&action=review > LayoutTests/ChangeLog:16 > + shouldIgnoreGroup returns `true` if the group has one static text probably not necessary to include the entire justification again. you already have this in WebCore Created attachment 447065 [details]
Patch
Created attachment 447069 [details]
Patch
Committed r287038 (245237@main): <https://commits.webkit.org/245237@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 447069 [details]. |