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

Issue 1580873003: Enable handle verifier for tests and add some tests. (Closed)

Created:
4 years, 11 months ago by Will Harris
Modified:
4 years, 10 months ago
CC:
chromium-reviews, grt+watch_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable handle verifier for tests and add some tests. Disable handle verifier hooks if running under drmemory. BUG=571304 CQ_INCLUDE_TRYBOTS=tryserver.chromium.win:win_chromium_dbg_ng Committed: https://crrev.com/5556e56290c41891b0830af9b6b9153b745dd226 Cr-Commit-Position: refs/heads/master@{#372877}

Patch Set 1 #

Patch Set 2 : enable verifier on unknown channel #

Patch Set 3 : rebase #

Patch Set 4 : disable handle hooks on win7 debug tests #

Patch Set 5 : add more tests #

Total comments: 2

Patch Set 6 : no need for unknown channel #

Total comments: 2

Patch Set 7 : remove debugbreak #

Patch Set 8 : rebase #

Patch Set 9 : disable handle hooks for drmemory #

Total comments: 2

Patch Set 10 : code review, move code around #

Patch Set 11 : do not copy variable up scope #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -8 lines) Patch
M base/BUILD.gn View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -0 lines 0 comments Download
M base/base.gyp View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download
M base/debug/close_handle_hook_win.cc View 1 2 3 4 5 6 7 8 9 2 chunks +8 lines, -0 lines 0 comments Download
M base/test/test_suite.cc View 1 2 3 4 5 6 7 8 9 2 chunks +6 lines, -1 line 0 comments Download
M base/win/scoped_handle.h View 1 2 3 4 2 chunks +3 lines, -0 lines 0 comments Download
M base/win/scoped_handle.cc View 4 chunks +5 lines, -5 lines 0 comments Download
M base/win/scoped_handle_unittest.cc View 1 2 3 4 5 6 7 8 2 chunks +79 lines, -0 lines 0 comments Download
M build/common.gypi View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -0 lines 0 comments Download
M chrome/app/chrome_main_delegate.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 52 (22 generated)
Will Harris
PTAL
4 years, 11 months ago (2016-01-18 23:31:07 UTC) #4
cpu_(ooo_6.6-7.5)
https://codereview.chromium.org/1580873003/diff/80001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/1580873003/diff/80001/chrome/app/chrome_main_delegate.cc#newcode204 chrome/app/chrome_main_delegate.cc:204: channel == version_info::Channel::UNKNOWN) { do we need this for ...
4 years, 11 months ago (2016-01-19 22:53:49 UTC) #5
Will Harris
https://codereview.chromium.org/1580873003/diff/80001/chrome/app/chrome_main_delegate.cc File chrome/app/chrome_main_delegate.cc (right): https://codereview.chromium.org/1580873003/diff/80001/chrome/app/chrome_main_delegate.cc#newcode204 chrome/app/chrome_main_delegate.cc:204: channel == version_info::Channel::UNKNOWN) { On 2016/01/19 22:53:49, cpu wrote: ...
4 years, 11 months ago (2016-01-19 23:06:34 UTC) #6
Will Harris
On 2016/01/19 23:06:34, Will Harris wrote: > https://codereview.chromium.org/1580873003/diff/80001/chrome/app/chrome_main_delegate.cc > File chrome/app/chrome_main_delegate.cc (right): > > https://codereview.chromium.org/1580873003/diff/80001/chrome/app/chrome_main_delegate.cc#newcode204 ...
4 years, 11 months ago (2016-01-20 06:53:59 UTC) #7
Will Harris
ping cpu
4 years, 11 months ago (2016-01-21 18:04:17 UTC) #8
cpu_(ooo_6.6-7.5)
I guess my question was more about having this code when the rest of the ...
4 years, 11 months ago (2016-01-21 19:12:48 UTC) #9
Will Harris
On 2016/01/21 19:12:48, cpu wrote: > I guess my question was more about having this ...
4 years, 11 months ago (2016-01-21 19:25:13 UTC) #10
Will Harris
On 2016/01/21 19:25:13, Will Harris wrote: > On 2016/01/21 19:12:48, cpu wrote: > > I ...
4 years, 11 months ago (2016-01-22 01:38:09 UTC) #11
cpu_(ooo_6.6-7.5)
lgtm
4 years, 11 months ago (2016-01-22 04:28:12 UTC) #12
Will Harris
On 2016/01/22 04:28:12, cpu wrote: > lgtm Wow the bots turned super red...
4 years, 11 months ago (2016-01-22 04:36:10 UTC) #13
cpu_(ooo_6.6-7.5)
Cool. Those are probably bugs right there.
4 years, 11 months ago (2016-01-22 17:18:46 UTC) #14
Will Harris
also I had a dream last night about a different way of coping on windows ...
4 years, 11 months ago (2016-01-22 18:30:39 UTC) #15
Will Harris
I can't even repro the debug failures on win7 now, but I know they happen ...
4 years, 11 months ago (2016-01-22 21:58:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580873003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580873003/120001
4 years, 11 months ago (2016-01-22 22:00:46 UTC) #19
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-22 23:28:27 UTC) #21
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/ff6cc3d794e1285c68f74ec9ae6d59dc3e523d5b Cr-Commit-Position: refs/heads/master@{#371075}
4 years, 11 months ago (2016-01-22 23:30:09 UTC) #23
oshima
A revert of this CL (patchset #7 id:120001) has been created in https://codereview.chromium.org/1633623003/ by oshima@chromium.org. ...
4 years, 11 months ago (2016-01-25 20:47:44 UTC) #24
Will Harris
+scottmg for gyp I'm looking for a review of diff between PS8 and PS9, which ...
4 years, 10 months ago (2016-02-01 00:58:04 UTC) #27
scottmg
https://codereview.chromium.org/1580873003/diff/180001/base/test/test_suite.cc File base/test/test_suite.cc (right): https://codereview.chromium.org/1580873003/diff/180001/base/test/test_suite.cc#newcode323 base/test/test_suite.cc:323: #if defined(_DEBUG) It's sort of weird that sometimes it's ...
4 years, 10 months ago (2016-02-01 16:45:31 UTC) #29
Will Harris
PTAL https://codereview.chromium.org/1580873003/diff/180001/base/test/test_suite.cc File base/test/test_suite.cc (right): https://codereview.chromium.org/1580873003/diff/180001/base/test/test_suite.cc#newcode323 base/test/test_suite.cc:323: #if defined(_DEBUG) On 2016/02/01 16:45:31, scottmg wrote: > ...
4 years, 10 months ago (2016-02-01 19:16:13 UTC) #30
scottmg
lgtm Consider switching to https://groups.google.com/a/chromium.org/d/topic/chromium-dev/5c4ySpPsV14/discussion though (or as a follow up) or Brett might yell.
4 years, 10 months ago (2016-02-01 19:26:27 UTC) #31
Will Harris
On 2016/02/01 19:26:27, scottmg wrote: > lgtm > > Consider switching to > https://groups.google.com/a/chromium.org/d/topic/chromium-dev/5c4ySpPsV14/discussion > ...
4 years, 10 months ago (2016-02-01 19:29:31 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580873003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580873003/200001
4 years, 10 months ago (2016-02-01 19:45:44 UTC) #36
commit-bot: I haz the power
Transient error: Invalid delimiter in "win_chromium_dbg_ng": Correct syntax is "tryserver:bot1,bot2;tryserver2:bot3,bot4;".
4 years, 10 months ago (2016-02-01 19:45:46 UTC) #38
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580873003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580873003/200001
4 years, 10 months ago (2016-02-01 19:50:58 UTC) #41
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/15642) android_clang_dbg_recipe on tryserver.chromium.android (JOB_FAILED, ...
4 years, 10 months ago (2016-02-01 19:58:26 UTC) #43
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1580873003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1580873003/220001
4 years, 10 months ago (2016-02-02 00:04:00 UTC) #47
commit-bot: I haz the power
Committed patchset #11 (id:220001)
4 years, 10 months ago (2016-02-02 03:10:15 UTC) #49
commit-bot: I haz the power
Patchset 11 (id:??) landed as https://crrev.com/5556e56290c41891b0830af9b6b9153b745dd226 Cr-Commit-Position: refs/heads/master@{#372877}
4 years, 10 months ago (2016-02-02 03:13:21 UTC) #51
Will Harris
4 years, 10 months ago (2016-02-05 23:34:04 UTC) #52
Message was sent while issue was closed.
A revert of this CL (patchset #11 id:220001) has been created in
https://codereview.chromium.org/1678553002/ by wfh@chromium.org.

The reason for reverting is: This breaks on win7 component builds, and also
win10..

Powered by Google App Engine
This is Rietveld 408576698