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

Issue 755933002: Revert of "Remove SSLClientAuthHandler's RDH dependency." (https://codereview.chromium.org/59687300… (Closed)

Created:
6 years ago by mattm
Modified:
6 years ago
CC:
chromium-reviews, tfarina, jam, android-webview-reviews_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Revert of "Remove SSLClientAuthHandler's RDH dependency." (https://codereview.chromium.org/596873002) Reason for revert: Causes browser crash if URL request is cancelled during client cert loading. BUG=422765, 427844, 376003 TBR=davidben@chromium.org Committed: https://crrev.com/e18bf1d9005b08bba3637b16d744245e5467af0e Cr-Commit-Position: refs/heads/master@{#305707}

Patch Set 1 #

Patch Set 2 : one other VLOG -> DVLOG conversion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+176 lines, -128 lines) Patch
M android_webview/browser/aw_content_browser_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M android_webview/browser/aw_content_browser_client.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chrome_content_browser_client.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_observer.h View 2 chunks +3 lines, -6 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_observer.cc View 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_requestor_mock.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ssl/ssl_client_auth_requestor_mock.cc View 1 chunk +6 lines, -1 line 0 comments Download
M chrome/browser/ssl/ssl_client_certificate_selector.h View 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/android/ssl_client_certificate_request.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.h View 2 chunks +1 line, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa.mm View 3 chunks +7 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/ssl_client_certificate_selector_cocoa_browsertest.mm View 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector.cc View 2 chunks +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/views/ssl_client_certificate_selector_browsertest.cc View 3 chunks +4 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/browser/loader/resource_dispatcher_host_impl.cc View 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/loader/resource_loader.h View 4 chunks +2 lines, -6 lines 0 comments Download
M content/browser/loader/resource_loader.cc View 5 chunks +13 lines, -12 lines 0 comments Download
M content/browser/loader/resource_loader_unittest.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.h View 1 chunk +40 lines, -18 lines 0 comments Download
M content/browser/ssl/ssl_client_auth_handler.cc View 1 2 chunks +60 lines, -51 lines 0 comments Download
M content/public/browser/content_browser_client.h View 2 chunks +3 lines, -1 line 0 comments Download
M content/public/browser/content_browser_client.cc View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
pneubeck (no reviews)
Just discussed shortly with Ryan. If this revert reduces the number of crashes, we should ...
6 years ago (2014-11-25 16:13:43 UTC) #2
mattm
Ok, going to land the revert. TBRing to David.
6 years ago (2014-11-25 21:27:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/755933002/20001
6 years ago (2014-11-25 21:28:18 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-11-25 22:33:38 UTC) #7
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/e18bf1d9005b08bba3637b16d744245e5467af0e Cr-Commit-Position: refs/heads/master@{#305707}
6 years ago (2014-11-25 22:34:30 UTC) #8
robliao
6 years ago (2014-11-26 17:59:28 UTC) #9
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/750633005/ by robliao@chromium.org.

The reason for reverting is: Leak in SSLUITestWithClientCert.TestWSSClientCert

http://build.chromium.org/p/chromium.memory/builders/Linux%20Chromium%20OS%20...

First reported leak:
Indirect leak of 104 byte(s) in 1 object(s) allocated from:
    #0 0x57659b in operator new(unsigned long)
(/tmp/run_tha_test0QXqvt/out/Release/browser_tests+0x57659b)
    #1 0x2c7762d in ProfileIOData::ResourceContext::CreateClientCertStore()
chrome/browser/profiles/profile_io_data.cc:920:7
    #2 0x6c908bd in
content::ResourceLoader::OnCertificateRequested(net::URLRequest*,
net::SSLCertRequestInfo*) content/browser/loader/resource_loader.cc:298:7
    #3 0x3e3e15f in
net::URLRequest::NotifyCertificateRequested(net::SSLCertRequestInfo*)
net/url_request/url_request.cc:1109:5
    #4 0x405ea0d in net::URLRequestHttpJob::OnStartCompleted(int)
net/url_request/url_request_http_job.cc:925:5
    #5 0x3ccd86c in Run base/callback.h:396:12
    #6 0x3ccd86c in net::HttpCache::Transaction::DoCallback(int)
net/http/http_cache_transaction.cc:710
    #7 0x3cca160 in HandleResult net/http/http_cache_transaction.cc:716:5
    #8 0x3cca160 in net::HttpCache::Transaction::DoLoop(int)
net/http/http_cache_transaction.cc:977
    #9 0x3cc7a68 in net::HttpCache::Transaction::OnIOComplete(int)
net/http/http_cache_transaction.cc:2934:3
    #10 0xc78765a in Run base/callback.h:396:12
    #11 0xc78765a in DevToolsNetworkTransaction::OnCallback(int)
chrome/browser/devtools/devtools_network_transaction.cc:73
    #12 0x3ceab0c in Run base/callback.h:396:12
    #13 0x3ceab0c in DoCallback net/http/http_network_transaction.cc:577
    #14 0x3ceab0c in net::HttpNetworkTransaction::OnIOComplete(int)
net/http/http_network_transaction.cc:594
    #15 0x394b58f in Run base/callback.h:396:12
    #16 0x394b58f in base::debug::TaskAnnotator::RunTask(char const*, char
const*, base::PendingTask const&) base/debug/task_annotator.cc:63
    #17 0x388dd3c in base::MessageLoop::RunTask(base::PendingTask const&)
base/message_loop/message_loop.cc:448:3
    #18 0x388e49b in base::MessageLoop::DeferOrRunPendingTask(base::PendingTask
const&) base/message_loop/message_loop.cc:458:5
    #19 0x388ef57 in base::MessageLoop::DoWork()
base/message_loop/message_loop.cc:567:13
    #20 0x3932db7 in
base::MessagePumpLibevent::Run(base::MessagePump::Delegate*)
base/message_loop/message_pump_libevent.cc:232:21
    #21 0x38c0c1c in base::RunLoop::Run() base/run_loop.cc:55:3
    #22 0x388c843 in base::MessageLoop::Run()
base/message_loop/message_loop.cc:310:3
    #23 0x6af33c1 in content::BrowserThreadImpl::IOThreadRun(base::MessageLoop*)
content/browser/browser_thread_impl.cc:218:3
    #24 0x6af375e in content::BrowserThreadImpl::Run(base::MessageLoop*)
content/browser/browser_thread_impl.cc:253:14
    #25 0x390cec1 in base::Thread::ThreadMain() base/threading/thread.cc:228:5
    #26 0x3901e17 in base::(anonymous namespace)::ThreadFunc(void*)
base/threading/platform_thread_posix.cc:80:3
    #27 0x7f99b0016e99 in start_thread
/build/buildd/eglibc-2.15/nptl/pthread_create.c:308.

Powered by Google App Engine
This is Rietveld 408576698