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

Unified Diff: chrome/test/data/webui/net_internals/log_view_painter.js

Issue 2099673003: Delete TLS version fallback code in net/http. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fallback-die-die-die-2
Patch Set: update log_view_painter Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/webui/net_internals/log_view_painter.js
diff --git a/chrome/test/data/webui/net_internals/log_view_painter.js b/chrome/test/data/webui/net_internals/log_view_painter.js
index 7a64639b97cc696f07bba137d587a6dae236b9aa..f10c0f3a8facc49a2eec4055207a7d31f3b0a01b 100644
--- a/chrome/test/data/webui/net_internals/log_view_painter.js
+++ b/chrome/test/data/webui/net_internals/log_view_painter.js
@@ -200,7 +200,6 @@ TEST_F('NetInternalsTest', 'netInternalsLogViewPainterPrintAsText', function() {
runTestCase(painterTestSpdyURLRequestStripCookies());
runTestCase(painterTestExtraCustomParameter());
runTestCase(painterTestMissingCustomParameter());
- runTestCase(painterTestSSLVersionFallback());
runTestCase(painterTestInProgressURLRequest());
runTestCase(painterTestBaseTime());
@@ -2014,74 +2013,6 @@ function painterTestMissingCustomParameter() {
}
/**
- * Tests the formatting for an SSL version fallback event.
- */
-function painterTestSSLVersionFallback() {
- var testCase = {};
- testCase.tickOffset = '1337911098400';
-
- testCase.logEntries = [
- {
- 'params': {
- 'host_and_port': 'www-927.ibm.com:443',
- 'net_error': -107,
- 'version_after': 0x301,
- 'version_before': 0x302
- },
- 'phase': EventPhase.PHASE_NONE,
- 'source': {
- 'id': 124,
- 'type': EventSourceType.URL_REQUEST
- },
- 'time': '1119062679',
- 'type': EventType.SSL_VERSION_FALLBACK
- },
- {
- 'params': {
- 'host_and_port': 'www-927.ibm.com:443',
- 'net_error': -107,
- 'version_after': 0x300,
- 'version_before': 0x301
- },
- 'phase': EventPhase.PHASE_NONE,
- 'source': {
- 'id': 124,
- 'type': EventSourceType.URL_REQUEST
- },
- 'time': '1119062850',
- 'type': EventType.SSL_VERSION_FALLBACK
- },
- {
- 'params': {
- 'version_after': 0x123456,
- 'version_before': 0x300
- },
- 'phase': EventPhase.PHASE_NONE,
- 'source': {
- 'id': 124,
- 'type': EventSourceType.URL_REQUEST
- },
- 'time': '1119062850',
- 'type': EventType.SSL_VERSION_FALLBACK
- },
- ];
-
- testCase.expectedText =
-'t=1339030161079 [st= 0] SSL_VERSION_FALLBACK\n' +
-' --> TLS 1.1 ==> TLS 1.0\n' +
-' --> host_and_port = "www-927.ibm.com:443"\n' +
-' --> net_error = -107 (ERR_SSL_PROTOCOL_ERROR)\n' +
-'t=1339030161250 [st=171] SSL_VERSION_FALLBACK\n' +
-' --> TLS 1.0 ==> SSL 3.0\n' +
-' --> host_and_port = "www-927.ibm.com:443"\n' +
-' --> net_error = -107 (ERR_SSL_PROTOCOL_ERROR)\n' +
-'t=1339030161250 [st=171] SSL_VERSION_FALLBACK\n' +
-' --> SSL 3.0 ==> SSL 0x123456';
-
- return testCase;
-}
-
-/**
* Tests the formatting of a URL request that was just finishing up when
* net-internals was opened.
*/

Powered by Google App Engine
This is Rietveld 408576698