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

Issue 199693003: Send AXLayoutComplete even when document hasn't finished loading yet (reland) (Closed)

Created:
6 years, 9 months ago by dmazzoni
Modified:
6 years, 9 months ago
Reviewers:
esprehn, eseidel
CC:
blink-reviews, aboxhall, abarth-chromium
Visibility:
Public.

Description

Send AXLayoutComplete even when document hasn't finished loading yet (reland) Because these notifications only got sent if the corresponding AXObject already existed, they were effectively never sent before the first load complete notification. This change creates the AXObject for the document element after the first layout, allowing future notifications too. BUG=353067 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170085 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170343

Patch Set 1 #

Total comments: 1

Patch Set 2 : Now only send after first visually nonempty layout #

Patch Set 3 : Added test #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -2 lines) Patch
A LayoutTests/http/tests/accessibility/slow-document-load.html View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/accessibility/slow-document-load-expected.txt View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/http/tests/accessibility/slow-loading-script.cgi View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M Source/core/accessibility/AXObjectCache.h View 2 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/accessibility/AXObjectCache.cpp View 2 1 chunk +14 lines, -0 lines 0 comments Download
M Source/core/frame/FrameView.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 22 (0 generated)
dmazzoni
6 years, 9 months ago (2014-03-17 15:11:25 UTC) #1
eseidel
The first layout may be very incomplete. I would expect that AX would want to ...
6 years, 9 months ago (2014-03-17 15:40:08 UTC) #2
eseidel
https://codereview.chromium.org/199693003/diff/1/Source/core/accessibility/AXObjectCache.cpp File Source/core/accessibility/AXObjectCache.cpp (right): https://codereview.chromium.org/199693003/diff/1/Source/core/accessibility/AXObjectCache.cpp#newcode815 Source/core/accessibility/AXObjectCache.cpp:815: // allows an AX notification to be sent when ...
6 years, 9 months ago (2014-03-17 15:41:31 UTC) #3
dmazzoni
On 2014/03/17 15:40:08, eseidel wrote: > The first layout may be very incomplete. > > ...
6 years, 9 months ago (2014-03-17 15:52:52 UTC) #4
eseidel
The correct solution here is for us to unify all our FOUC logic into a ...
6 years, 9 months ago (2014-03-17 16:59:36 UTC) #5
eseidel
We could land this, but then we'll just get different bugs. If you have a ...
6 years, 9 months ago (2014-03-17 17:01:51 UTC) #6
dmazzoni
+esprehn Now waiting until "first visually nonempty layout"
6 years, 9 months ago (2014-03-24 05:09:40 UTC) #7
esprehn
lgtm to me, but no tests? You might also want to update the description.
6 years, 9 months ago (2014-03-24 09:12:56 UTC) #8
dmazzoni
I updated the change description. How would I test this? Can you think of a ...
6 years, 9 months ago (2014-03-24 15:41:53 UTC) #9
esprehn
On 2014/03/24 15:41:53, dmazzoni wrote: > I updated the change description. > > How would ...
6 years, 9 months ago (2014-03-24 15:51:16 UTC) #10
dmazzoni
After doing some more testing it wasn't working very well. I looked into how isVisuallyNonEmpty ...
6 years, 9 months ago (2014-03-25 17:56:45 UTC) #11
dmazzoni
...which proves hard to test, since painting doesn't happen in layout tests unless explicitly requested.
6 years, 9 months ago (2014-03-25 21:04:27 UTC) #12
esprehn
On 2014/03/25 21:04:27, dmazzoni wrote: > ...which proves hard to test, since painting doesn't happen ...
6 years, 9 months ago (2014-03-25 21:06:30 UTC) #13
dmazzoni
OK, I went back to the original change, but with a test this time. I ...
6 years, 9 months ago (2014-03-25 22:08:13 UTC) #14
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 9 months ago (2014-03-26 18:12:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/199693003/70001
6 years, 9 months ago (2014-03-26 18:12:57 UTC) #16
commit-bot: I haz the power
Change committed as 170085
6 years, 9 months ago (2014-03-26 18:48:13 UTC) #17
enne (OOO)
A revert of this CL has been created in https://codereview.chromium.org/213883003/ by enne@chromium.org. The reason for ...
6 years, 9 months ago (2014-03-27 00:07:53 UTC) #18
dmazzoni
Re-landing. The test that broke when this landed has been disabled; i'll fix it to ...
6 years, 9 months ago (2014-03-28 16:44:47 UTC) #19
dmazzoni
The CQ bit was checked by dmazzoni@chromium.org
6 years, 9 months ago (2014-03-28 17:03:17 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dmazzoni@chromium.org/199693003/130001
6 years, 9 months ago (2014-03-28 17:03:25 UTC) #21
commit-bot: I haz the power
6 years, 9 months ago (2014-03-28 18:06:12 UTC) #22
Message was sent while issue was closed.
Change committed as 170343

Powered by Google App Engine
This is Rietveld 408576698