• Mohamed Mansour's avatar
    Fix Crash in Hung Pages view while in screen reader · fc8af8e6
    Mohamed Mansour authored
    There seems to be a timing issue between the AX queries for
    GetText and when the model is updating. Looking at the model
    it seems not all TabDestroyed calls are informing the Observers
    that the model has changed.
    
    The TableView uses Virtual AX Children that depends on the
    observers to call. Moved the observer call from TabDestroyed to Reset
    to handle all delegate_->TabDestroyed() calls defined below:
    
     - RenderProcessExited
     - RenderWidgetHostDestroyed
     - TabDestroyed,
     - RenderViewHostChanged
     - WebContentsDestroyed
    
    Bug: 1140454
    Change-Id: Ie7fd07d6540b9509b998d5cd95d1fd16f47f9018
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2530295Reviewed-by: default avatarScott Violet <sky@chromium.org>
    Commit-Queue: Mohamed Mansour <mmansour@microsoft.com>
    Cr-Commit-Position: refs/heads/master@{#827900}
    fc8af8e6
hung_renderer_view.cc 16.7 KB