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

Issue 1891773002: Implement the basic testing infrastructure for FindRequestManager. (Closed)

Created:
4 years, 8 months ago by paulmeyer
Modified:
4 years, 8 months ago
Reviewers:
nasko
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement the basic testing infrastructure for FindRequestManager. This patch adds find_request_manager_browsertest.cc, along with a few find-in-page tests that can already be tested (though not yet with cross-process frames). There are also some new testing files and some small changes to FindRequestManager to facilitate testing. Design doc for multi-process find-in-page: https://docs.google.com/a/google.com/document/d/12S_6X2MWWLoyJslajcajL2ELU7zhodPxMOxa8Bg4Wg0/edit?usp=sharing BUG=457440 Committed: https://crrev.com/be0de1325bc7493fa36e512a72eb1a9f710b3241 Cr-Commit-Position: refs/heads/master@{#388768}

Patch Set 1 #

Patch Set 2 : Added comment to describe TestFindRequestManager. #

Total comments: 16

Patch Set 3 : Addressed comments by nasko@. #

Total comments: 19

Patch Set 4 : Addressed comments by nasko@. #

Total comments: 1

Patch Set 5 : Rebased and small fix. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+241 lines, -0 lines) Patch
A content/browser/find_request_manager_browsertest.cc View 1 2 3 4 1 chunk +237 lines, -0 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A + content/test/data/find_in_page.html View 0 chunks +-1 lines, --1 lines 0 comments Download
A + content/test/data/find_in_page_frame.html View 1 2 3 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 39 (17 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891773002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891773002/1
4 years, 8 months ago (2016-04-14 12:49:33 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/53717)
4 years, 8 months ago (2016-04-14 13:59:21 UTC) #6
paulmeyer
+lfg for initial review.
4 years, 8 months ago (2016-04-15 13:30:35 UTC) #8
paulmeyer
-lfg@ +nasko@
4 years, 8 months ago (2016-04-15 15:27:54 UTC) #10
nasko
The overall comment we discussed is using WebContents::Find() as the entrypoint for testing the functionality ...
4 years, 8 months ago (2016-04-15 19:26:51 UTC) #11
paulmeyer
PTAL https://codereview.chromium.org/1891773002/diff/20001/content/browser/find_request_manager_browsertest.cc File content/browser/find_request_manager_browsertest.cc (right): https://codereview.chromium.org/1891773002/diff/20001/content/browser/find_request_manager_browsertest.cc#newcode27 content/browser/find_request_manager_browsertest.cc:27: protected: On 2016/04/15 19:26:50, nasko (very slow Apr ...
4 years, 8 months ago (2016-04-18 19:11:22 UTC) #12
nasko
Thanks for updating the test infrastructure. It looks much better this way! Few more comments, ...
4 years, 8 months ago (2016-04-18 21:02:40 UTC) #13
paulmeyer
PTAL https://codereview.chromium.org/1891773002/diff/40001/content/browser/find_request_manager.cc File content/browser/find_request_manager.cc (right): https://codereview.chromium.org/1891773002/diff/40001/content/browser/find_request_manager.cc#newcode72 content/browser/find_request_manager.cc:72: active_match_ordinal_ = active_match_ordinal; On 2016/04/18 21:02:39, nasko (slow) ...
4 years, 8 months ago (2016-04-19 15:15:01 UTC) #15
nasko
LGTM https://codereview.chromium.org/1891773002/diff/40001/content/browser/find_request_manager_browsertest.cc File content/browser/find_request_manager_browsertest.cc (right): https://codereview.chromium.org/1891773002/diff/40001/content/browser/find_request_manager_browsertest.cc#newcode65 content/browser/find_request_manager_browsertest.cc:65: current_results_.active_match_ordinal = active_match_ordinal; On 2016/04/19 15:15:00, paulmeyer wrote: ...
4 years, 8 months ago (2016-04-20 16:47:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891773002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891773002/80001
4 years, 8 months ago (2016-04-20 17:22:59 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/149034)
4 years, 8 months ago (2016-04-20 18:14:04 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891773002/100001
4 years, 8 months ago (2016-04-20 21:54:59 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/162887)
4 years, 8 months ago (2016-04-20 22:19:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891773002/100001
4 years, 8 months ago (2016-04-21 02:01:18 UTC) #27
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/216142)
4 years, 8 months ago (2016-04-21 02:17:13 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1891773002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1891773002/100001
4 years, 8 months ago (2016-04-21 13:47:20 UTC) #31
commit-bot: I haz the power
Committed patchset #5 (id:100001)
4 years, 8 months ago (2016-04-21 14:37:00 UTC) #33
jbudorick
A revert of this CL (patchset #5 id:100001) has been created in https://codereview.chromium.org/1910073002/ by jbudorick@chromium.org. ...
4 years, 8 months ago (2016-04-21 18:17:57 UTC) #34
jbudorick
On 2016/04/21 18:17:57, jbudorick wrote: > A revert of this CL (patchset #5 id:100001) has ...
4 years, 8 months ago (2016-04-21 18:18:17 UTC) #35
jbudorick
On 2016/04/21 18:18:17, jbudorick wrote: > On 2016/04/21 18:17:57, jbudorick wrote: > > A revert ...
4 years, 8 months ago (2016-04-21 18:19:04 UTC) #36
paulmeyer
On 2016/04/21 18:19:04, jbudorick wrote: > On 2016/04/21 18:18:17, jbudorick wrote: > > On 2016/04/21 ...
4 years, 8 months ago (2016-04-21 18:28:48 UTC) #37
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:34:34 UTC) #39
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/be0de1325bc7493fa36e512a72eb1a9f710b3241
Cr-Commit-Position: refs/heads/master@{#388768}

Powered by Google App Engine
This is Rietveld 408576698