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

Issue 1230033005: WKWebView: Added cert verification API to web controller. (Closed)

Created:
5 years, 5 months ago by Eugene But (OOO till 7-30)
Modified:
5 years, 3 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WKWebView: Added cert verification API to web controller. This code is just a skeleton for verification and verification method is not used for making security decisions or presenting security UI. The decision to use CertVerifier instead of iOS cert verification API has not been made yet. But using CertVerifier is easier for -[WKWebView certificateChain] verification, so this CL uses CertVerifier. BUG=462427, 462425 Committed: https://crrev.com/dc5f11025e1db3b7766bf5faeacc316969b519b2 Cr-Commit-Position: refs/heads/master@{#347302}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Merged with origin/master #

Patch Set 3 : #

Total comments: 19

Patch Set 4 : Addressed review comments #

Total comments: 34

Patch Set 5 : Addressed review comments (round 2) #

Patch Set 6 : Minor cleanup. #

Total comments: 29

Patch Set 7 : Addressed review comments (round 3) #

Total comments: 28

Patch Set 8 : Addressed review comments (round 4) #

Total comments: 2

Patch Set 9 : Updated CertVerifierBlockAdapter comments. #

Patch Set 10 : Removed gtest usage #

Total comments: 53

Patch Set 11 : Addressed David's review comments #

Patch Set 12 : Put CertVerifierBlockAdapter to web namespace. #

Total comments: 8

Patch Set 13 : Resolved Stuart's codereview comments #

Total comments: 4

Patch Set 14 : Fixed threading bugs #

Total comments: 8

Patch Set 15 : Updated comments, fixed threading issue #

Patch Set 16 : Reverted view_controller change #

Total comments: 6

Patch Set 17 : Updated comments. #

Patch Set 18 : Release Web Controller on the main thread. #

Total comments: 6

Patch Set 19 : Added DCHECK(_certVerifier); #

Patch Set 20 : Moved all threading code from Web Controller to a separate class. #

Patch Set 21 : Updated comments #

Total comments: 10

Patch Set 22 : s/UNKNOWN/ERROR. #

Patch Set 23 : Threads are hard. #

Total comments: 26

Patch Set 24 : Resolved review comments #

Total comments: 6

Patch Set 25 : Adressed review NITs #

Patch Set 26 : Updated enum names #

Total comments: 4

Patch Set 27 : Relanding CL after landing dependency; #

Patch Set 28 : Updated comment (s/used/user); #

Unified diffs Side-by-side diffs Delta from patch set Stats (+599 lines, -215 lines) Patch
M ios/web/ios_web.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +2 lines, -0 lines 0 comments Download
M ios/web/ios_web_unittests.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 2 chunks +2 lines, -0 lines 0 comments Download
M ios/web/net/cert_verifier_block_adapter.h View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +39 lines, -26 lines 0 comments Download
M ios/web/net/cert_verifier_block_adapter.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +57 lines, -47 lines 0 comments Download
M ios/web/net/cert_verifier_block_adapter_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +83 lines, -138 lines 0 comments Download
A ios/web/net/crw_cert_verification_controller.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +68 lines, -0 lines 0 comments Download
A ios/web/net/crw_cert_verification_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +194 lines, -0 lines 0 comments Download
A ios/web/net/crw_cert_verification_controller_unittest.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +114 lines, -0 lines 0 comments Download
M ios/web/public/test/test_browser_state.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -1 line 0 comments Download
M ios/web/web_state/ui/crw_wk_web_view_web_controller.mm View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 5 chunks +36 lines, -3 lines 0 comments Download

Messages

Total messages: 107 (18 generated)
Eugene But (OOO till 7-30)
Chris, Robert, could you please take a look if cert verification is correct from security ...
5 years, 5 months ago (2015-07-10 19:42:02 UTC) #2
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/1/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/1/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode1144 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:1144: [self verifyCert:cert On 2015/07/10 19:42:02, eugenebut wrote: > At ...
5 years, 5 months ago (2015-07-13 16:49:51 UTC) #3
Robert Sesek
I don't see any issues here, but I'm not an expert in //net usage. rsleevi ...
5 years, 5 months ago (2015-07-16 20:41:53 UTC) #4
Eugene But (OOO till 7-30)
5 years, 5 months ago (2015-07-20 18:29:09 UTC) #7
stuartmorgan
Structure LGTM once someone familiar with the APIs is happy with it.
5 years, 5 months ago (2015-07-20 23:04:57 UTC) #8
Eugene But (OOO till 7-30)
Chris, Ryan, could you please take a look.
5 years, 5 months ago (2015-07-22 21:50:14 UTC) #9
palmer
I think you're better off with rsleevi or davidben looking at it than me.
5 years, 5 months ago (2015-07-22 22:50:02 UTC) #11
davidben
When this is all hooked up, it will want some tests to make sure it ...
5 years, 4 months ago (2015-07-31 18:58:46 UTC) #12
Eugene But (OOO till 7-30)
Thanks for review! https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode241 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:241: completionHandler:(void (^)(scoped_ptr<net::CertVerifyResult>, int))block; On 2015/07/31 18:58:46, ...
5 years, 4 months ago (2015-08-01 00:25:41 UTC) #13
Ryan Sleevi
https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode855 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:855: params.ocsp_response = ""; // Not provided by iOS API. ...
5 years, 4 months ago (2015-08-01 01:36:22 UTC) #14
davidben
https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode1193 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:1193: NSURLCredential *credential))completionHandler { On 2015/08/01 00:25:40, eugenebut wrote: > ...
5 years, 4 months ago (2015-08-03 18:06:32 UTC) #15
Eugene But (OOO till 7-30)
PTAL. Stuart, this CL has changed significantly, so PTAL as well. I guess once all ...
5 years, 4 months ago (2015-08-05 16:13:43 UTC) #17
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230033005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1230033005/60001
5 years, 4 months ago (2015-08-05 16:15:22 UTC) #19
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-05 16:32:23 UTC) #21
Ryan Sleevi
https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/40001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode855 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:855: params.ocsp_response = ""; // Not provided by iOS API. ...
5 years, 4 months ago (2015-08-06 03:07:09 UTC) #22
Ryan Sleevi
Apologies, forgot to include the "Message" With the full caveat that I don't "grok blocks", ...
5 years, 4 months ago (2015-08-06 03:07:26 UTC) #23
Eugene But (OOO till 7-30)
I understand that Adapter is very different from the rest of Chromium code. Same statement ...
5 years, 4 months ago (2015-08-07 02:27:20 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230033005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1230033005/100001
5 years, 4 months ago (2015-08-07 02:29:14 UTC) #26
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-07 03:12:32 UTC) #28
Ryan Sleevi
I defer to Stuart here for the style, but my point of view is that ...
5 years, 4 months ago (2015-08-07 21:52:12 UTC) #29
Eugene But (OOO till 7-30)
Thanks. PTAL. https://codereview.chromium.org/1230033005/diff/60001/ios/web/net/cert_verifier_block_adapter.cc File ios/web/net/cert_verifier_block_adapter.cc (right): https://codereview.chromium.org/1230033005/diff/60001/ios/web/net/cert_verifier_block_adapter.cc#newcode71 ios/web/net/cert_verifier_block_adapter.cc:71: int status = cert_verifier_->Verify(params.cert.get(), params.hostname, On 2015/08/07 ...
5 years, 4 months ago (2015-08-12 22:00:38 UTC) #30
Ryan Sleevi
I'm still really shaky on the threading bits, and things have changed since Stuart reviewed, ...
5 years, 4 months ago (2015-08-14 02:29:44 UTC) #31
Eugene But (OOO till 7-30)
Ryan, thank you for detailed feedback. David, Stuart, could you please take a look. https://codereview.chromium.org/1230033005/diff/100001/ios/web/net/cert_verifier_block_adapter_unittest.cc ...
5 years, 4 months ago (2015-08-14 21:18:20 UTC) #32
Ryan Sleevi
Just a few notes; not a re-review https://codereview.chromium.org/1230033005/diff/100001/ios/web/net/cert_verifier_block_adapter_unittest.cc File ios/web/net/cert_verifier_block_adapter_unittest.cc (right): https://codereview.chromium.org/1230033005/diff/100001/ios/web/net/cert_verifier_block_adapter_unittest.cc#newcode30 ios/web/net/cert_verifier_block_adapter_unittest.cc:30: MOCK_METHOD9(Verify, On ...
5 years, 4 months ago (2015-08-14 21:43:54 UTC) #33
Eugene But (OOO till 7-30)
Stuart, PTAL. https://codereview.chromium.org/1230033005/diff/100001/ios/web/net/cert_verifier_block_adapter_unittest.cc File ios/web/net/cert_verifier_block_adapter_unittest.cc (right): https://codereview.chromium.org/1230033005/diff/100001/ios/web/net/cert_verifier_block_adapter_unittest.cc#newcode30 ios/web/net/cert_verifier_block_adapter_unittest.cc:30: MOCK_METHOD9(Verify, On 2015/08/14 21:43:53, Ryan Sleevi (out ...
5 years, 4 months ago (2015-08-19 17:57:36 UTC) #34
davidben
Sorry we //net people are so finicky and aren't the fastest reviewers. :-) I have ...
5 years, 4 months ago (2015-08-19 18:51:46 UTC) #35
Eugene But (OOO till 7-30)
David thank you for very detailed code review. Really appreciate. PTAL. https://codereview.chromium.org/1230033005/diff/180001/ios/web/net/cert_verifier_block_adapter.cc File ios/web/net/cert_verifier_block_adapter.cc (right): ...
5 years, 4 months ago (2015-08-20 01:14:41 UTC) #36
davidben
https://codereview.chromium.org/1230033005/diff/180001/ios/web/net/cert_verifier_block_adapter.h File ios/web/net/cert_verifier_block_adapter.h (right): https://codereview.chromium.org/1230033005/diff/180001/ios/web/net/cert_verifier_block_adapter.h#newcode41 ios/web/net/cert_verifier_block_adapter.h:41: Params(const scoped_refptr<net::X509Certificate>& cert, On 2015/08/20 01:14:41, eugenebut wrote: > ...
5 years, 4 months ago (2015-08-20 01:25:27 UTC) #37
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/180001/ios/web/net/cert_verifier_block_adapter.h File ios/web/net/cert_verifier_block_adapter.h (right): https://codereview.chromium.org/1230033005/diff/180001/ios/web/net/cert_verifier_block_adapter.h#newcode41 ios/web/net/cert_verifier_block_adapter.h:41: Params(const scoped_refptr<net::X509Certificate>& cert, On 2015/08/20 01:25:27, David Benjamin (slow) ...
5 years, 4 months ago (2015-08-20 03:08:01 UTC) #38
stuartmorgan
As before, LGTM once domain experts are happy with the details. https://codereview.chromium.org/1230033005/diff/220001/ios/web/net/cert_verifier_block_adapter.h File ios/web/net/cert_verifier_block_adapter.h (right): ...
5 years, 4 months ago (2015-08-20 20:42:21 UTC) #39
stuartmorgan
https://codereview.chromium.org/1230033005/diff/180001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/180001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode144 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:144: scoped_ptr<net::CertVerifierBlockAdapter> _certVerifier; On 2015/08/20 01:14:41, eugenebut wrote: > On ...
5 years, 4 months ago (2015-08-20 20:57:43 UTC) #40
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/180001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/180001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode144 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:144: scoped_ptr<net::CertVerifierBlockAdapter> _certVerifier; On 2015/08/20 20:57:43, stuartmorgan wrote: > On ...
5 years, 4 months ago (2015-08-20 22:03:52 UTC) #41
davidben
Last comment, I promise! :-) Otherwise looks good. Sorry, I really should have noticed that ...
5 years, 4 months ago (2015-08-21 20:12:34 UTC) #42
stuartmorgan
https://codereview.chromium.org/1230033005/diff/230001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/230001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode1031 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:1031: if ([self isBeingDestroyed]) { On 2015/08/21 20:12:34, David Benjamin ...
5 years, 4 months ago (2015-08-21 21:06:42 UTC) #43
stuartmorgan
Per offline discussion, not LGTM. I didn't look closely at the threading, and there are ...
5 years, 4 months ago (2015-08-21 21:15:31 UTC) #44
davidben
On 2015/08/21 21:15:31, stuartmorgan wrote: > Per offline discussion, not LGTM. I didn't look closely ...
5 years, 4 months ago (2015-08-21 21:18:24 UTC) #45
davidben
On 2015/08/21 21:18:24, David Benjamin (slow) wrote: > On 2015/08/21 21:15:31, stuartmorgan wrote: > > ...
5 years, 4 months ago (2015-08-21 21:20:09 UTC) #46
Eugene But (OOO till 7-30)
On 2015/08/21 21:20:09, David Benjamin (slow) wrote: > On 2015/08/21 21:18:24, David Benjamin (slow) wrote: ...
5 years, 4 months ago (2015-08-21 21:25:01 UTC) #47
davidben
On 2015/08/21 21:25:01, eugenebut wrote: > On 2015/08/21 21:20:09, David Benjamin (slow) wrote: > > ...
5 years, 4 months ago (2015-08-21 21:34:46 UTC) #48
stuartmorgan
On 2015/08/21 21:34:46, David Benjamin (slow) wrote: > Sure, but that's only because you're getting ...
5 years, 4 months ago (2015-08-21 22:46:13 UTC) #49
Eugene But (OOO till 7-30)
On 2015/08/21 22:46:13, stuartmorgan wrote: > On 2015/08/21 21:34:46, David Benjamin (slow) wrote: > > ...
5 years, 4 months ago (2015-08-22 01:03:42 UTC) #50
Eugene But (OOO till 7-30)
Fixed threading bugs. PTAL https://codereview.chromium.org/1230033005/diff/180001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/180001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode924 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:924: __block scoped_refptr<net::X509Certificate> blockCert = cert; ...
5 years, 4 months ago (2015-08-24 16:31:39 UTC) #51
stuartmorgan
https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode368 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:368: [[self retain] autorelease]; I don't see how this does ...
5 years, 4 months ago (2015-08-24 17:14:19 UTC) #52
davidben
https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode1041 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:1041: completionHandler(net::CertVerifyResult(), net::ERR_FAILED); This needs a dispatch_async, etc., right?
5 years, 4 months ago (2015-08-24 17:43:31 UTC) #53
Eugene But (OOO till 7-30)
PTAL https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode368 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:368: [[self retain] autorelease]; On 2015/08/24 17:14:19, stuartmorgan wrote: ...
5 years, 4 months ago (2015-08-24 18:56:50 UTC) #54
davidben
https://codereview.chromium.org/1230033005/diff/290001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/290001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode280 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:280: // asynchronously on IO thread. This is a very ...
5 years, 4 months ago (2015-08-24 19:21:37 UTC) #55
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/290001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/290001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode280 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:280: // asynchronously on IO thread. On 2015/08/24 19:21:36, David ...
5 years, 4 months ago (2015-08-24 19:51:28 UTC) #56
stuartmorgan
https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode368 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:368: [[self retain] autorelease]; On 2015/08/24 18:56:50, eugenebut wrote: > ...
5 years, 4 months ago (2015-08-24 19:55:24 UTC) #57
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/250001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode368 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:368: [[self retain] autorelease]; On 2015/08/24 19:55:24, stuartmorgan wrote: > ...
5 years, 4 months ago (2015-08-24 20:05:31 UTC) #58
stuartmorgan
lgtm https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode649 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:649: // _contextGetter is alive at least until -close ...
5 years, 4 months ago (2015-08-24 20:34:24 UTC) #59
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode649 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:649: // _contextGetter is alive at least until -close is ...
5 years, 4 months ago (2015-08-24 21:18:07 UTC) #61
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230033005/350001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1230033005/350001
5 years, 4 months ago (2015-08-24 21:18:14 UTC) #62
davidben
https://codereview.chromium.org/1230033005/diff/290001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/290001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode280 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:280: // asynchronously on IO thread. On 2015/08/24 19:51:28, eugenebut ...
5 years, 4 months ago (2015-08-24 21:23:02 UTC) #63
stuartmorgan
https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode372 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:372: }); On 2015/08/24 21:23:02, David Benjamin wrote: > I ...
5 years, 4 months ago (2015-08-24 21:29:44 UTC) #64
davidben
https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode372 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:372: }); On 2015/08/24 21:29:43, stuartmorgan wrote: > On 2015/08/24 ...
5 years, 4 months ago (2015-08-24 21:33:42 UTC) #65
stuartmorgan
https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm File ios/web/web_state/ui/crw_wk_web_view_web_controller.mm (right): https://codereview.chromium.org/1230033005/diff/330001/ios/web/web_state/ui/crw_wk_web_view_web_controller.mm#newcode372 ios/web/web_state/ui/crw_wk_web_view_web_controller.mm:372: }); On 2015/08/24 21:33:42, David Benjamin wrote: > How ...
5 years, 4 months ago (2015-08-24 22:44:02 UTC) #66
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/94836)
5 years, 4 months ago (2015-08-24 23:11:45 UTC) #68
Eugene But (OOO till 7-30)
David, I moved all threading to a separate class (CRWCertVerificationController). If you ok with this ...
5 years, 4 months ago (2015-08-25 18:05:54 UTC) #69
davidben
https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm#newcode75 ios/web/net/crw_cert_verification_controller.mm:75: } else if (net::IsCertStatusError(result.cert_status)) { On 2015/08/25 18:05:54, eugenebut ...
5 years, 3 months ago (2015-08-26 20:19:09 UTC) #70
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm#newcode75 ios/web/net/crw_cert_verification_controller.mm:75: } else if (net::IsCertStatusError(result.cert_status)) { On 2015/08/26 20:19:09, David ...
5 years, 3 months ago (2015-08-26 21:12:48 UTC) #71
Eugene But (OOO till 7-30)
Ryan, could you please take a look at this code, which makes load/no-load decision for ...
5 years, 3 months ago (2015-08-26 21:14:18 UTC) #72
davidben
https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm#newcode83 ios/web/net/crw_cert_verification_controller.mm:83: handler(policy); On 2015/08/26 21:12:48, eugenebut wrote: > On 2015/08/26 ...
5 years, 3 months ago (2015-08-26 21:20:47 UTC) #73
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm#newcode83 ios/web/net/crw_cert_verification_controller.mm:83: handler(policy); On 2015/08/26 21:20:46, David Benjamin wrote: > On ...
5 years, 3 months ago (2015-08-26 21:56:29 UTC) #74
Eugene But (OOO till 7-30)
David, I apologize for such a long review. PTAL, I addressed the latest threading concern. ...
5 years, 3 months ago (2015-08-27 15:57:33 UTC) #75
Eugene But (OOO till 7-30)
At this point I can clearly see that CertVerifierBlockAdapter is a useless abstraction. I created ...
5 years, 3 months ago (2015-08-31 14:22:23 UTC) #76
davidben
On 2015/08/31 14:22:23, eugenebut wrote: > At this point I can clearly see that CertVerifierBlockAdapter ...
5 years, 3 months ago (2015-08-31 23:47:56 UTC) #77
davidben
Oh, you missed that we take a reference over on line... Nah, I think this ...
5 years, 3 months ago (2015-09-01 22:30:39 UTC) #78
Eugene But (OOO till 7-30)
Also written a unit test for CRWCertVerificationController. PTAL. https://codereview.chromium.org/1230033005/diff/430001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/430001/ios/web/net/crw_cert_verification_controller.mm#newcode18 ios/web/net/crw_cert_verification_controller.mm:18: On ...
5 years, 3 months ago (2015-09-02 20:17:45 UTC) #79
stuartmorgan
lgtm https://codereview.chromium.org/1230033005/diff/450001/ios/web/net/crw_cert_verification_controller.h File ios/web/net/crw_cert_verification_controller.h (right): https://codereview.chromium.org/1230033005/diff/450001/ios/web/net/crw_cert_verification_controller.h#newcode30 ios/web/net/crw_cert_verification_controller.h:30: // Caller can present recoverable SSL interstitial and ...
5 years, 3 months ago (2015-09-03 18:07:57 UTC) #80
davidben
lgtm. That was quite a review. :-) https://codereview.chromium.org/1230033005/diff/430001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/430001/ios/web/net/crw_cert_verification_controller.mm#newcode152 ios/web/net/crw_cert_verification_controller.mm:152: net::SSLConfigService* SSLConfigService ...
5 years, 3 months ago (2015-09-03 18:34:28 UTC) #81
Eugene But (OOO till 7-30)
Huge than you to everyone! And I really apologies for the number of rounds, now ...
5 years, 3 months ago (2015-09-03 18:59:05 UTC) #82
Ryan Sleevi
https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm#newcode75 ios/web/net/crw_cert_verification_controller.mm:75: } else if (net::IsCertStatusError(result.cert_status)) { On 2015/08/26 20:19:09, David ...
5 years, 3 months ago (2015-09-03 21:56:04 UTC) #83
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm File ios/web/net/crw_cert_verification_controller.mm (right): https://codereview.chromium.org/1230033005/diff/390001/ios/web/net/crw_cert_verification_controller.mm#newcode75 ios/web/net/crw_cert_verification_controller.mm:75: } else if (net::IsCertStatusError(result.cert_status)) { On 2015/09/03 21:56:04, Ryan ...
5 years, 3 months ago (2015-09-03 22:26:38 UTC) #84
Ryan Sleevi
On 2015/09/03 22:26:38, eugenebut wrote: > If cert cert has expired then net::IsCertStatusError() returns true, ...
5 years, 3 months ago (2015-09-03 22:38:11 UTC) #85
Eugene But (OOO till 7-30)
On 2015/09/03 22:38:11, Ryan Sleevi wrote: > On 2015/09/03 22:26:38, eugenebut wrote: > > If ...
5 years, 3 months ago (2015-09-03 22:52:16 UTC) #86
Ryan Sleevi
LGTM. There's still something wrong with the test, but I don't know if it's worth ...
5 years, 3 months ago (2015-09-03 23:48:03 UTC) #87
Eugene But (OOO till 7-30)
Thank you! https://codereview.chromium.org/1230033005/diff/490001/ios/web/net/cert_verifier_block_adapter_unittest.cc File ios/web/net/cert_verifier_block_adapter_unittest.cc (right): https://codereview.chromium.org/1230033005/diff/490001/ios/web/net/cert_verifier_block_adapter_unittest.cc#newcode90 ios/web/net/cert_verifier_block_adapter_unittest.cc:90: scoped_ptr<net::CertVerifier> verifier(net::CertVerifier::CreateDefault()); On 2015/09/03 23:48:03, Ryan Sleevi ...
5 years, 3 months ago (2015-09-03 23:55:37 UTC) #88
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230033005/490001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1230033005/490001
5 years, 3 months ago (2015-09-03 23:57:41 UTC) #90
Ryan Sleevi
https://codereview.chromium.org/1230033005/diff/490001/ios/web/net/cert_verifier_block_adapter_unittest.cc File ios/web/net/cert_verifier_block_adapter_unittest.cc (right): https://codereview.chromium.org/1230033005/diff/490001/ios/web/net/cert_verifier_block_adapter_unittest.cc#newcode90 ios/web/net/cert_verifier_block_adapter_unittest.cc:90: scoped_ptr<net::CertVerifier> verifier(net::CertVerifier::CreateDefault()); On 2015/09/03 23:55:37, eugenebut wrote: > As ...
5 years, 3 months ago (2015-09-04 00:01:08 UTC) #91
Eugene But (OOO till 7-30)
https://codereview.chromium.org/1230033005/diff/490001/ios/web/net/cert_verifier_block_adapter_unittest.cc File ios/web/net/cert_verifier_block_adapter_unittest.cc (right): https://codereview.chromium.org/1230033005/diff/490001/ios/web/net/cert_verifier_block_adapter_unittest.cc#newcode90 ios/web/net/cert_verifier_block_adapter_unittest.cc:90: scoped_ptr<net::CertVerifier> verifier(net::CertVerifier::CreateDefault()); On 2015/09/04 00:01:07, Ryan Sleevi wrote: > ...
5 years, 3 months ago (2015-09-04 00:04:35 UTC) #92
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-04 01:02:50 UTC) #94
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230033005/490001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1230033005/490001
5 years, 3 months ago (2015-09-04 01:10:38 UTC) #97
commit-bot: I haz the power
Committed patchset #26 (id:490001)
5 years, 3 months ago (2015-09-04 01:16:28 UTC) #98
commit-bot: I haz the power
Patchset 26 (id:??) landed as https://crrev.com/dc5f11025e1db3b7766bf5faeacc316969b519b2 Cr-Commit-Position: refs/heads/master@{#347302}
5 years, 3 months ago (2015-09-04 01:17:13 UTC) #99
Lei Zhang
... and tree's red. Revert time?
5 years, 3 months ago (2015-09-04 01:35:59 UTC) #101
Lei Zhang
A revert of this CL (patchset #26 id:490001) has been created in https://codereview.chromium.org/1306733006/ by thestig@chromium.org. ...
5 years, 3 months ago (2015-09-04 02:24:22 UTC) #102
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1230033005/530001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1230033005/530001
5 years, 3 months ago (2015-09-04 03:16:08 UTC) #104
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 3 months ago (2015-09-04 03:33:16 UTC) #106
stuartmorgan
5 years, 3 months ago (2015-09-04 14:25:46 UTC) #107
On 2015/09/03 23:48:03, Ryan Sleevi wrote:
> From an //ios/web/net perspective, there's a number of things I'd call
> concerning, but that's mostly due to my own questions regarding the conceptual
> layering of this. It's not things we'd want in //net, but they might be
> acceptable for //content or for //chrome, so it really depends on which that
> directory is trying to reflect.

//ios/web ~=~ //content
//ios/web/net ~=~ //content/{browser,common}/net (we don't have a common/browser
distinction on account of our code being in one process)

Powered by Google App Engine
This is Rietveld 408576698