DescriptionRe-land: Don't keep recreating AXMenuListPopup
Every time an AXMenuList (corresponding to a
<select> element) needed to update its children,
we were recreating the AXMenuListPopup and
all of the AXMenuListOptions each time, which is
wasteful. This change avoids deleting the popup
and stores the options in AXObjectCache by
element, rather than by ID, so they can be reused
when the options are updated.
BUG=323462
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=193517
Patch Set 1 #Patch Set 2 : Fixed #Patch Set 3 : More debugging #Patch Set 4 : Cleaned up #Patch Set 5 : Reuses objects test passes now #Patch Set 6 : Clean up code #
Total comments: 6
Patch Set 7 : Address feedback #Patch Set 8 : Better implementation of updateChildrenIfNecessary #Patch Set 9 : Fix optgroup #Messages
Total messages: 16 (3 generated)
|