We only use that from web sockets. This would fix http/tests/ssl/upgrade-origin-usage.html
Created attachment 302074 [details] Patch
Comment on attachment 302074 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=302074&action=review > Source/WebCore/testing/InternalSettings.cpp:768 > Settings::setAllowsAnySSLCertificate(allowsAnyCertificate); > +#if USE(SOUP) > + SoupNetworkSession::setShouldIgnoreTLSErrors(allowsAnyCertificate); > +#endif Why is this the right place? Why not in Settings::setAllowsAnySSLCertificate?
(In reply to comment #2) > Comment on attachment 302074 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=302074&action=review > > > Source/WebCore/testing/InternalSettings.cpp:768 > > Settings::setAllowsAnySSLCertificate(allowsAnyCertificate); > > +#if USE(SOUP) > > + SoupNetworkSession::setShouldIgnoreTLSErrors(allowsAnyCertificate); > > +#endif > > Why is this the right place? Why not in Settings::setAllowsAnySSLCertificate? I wanted to make sure that this is only used from layout tests.
Committed r212623: <http://trac.webkit.org/changeset/212623>