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

Issue 16903002: Allow AccessibilityHostMsg_Notifications messages to be sent from the renderer while it is swapped … (Closed)

Created:
7 years, 6 months ago by aboxhall
Modified:
7 years, 6 months ago
Reviewers:
Charlie Reis, dmazzoni
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Allow AccessibilityHostMsg_Notifications messages to be sent from the renderer while it is swapped out, to prevent getting stuck BUG=243847 R=creis@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=207738

Patch Set 1 #

Patch Set 2 : Different approach #

Patch Set 3 : Add test #

Total comments: 8

Patch Set 4 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -0 lines) Patch
M content/renderer/accessibility/renderer_accessibility_browsertest.cc View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
M content/renderer/accessibility/renderer_accessibility_complete.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M content/renderer/render_widget.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
aboxhall
7 years, 6 months ago (2013-06-13 00:12:51 UTC) #1
Charlie Reis
Why is this message being sent when swapped out? I think it might be better ...
7 years, 6 months ago (2013-06-13 05:42:17 UTC) #2
dmazzoni
OK, it sounds like renderer_accessibility_complete.cc will have to check is_swapped_out, and if so, it will ...
7 years, 6 months ago (2013-06-13 05:57:22 UTC) #3
dmazzoni
Take a look - does this seem reasonable? If we're swapped out, this will prevent ...
7 years, 6 months ago (2013-06-14 20:24:07 UTC) #4
Charlie Reis
Yes, this should work. Is it possible to test this using something similar to RenderViewImplTest.SendSwapOutACK?
7 years, 6 months ago (2013-06-14 20:53:04 UTC) #5
dmazzoni
On 2013/06/14 20:53:04, creis wrote: > Yes, this should work. Is it possible to test ...
7 years, 6 months ago (2013-06-19 09:54:47 UTC) #6
Charlie Reis
Great, thanks for the test! LGTM with nits. https://codereview.chromium.org/16903002/diff/10001/content/renderer/accessibility/renderer_accessibility_browsertest.cc File content/renderer/accessibility/renderer_accessibility_browsertest.cc (right): https://codereview.chromium.org/16903002/diff/10001/content/renderer/accessibility/renderer_accessibility_browsertest.cc#newcode329 content/renderer/accessibility/renderer_accessibility_browsertest.cc:329: // ...
7 years, 6 months ago (2013-06-19 15:09:47 UTC) #7
dmazzoni
https://codereview.chromium.org/16903002/diff/10001/content/renderer/accessibility/renderer_accessibility_browsertest.cc File content/renderer/accessibility/renderer_accessibility_browsertest.cc (right): https://codereview.chromium.org/16903002/diff/10001/content/renderer/accessibility/renderer_accessibility_browsertest.cc#newcode329 content/renderer/accessibility/renderer_accessibility_browsertest.cc:329: // before sending it. It shouldn't sent the notification ...
7 years, 6 months ago (2013-06-19 15:34:21 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/16903002/20001
7 years, 6 months ago (2013-06-19 15:34:37 UTC) #9
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 6 months ago (2013-06-19 15:41:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aboxhall@chromium.org/16903002/20001
7 years, 6 months ago (2013-06-20 23:35:34 UTC) #11
dmazzoni
7 years, 6 months ago (2013-06-21 06:52:25 UTC) #12
Message was sent while issue was closed.
Committed patchset #4 manually as r207738 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698