RESOLVED FIXED 219722
Rework of AXObjectCache::isIsolatedTreeEnabled.
https://bugs.webkit.org/show_bug.cgi?id=219722
Summary Rework of AXObjectCache::isIsolatedTreeEnabled.
Andres Gonzalez
Reported 2020-12-09 17:59:53 PST
Rework of AXObjectCache::isIsolatedTreeEnabled.
Attachments
Patch (11.00 KB, patch)
2020-12-09 18:23 PST, Andres Gonzalez
no flags
Patch (11.07 KB, patch)
2020-12-10 05:50 PST, Andres Gonzalez
ews-feeder: commit-queue-
Patch (11.36 KB, patch)
2020-12-10 06:23 PST, Andres Gonzalez
andresg_22: commit-queue+
Andres Gonzalez
Comment 1 2020-12-09 18:23:49 PST
chris fleizach
Comment 2 2020-12-09 22:57:57 PST
Comment on attachment 415818 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=415818&action=review > Source/WebCore/ChangeLog:19 > + - Renamed canUseSecondaryAXThread to UsedOnAXThread, which is aa more aa -> a > Source/WebCore/accessibility/AXObjectCache.cpp:748 > + if (!isMainThread()) I feel like to be completely safe this should be if (!isMainThread() && _AXUIElementRequestServicedBySecondaryAXThread() in the deviant case where the AX request is being handled on some other background thread unexpectedly (or maybe do an ASSERT(_AXUIElementRequestServicedBySecondaryAXThread()) in the !isMainThread case
Andres Gonzalez
Comment 3 2020-12-10 05:50:39 PST
Andres Gonzalez
Comment 4 2020-12-10 05:57:07 PST
(In reply to chris fleizach from comment #2) > Comment on attachment 415818 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=415818&action=review > > > Source/WebCore/ChangeLog:19 > > + - Renamed canUseSecondaryAXThread to UsedOnAXThread, which is aa more > > aa -> a Fixed. > > > Source/WebCore/accessibility/AXObjectCache.cpp:748 > > + if (!isMainThread()) > > I feel like to be completely safe this should be > > if (!isMainThread() && _AXUIElementRequestServicedBySecondaryAXThread() > > in the deviant case where the AX request is being handled on some other > background thread unexpectedly > > (or maybe do an ASSERT(_AXUIElementRequestServicedBySecondaryAXThread()) in > the !isMainThread case Added the ASSERT.
Andres Gonzalez
Comment 5 2020-12-10 06:23:52 PST
EWS
Comment 6 2020-12-10 12:53:56 PST
Committed r270647: <https://trac.webkit.org/changeset/270647> All reviewed patches have been landed. Closing bug and clearing flags on attachment 415868 [details].
Radar WebKit Bug Importer
Comment 7 2020-12-10 12:54:15 PST
Note You need to log in before you can comment on or make changes to this bug.