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

Issue 1315703004: Added browser tests for caret position and selection. (Closed)

Created:
5 years, 3 months ago by nektarios
Modified:
5 years, 3 months ago
CC:
aboxhall+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, David Black, dhollowa+watch_chromium.org, dmazzoni+watch_chromium.org, donnd+watch_chromium.org, dougw+watch_chromium.org, dtseng+watch_chromium.org, jam, je_julie, Jered, jfweitz+watch_chromium.org, kmadhusu+watch_chromium.org, melevin+watch_chromium.org, nektar+watch_chromium.org, plundblad+watch_chromium.org, samarth+watch_chromium.org, skanuj+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

Added browser tests for caret position and selection. BUG=491027 R=dmazzoni@chromium.org, dtseng@chromium.org Committed: https://crrev.com/dbcb6ee8a1a359e1f33315b16a9e4934bb29f5cf Cr-Commit-Position: refs/heads/master@{#348813}

Patch Set 1 #

Patch Set 2 : Enabled the new tests. #

Patch Set 3 : Fixed most of the expectations. #

Total comments: 7

Patch Set 4 : Made the tests more complex. #

Patch Set 5 : Fixed all test expectations. #

Patch Set 6 : Fixed test expectations for two Mac tests. #

Patch Set 7 : Fixed password masked character in test expectations. #

Patch Set 8 : Fixed Android tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+217 lines, -35 lines) Patch
M content/browser/accessibility/dump_accessibility_tree_browsertest.cc View 1 2 3 4 chunks +24 lines, -2 lines 0 comments Download
M content/test/data/accessibility/aria/aria-searchbox.html View 1 2 3 4 1 chunk +10 lines, -1 line 0 comments Download
M content/test/data/accessibility/aria/aria-searchbox-expected-android.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/accessibility/aria/aria-searchbox-expected-win.txt View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
A content/test/data/accessibility/aria/aria-searchbox-with-selection.html View 1 2 3 1 chunk +24 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria/aria-searchbox-with-selection-expected-android.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/aria/aria-searchbox-with-selection-expected-mac.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/test/data/accessibility/aria/aria-searchbox-with-selection-expected-win.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/data/accessibility/aria/aria-textbox.html View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/data/accessibility/aria/aria-textbox-expected-win.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A content/test/data/accessibility/aria/aria-textbox-with-selection.html View 1 2 3 4 1 chunk +30 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria/aria-textbox-with-selection-expected-android.txt View 1 2 3 4 5 6 7 1 chunk +4 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria/aria-textbox-with-selection-expected-mac.txt View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
A content/test/data/accessibility/aria/aria-textbox-with-selection-expected-win.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/input-email.html View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/input-email-expected-win.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/test/data/accessibility/html/input-password.html View 1 2 3 1 chunk +4 lines, -1 line 0 comments Download
M content/test/data/accessibility/html/input-password-expected-win.txt View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download
M content/test/data/accessibility/html/input-search.html View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/input-search-expected-win.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/test/data/accessibility/html/input-tel.html View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/input-tel-expected-win.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/test/data/accessibility/html/input-text.html View 1 2 3 1 chunk +5 lines, -1 line 0 comments Download
M content/test/data/accessibility/html/input-text-expected-android.txt View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/data/accessibility/html/input-text-expected-win.txt View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
A content/test/data/accessibility/html/input-text-with-selection.html View 1 chunk +21 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/html/input-text-with-selection-expected-android.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
A + content/test/data/accessibility/html/input-text-with-selection-expected-mac.txt View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
A content/test/data/accessibility/html/input-text-with-selection-expected-win.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/input-url.html View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/input-url-expected-win.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/test/data/accessibility/html/textarea.html View 1 chunk +4 lines, -0 lines 0 comments Download
M content/test/data/accessibility/html/textarea-expected-win.txt View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
A content/test/data/accessibility/html/textarea-with-selection.html View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A + content/test/data/accessibility/html/textarea-with-selection-expected-android.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/accessibility/html/textarea-with-selection-expected-mac.txt View 0 chunks +-1 lines, --1 lines 0 comments Download
A content/test/data/accessibility/html/textarea-with-selection-expected-win.txt View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (11 generated)
nektarios
5 years, 3 months ago (2015-08-27 22:17:51 UTC) #1
Peter Lundblad
https://codereview.chromium.org/1315703004/diff/40001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc File content/browser/accessibility/dump_accessibility_tree_browsertest.cc (right): https://codereview.chromium.org/1315703004/diff/40001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc#newcode1171 content/browser/accessibility/dump_accessibility_tree_browsertest.cc:1171: Looks like the AccessibilityTextArea test was removed. Was that ...
5 years, 3 months ago (2015-08-28 15:27:50 UTC) #3
David Tseng
https://codereview.chromium.org/1315703004/diff/40001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc File content/browser/accessibility/dump_accessibility_tree_browsertest.cc (right): https://codereview.chromium.org/1315703004/diff/40001/content/browser/accessibility/dump_accessibility_tree_browsertest.cc#newcode488 content/browser/accessibility/dump_accessibility_tree_browsertest.cc:488: IN_PROC_BROWSER_TEST_F(DumpAccessibilityTreeTest, AccessibilityAriaSearchbox) { nit: Why not camel case AccessibilityAriaSearchbox? ...
5 years, 3 months ago (2015-08-28 16:08:47 UTC) #4
dmazzoni
https://codereview.chromium.org/1315703004/diff/40001/content/test/data/accessibility/aria/aria-searchbox-with-selection-expected-win.txt File content/test/data/accessibility/aria/aria-searchbox-with-selection-expected-win.txt (right): https://codereview.chromium.org/1315703004/diff/40001/content/test/data/accessibility/aria/aria-searchbox-with-selection-expected-win.txt#newcode3 content/test/data/accessibility/aria/aria-searchbox-with-selection-expected-win.txt:3: ++++ROLE_SYSTEM_STATICTEXT name='ARIA role searchbox.' It looks like this expectation ...
5 years, 3 months ago (2015-08-28 21:48:54 UTC) #5
chromium-reviews
Textarea test was added back. I updated all expectations for all tests to the correct ...
5 years, 3 months ago (2015-09-03 15:30:50 UTC) #6
chromium-reviews
I forgot to say that the native function AXWebObject::setSelectedTextRange is going to be covered by ...
5 years, 3 months ago (2015-09-03 16:15:55 UTC) #7
dmazzoni
lgtm Sorry this slipped off my radar.
5 years, 3 months ago (2015-09-10 18:48:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315703004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315703004/100001
5 years, 3 months ago (2015-09-14 16:21:45 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/113076)
5 years, 3 months ago (2015-09-14 16:36:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315703004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315703004/100001
5 years, 3 months ago (2015-09-14 17:14:52 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/106682)
5 years, 3 months ago (2015-09-14 17:58:00 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315703004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315703004/120001
5 years, 3 months ago (2015-09-14 20:24:47 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/68630)
5 years, 3 months ago (2015-09-14 23:41:06 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1315703004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1315703004/140001
5 years, 3 months ago (2015-09-15 00:21:29 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 3 months ago (2015-09-15 01:46:29 UTC) #26
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/dbcb6ee8a1a359e1f33315b16a9e4934bb29f5cf Cr-Commit-Position: refs/heads/master@{#348813}
5 years, 3 months ago (2015-09-15 01:47:26 UTC) #27
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 12:41:19 UTC) #28
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/dbcb6ee8a1a359e1f33315b16a9e4934bb29f5cf
Cr-Commit-Position: refs/heads/master@{#348813}

Powered by Google App Engine
This is Rietveld 408576698