Need unittests for client auth when running in the Network Service |
||||||
Issue descriptionNoticed when looking at the coverage for services/network/url_loader, we don't have any tests that exercise the client auth path. Example report: https://chromium-coverage.appspot.com/reports/558266/linux/chromium/src/services/network/url_loader.cc.html Tests would include: - Cancelling a connection (not proceeding) - Continuing with no certificate (sending a null certificate) - Continuing with a certificate Testing this at the browsertest layer doesn't work, because the OS-provided client cert store is already glued up, and that's not usable for unittests. This would likely need to be within the URLLoader tests themselves, unless/until a way of imposing additional construction parameters is done.
,
May 16 2018
+juncai, you recently are working on client auth, would you be willing to take this?
,
May 16 2018
Sure, thanks!
,
May 22 2018
this will not block canary.
,
May 22 2018
,
Sep 7
,
Sep 19
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/28dc4f10853e82ae4ab52909a346cc51d9b495ba commit 28dc4f10853e82ae4ab52909a346cc51d9b495ba Author: Jun Cai <juncai@chromium.org> Date: Wed Sep 19 16:59:53 2018 Network Service: Add client auth unittests for URLLoader Bug: 843384 Cq-Include-Trybots: luci.chromium.try:linux_mojo Change-Id: Ib5d7677cbba9a715fbe295c530dea58135a79250 Reviewed-on: https://chromium-review.googlesource.com/1222291 Reviewed-by: Matt Menke <mmenke@chromium.org> Reviewed-by: Ryan Sleevi <rsleevi@chromium.org> Commit-Queue: Jun Cai <juncai@chromium.org> Cr-Commit-Position: refs/heads/master@{#592443} [modify] https://crrev.com/28dc4f10853e82ae4ab52909a346cc51d9b495ba/services/network/url_loader_unittest.cc
,
Sep 19
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by rsleevi@chromium.org
, May 15 2018