WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
247948
AX: Optimize shouldIgnoreGroup to avoid calling AccessibilityObject::textUnderElement unnecessarily.
https://bugs.webkit.org/show_bug.cgi?id=247948
Summary
AX: Optimize shouldIgnoreGroup to avoid calling AccessibilityObject::textUnde...
Andres Gonzalez
Reported
2022-11-15 09:13:09 PST
This function can be optimized.
Attachments
Patch
(2.94 KB, patch)
2022-11-15 09:18 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Patch
(2.94 KB, patch)
2022-11-15 11:18 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-11-15 09:13:21 PST
<
rdar://problem/102370543
>
Andres Gonzalez
Comment 2
2022-11-15 09:18:10 PST
Created
attachment 463533
[details]
Patch
chris fleizach
Comment 3
2022-11-15 10:08:15 PST
Comment on
attachment 463533
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=463533&action=review
> Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm:132 > + if (!first || first != axObject.lastChild() || first->roleValue() != AccessibilityRole::StaticText)
is checking roleValue() faster than getting lastChild?
Andres Gonzalez
Comment 4
2022-11-15 11:18:10 PST
Created
attachment 463537
[details]
Patch
Andres Gonzalez
Comment 5
2022-11-15 11:19:51 PST
(In reply to chris fleizach from
comment #3
)
> Comment on
attachment 463533
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=463533&action=review
> > > Source/WebCore/accessibility/mac/AccessibilityObjectMac.mm:132 > > + if (!first || first != axObject.lastChild() || first->roleValue() != AccessibilityRole::StaticText) > > is checking roleValue() faster than getting lastChild?
Yes, fixed.
EWS
Comment 6
2022-11-16 05:30:36 PST
Committed
256730@main
(8f48b85eab58): <
https://commits.webkit.org/256730@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 463537
[details]
.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug