Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(501)

Issue 2299673002: Fix loading accessibility tree for child frame that's already loaded. (Closed)

Created:
4 years, 3 months ago by dmazzoni
Modified:
4 years, 3 months ago
Reviewers:
David Tseng
CC:
aboxhall+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie, mlamouri+watch-content_chromium.org, nektar+watch_chromium.org, yuzo+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix loading accessibility tree for child frame that's already loaded. Code leftover from the pre-OOPIF days was causing us to exit early from the RenderAccessibilityImpl constructor for some child frames that were already loaded. Everything worked fine if accessibility was already enabled when loading the frame, but if the frame was already loaded and then accessibility was enabled, this could cause it to fail to create an accessibility tree. The code in RenderAccessibilityImpl is no longer needed because now we have exactly one accessibility tree per frame. This wasn't caught by tests because we didn't cover both scenarios, we always enabled accessibility first. Added two variants of existing tests that load the page first and then enable accessibility. BUG=640231 Committed: https://crrev.com/08139c18be3cbc6199636ae63783574dd317bafd Cr-Commit-Position: refs/heads/master@{#415733}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -17 lines) Patch
M content/browser/accessibility/dump_accessibility_browsertest_base.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_browsertest_base.cc View 2 chunks +23 lines, -8 lines 0 comments Download
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 2 chunks +12 lines, -0 lines 0 comments Download
M content/renderer/accessibility/render_accessibility_impl.cc View 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 14 (7 generated)
dmazzoni
4 years, 3 months ago (2016-08-31 16:22:50 UTC) #3
David Tseng
lgtm
4 years, 3 months ago (2016-08-31 19:58:22 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2299673002/1
4 years, 3 months ago (2016-08-31 20:03:31 UTC) #9
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 3 months ago (2016-08-31 20:08:55 UTC) #10
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/08139c18be3cbc6199636ae63783574dd317bafd Cr-Commit-Position: refs/heads/master@{#415733}
4 years, 3 months ago (2016-08-31 20:12:46 UTC) #12
yhirano
A revert of this CL (patchset #1 id:1) has been created in https://codereview.chromium.org/2299113002/ by yhirano@chromium.org. ...
4 years, 3 months ago (2016-09-01 02:22:42 UTC) #13
yhirano
4 years, 3 months ago (2016-09-01 02:31:28 UTC) #14
Message was sent while issue was closed.
On 2016/09/01 02:22:42, yhirano wrote:
> A revert of this CL (patchset #1 id:1) has been created in
> https://codereview.chromium.org/2299113002/ by mailto:yhirano@chromium.org.
> 
> The reason for reverting is: The added tests are failing on Mac.
>
https://build.chromium.org/p/chromium.mac/builders/Mac10.10%20Tests/builds/7967.

Not only on Mac but also on Windows.
https://build.chromium.org/p/chromium.win/builders/Win10%20Tests%20x64/builds...

Powered by Google App Engine
This is Rietveld 408576698