RESOLVED FIXED214692
Update the isolated tree even when there is no client request.
https://bugs.webkit.org/show_bug.cgi?id=214692
Summary Update the isolated tree even when there is no client request.
Andres Gonzalez
Reported 2020-07-23 10:51:50 PDT
Update the isolated tree even when there is no client request.
Attachments
Patch (6.76 KB, patch)
2020-07-23 11:06 PDT, Andres Gonzalez
no flags
Patch (6.42 KB, patch)
2020-07-23 12:03 PDT, Andres Gonzalez
no flags
Andres Gonzalez
Comment 1 2020-07-23 11:06:58 PDT
chris fleizach
Comment 2 2020-07-23 11:24:08 PDT
Comment on attachment 405060 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=405060&action=review > Source/WebCore/accessibility/AXObjectCache.cpp:3196 > + case AXLoadingFinished: can we change this method so it doesn't duplicate the logic in the other updateIsolateTree method? instead do something like void AXObjectCache::updateIsolatedTree(AXCoreObject& object, AXLoadingEvent notification) { if (notification == AXLoadingFinished) updateIsoaltedTree(object, AXChildrenChanged) }
Andres Gonzalez
Comment 3 2020-07-23 12:03:29 PDT
Andres Gonzalez
Comment 4 2020-07-23 12:09:21 PDT
(In reply to chris fleizach from comment #2) > Comment on attachment 405060 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=405060&action=review > > > Source/WebCore/accessibility/AXObjectCache.cpp:3196 > > + case AXLoadingFinished: > > can we change this method so it doesn't duplicate the logic in the other > updateIsolateTree method? instead do something like > > void AXObjectCache::updateIsolatedTree(AXCoreObject& object, AXLoadingEvent > notification) > { > if (notification == AXLoadingFinished) > updateIsoaltedTree(object, AXChildrenChanged) > } Done as suggested. Also pondered the approach of merging the AXLoadingEvent enum into AXNotification. But don't know why it was added as a separate enum, and it would require more changes. Something perhaps for a later cleanup. Thanks.
EWS
Comment 5 2020-07-23 13:00:47 PDT
Committed r264784: <https://trac.webkit.org/changeset/264784> All reviewed patches have been landed. Closing bug and clearing flags on attachment 405064 [details].
Radar WebKit Bug Importer
Comment 6 2020-07-23 13:01:16 PDT
Note You need to log in before you can comment on or make changes to this bug.