Chromium Code Reviews
DescriptionRemove the test-only X509Certificate constructor
net::X509Certificate had a constructor that was intended
for test-only code that allowed minting a fake
certificate. However, this is a frequent source of test
bugs, because these certificates violate one of
X509Certificate's core guarantees - that there's always
an associated OSCertHandle for an X509Certificate.
This removes the ctor and all usages of it. Code either
imports a test certificate directly or mints them on the
fly, as appropriate.
BUG=526899
TBR=rdevlin.cronin@chromium.org
Committed: https://crrev.com/f300d683274a040d68a367aeed7aecbdc3a611a8
Cr-Commit-Position: refs/heads/master@{#401430}
Patch Set 1 #Patch Set 2 : Fix #Patch Set 3 : Fixes #Patch Set 4 : Prerender fix #Patch Set 5 : Fixup .isolate for GYP build #
Total comments: 9
Patch Set 6 : Fix isolate #Patch Set 7 : Rebased #Messages
Total messages: 40 (18 generated)
|