• Nektarios Paisios's avatar
    Reland: Marks the document object as busy while it is still loading · f6b72e6c
    Nektarios Paisios authored
    Changes in the reland compared to the original patch:
    Switched to using GetRoot instead of Root() which might prevent the use of an uninitialized root object.
    
    Original description:
    Screen readers want to have a reliable way to know whether a document is still loading so as to ignore events coming from it.
    The current change can be made irrespective to whether we will mark the document as loaded when HTML parsing has started or when the "interactive" readyState has been entered.
    
    R=dmazzoni@chromium.org, aleventhal@chromium.org
    
    Bug: 897177, 903402
    Change-Id: I681883999918ffdd32fc11d2f691b659c7e91149
    Reviewed-on: https://chromium-review.googlesource.com/c/1327745
    Commit-Queue: Nektarios Paisios <nektar@chromium.org>
    Reviewed-by: default avatarDominic Mazzoni <dmazzoni@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#607017}
    f6b72e6c
blink_ax_tree_source.cc 37.3 KB