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

Issue 2522033002: Generalized fix for serialization error/reset issues (Closed)

Created:
4 years, 1 month ago by David Tseng
Modified:
4 years, 1 month ago
Reviewers:
dmazzoni
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Generalized fix for serialization error/reset issues Whenever we see an AX tree fail to unserialize, request it be reset on the source end. TEST=in hotrod, repeatedly toggle on/off ChromeVox. Verify that we re-populate the tree when we get any events (e.g. focus). BUG=667819 Committed: https://crrev.com/38c63d7344c76d9fa58c84db6112daebbfefd3ab Cr-Commit-Position: refs/heads/master@{#433985}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Generalized fix for serialization error/reset issues #

Patch Set 3 : Fix test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -4 lines) Patch
M chrome/common/extensions/api/automation_internal.idl View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/automation_internal_custom_bindings.cc View 1 2 2 chunks +7 lines, -4 lines 0 comments Download
M chrome/renderer/resources/extensions/automation_custom_bindings.js View 1 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (15 generated)
David Tseng
Hopefully we can merge this into m55 at least. Long term, you or I should ...
4 years, 1 month ago (2016-11-22 18:01:27 UTC) #2
dmazzoni
https://codereview.chromium.org/2522033002/diff/1/chrome/renderer/extensions/automation_internal_custom_bindings.cc File chrome/renderer/extensions/automation_internal_custom_bindings.cc (right): https://codereview.chromium.org/2522033002/diff/1/chrome/renderer/extensions/automation_internal_custom_bindings.cc#newcode998 chrome/renderer/extensions/automation_internal_custom_bindings.cc:998: while (state_shifter && state_shifter <= ui::AX_STATE_LAST) { Is this ...
4 years, 1 month ago (2016-11-22 18:11:42 UTC) #4
David Tseng
https://codereview.chromium.org/2522033002/diff/1/chrome/renderer/extensions/automation_internal_custom_bindings.cc File chrome/renderer/extensions/automation_internal_custom_bindings.cc (right): https://codereview.chromium.org/2522033002/diff/1/chrome/renderer/extensions/automation_internal_custom_bindings.cc#newcode998 chrome/renderer/extensions/automation_internal_custom_bindings.cc:998: while (state_shifter && state_shifter <= ui::AX_STATE_LAST) { On 2016/11/22 ...
4 years, 1 month ago (2016-11-22 18:26:28 UTC) #5
dmazzoni
lgtm
4 years, 1 month ago (2016-11-22 18:36:06 UTC) #6
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/2522033002/40001
4 years, 1 month ago (2016-11-22 21:22:05 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 1 month ago (2016-11-22 21:28:14 UTC) #20
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 21:31:56 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/38c63d7344c76d9fa58c84db6112daebbfefd3ab
Cr-Commit-Position: refs/heads/master@{#433985}

Powered by Google App Engine
This is Rietveld 408576698