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

Issue 1231603009: Re-land: Reimplement automation API on top of C++-backed AXTree. (Closed)

Created:
5 years, 5 months ago by dmazzoni
Modified:
5 years, 5 months ago
CC:
aboxhall+watch_chromium.org, arv+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, dmazzoni+watch_chromium.org, dtseng+watch_chromium.org, extensions-reviews_chromium.org, je_julie, kalyank, nektar+watch_chromium.org, oshima+watch_chromium.org, plundblad+watch_chromium.org, sadrul, stevenjb+watch_chromium.org, yuzo+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Re-land: Reimplement automation API on top of C++-backed AXTree. Original review: https://codereview.chromium.org/1155183006 Landed in: r335183 Reverted in: r335343 (bug 502311) BUG=495323, 502311 Committed: https://crrev.com/1777fbdbd234ddc8e19d4ba3a42cfd3234b8a158 Cr-Commit-Position: refs/heads/master@{#339929}

Patch Set 1 #

Patch Set 2 : Fix bug 502311 and add test #

Total comments: 2

Patch Set 3 : NULL -> nullptr #

Patch Set 4 : Rebase #

Patch Set 5 : Rebase #

Patch Set 6 : Fix nested event sending in AutomationManagerAura #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1550 lines, -2477 lines) Patch
M chrome/browser/extensions/api/automation/automation_apitest.cc View 1 2 3 4 4 chunks +5 lines, -333 lines 0 comments Download
M chrome/browser/extensions/api/automation_internal/automation_event_router.cc View 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/extensions/api/automation_internal/automation_internal_api.cc View 1 2 3 4 7 chunks +58 lines, -9 lines 0 comments Download
D chrome/browser/extensions/api/automation_internal/automation_util.h View 1 chunk +0 lines, -41 lines 0 comments Download
D chrome/browser/extensions/api/automation_internal/automation_util.cc View 1 2 3 4 1 chunk +0 lines, -213 lines 0 comments Download
M chrome/browser/resources/chromeos/chromevox/cvox2/background/output.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/aura/accessibility/automation_manager_aura.cc View 1 2 3 4 5 4 chunks +25 lines, -29 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/extensions/api/automation.idl View 6 chunks +94 lines, -102 lines 0 comments Download
M chrome/common/extensions/api/automation_internal.idl View 3 chunks +3 lines, -41 lines 0 comments Download
M chrome/renderer/extensions/automation_internal_custom_bindings.h View 3 chunks +125 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/automation_internal_custom_bindings.cc View 1 2 3 4 9 chunks +487 lines, -26 lines 0 comments Download
M chrome/renderer/resources/extensions/automation/automation_node.js View 1 2 3 4 12 chunks +450 lines, -640 lines 0 comments Download
M chrome/renderer/resources/extensions/automation_custom_bindings.js View 1 2 3 4 10 chunks +71 lines, -19 lines 0 comments Download
A + chrome/test/data/extensions/api_test/automation/sites/attributes.html View 3 chunks +15 lines, -14 lines 0 comments Download
D chrome/test/data/extensions/api_test/automation/sites/mixins.html View 1 chunk +0 lines, -72 lines 0 comments Download
A + chrome/test/data/extensions/api_test/automation/tests/tabs/attributes.html View 1 chunk +1 line, -1 line 0 comments Download
A + chrome/test/data/extensions/api_test/automation/tests/tabs/attributes.js View 6 chunks +76 lines, -81 lines 0 comments Download
D chrome/test/data/extensions/api_test/automation/tests/tabs/mixins.html View 1 chunk +0 lines, -7 lines 0 comments Download
D chrome/test/data/extensions/api_test/automation/tests/tabs/mixins.js View 1 chunk +0 lines, -246 lines 0 comments Download
M chrome/test/data/extensions/api_test/automation/tests/tabs/sanity_check.js View 1 chunk +18 lines, -19 lines 0 comments Download
M chrome/test/data/extensions/api_test/automation/tests/tabs/tree_change.js View 1 chunk +1 line, -1 line 0 comments Download
D chrome/test/data/extensions/api_test/automation/tests/unit/manifest.json View 1 chunk +0 lines, -8 lines 0 comments Download
D chrome/test/data/extensions/api_test/automation/tests/unit/test.js View 1 2 3 1 chunk +0 lines, -508 lines 0 comments Download
D chrome/test/data/extensions/api_test/automation/tests/unit/unit.html View 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/accessibility/browser_accessibility_manager_unittest.cc View 1 2 12 chunks +69 lines, -16 lines 0 comments Download
M extensions/renderer/logging_native_handler.h View 1 chunk +0 lines, -3 lines 0 comments Download
M extensions/renderer/logging_native_handler.cc View 2 chunks +3 lines, -27 lines 0 comments Download
M extensions/renderer/script_context.h View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/renderer/script_context.cc View 2 chunks +30 lines, -0 lines 0 comments Download
M ui/accessibility/ax_tree.cc View 1 2 chunks +7 lines, -4 lines 0 comments Download
M ui/accessibility/ax_tree_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 20 (6 generated)
dmazzoni
5 years, 5 months ago (2015-07-13 21:57:32 UTC) #2
dcheng
What are the changes from the original patch? Any chance you could upload the original ...
5 years, 5 months ago (2015-07-13 21:58:45 UTC) #3
dmazzoni
OK, ready. Patch Set 1 is the original patch, rebased. No changes at all. Patch ...
5 years, 5 months ago (2015-07-14 20:52:25 UTC) #4
not at google - send to devlin
nothing has changed for extensions, lgtm.
5 years, 5 months ago (2015-07-14 20:58:59 UTC) #5
dcheng
lgtm https://codereview.chromium.org/1231603009/diff/20001/content/browser/accessibility/browser_accessibility_manager_unittest.cc File content/browser/accessibility/browser_accessibility_manager_unittest.cc (right): https://codereview.chromium.org/1231603009/diff/20001/content/browser/accessibility/browser_accessibility_manager_unittest.cc#newcode1007 content/browser/accessibility/browser_accessibility_manager_unittest.cc:1007: NULL, Nit: nullptr
5 years, 5 months ago (2015-07-15 00:58:10 UTC) #6
aboxhall
lgtm
5 years, 5 months ago (2015-07-15 17:15:55 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1231603009/40001
5 years, 5 months ago (2015-07-15 19:22:18 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/38949)
5 years, 5 months ago (2015-07-15 20:28:58 UTC) #12
dmazzoni
Ready to land again now, all tests pass. One more tiny fix in the latest ...
5 years, 5 months ago (2015-07-22 18:44:27 UTC) #13
David Tseng
lgtm 
5 years, 5 months ago (2015-07-22 19:02:00 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1231603009/100001
5 years, 5 months ago (2015-07-22 19:06:07 UTC) #17
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 5 months ago (2015-07-22 19:17:16 UTC) #18
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/1777fbdbd234ddc8e19d4ba3a42cfd3234b8a158 Cr-Commit-Position: refs/heads/master@{#339929}
5 years, 5 months ago (2015-07-22 19:18:46 UTC) #19
Alexei Svitkine (slow)
5 years, 5 months ago (2015-07-23 14:36:16 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/1251723003/ by asvitkine@chromium.org.

The reason for reverting is: Top crasher in today's canary - 74% of browser
crashes. Reverting per stability sheriff guidelines (go/stability-sheriff)..

Powered by Google App Engine
This is Rietveld 408576698