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

Side by Side Diff: chrome/test/data/webui/net_internals/log_view_painter.js

Issue 1667583004: Landing Recent QUIC changes until 01/31/2016 05:22 UTC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@Final_0203
Patch Set: Rebase Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/domain_reliability/util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Include test fixture. 5 // Include test fixture.
6 GEN_INCLUDE(['net_internals_test.js']); 6 GEN_INCLUDE(['net_internals_test.js']);
7 7
8 // Anonymous namespace 8 // Anonymous namespace
9 (function() { 9 (function() {
10 10
(...skipping 1148 matching lines...) Expand 10 before | Expand all | Expand 10 after
1159 'phase': EventPhase.PHASE_NONE, 1159 'phase': EventPhase.PHASE_NONE,
1160 'source': { 1160 'source': {
1161 'id': 318, 1161 'id': 318,
1162 'type': EventSourceType.URL_REQUEST 1162 'type': EventSourceType.URL_REQUEST
1163 }, 1163 },
1164 'time': '953675460', 1164 'time': '953675460',
1165 'type': EventType.QUIC_SESSION_RST_STREAM_FRAME_RECEIVED 1165 'type': EventType.QUIC_SESSION_RST_STREAM_FRAME_RECEIVED
1166 }, 1166 },
1167 { 1167 {
1168 'params': { 1168 'params': {
1169 'quic_error': QuicError.QUIC_CONNECTION_TIMED_OUT, 1169 'quic_error': QuicError.QUIC_NETWORK_IDLE_TIMEOUT,
1170 }, 1170 },
1171 'phase': EventPhase.PHASE_NONE, 1171 'phase': EventPhase.PHASE_NONE,
1172 'source': { 1172 'source': {
1173 'id': 318, 1173 'id': 318,
1174 'type': EventSourceType.URL_REQUEST 1174 'type': EventSourceType.URL_REQUEST
1175 }, 1175 },
1176 'time': '953675705', 1176 'time': '953675705',
1177 'type': EventType.QUIC_SESSION_CONNECTION_CLOSE_FRAME_RECEIVED 1177 'type': EventType.QUIC_SESSION_CONNECTION_CLOSE_FRAME_RECEIVED
1178 }, 1178 },
1179 { 1179 {
1180 'params': { 1180 'params': {
1181 'quic_error': QuicError.QUIC_CONNECTION_TIMED_OUT 1181 'quic_error': QuicError.QUIC_NETWORK_IDLE_TIMEOUT
1182 }, 1182 },
1183 'phase': EventPhase.PHASE_END, 1183 'phase': EventPhase.PHASE_END,
1184 'source': { 1184 'source': {
1185 'id': 318, 1185 'id': 318,
1186 'type': EventSourceType.URL_REQUEST 1186 'type': EventSourceType.URL_REQUEST
1187 }, 1187 },
1188 'time': '953675923', 1188 'time': '953675923',
1189 'type': EventType.QUIC_SESSION 1189 'type': EventType.QUIC_SESSION
1190 } 1190 }
1191 ]; 1191 ];
1192 1192
1193 testCase.expectedText = 1193 testCase.expectedText =
1194 't=1338864773894 [st= 0] +QUIC_SESSION [dt=475]\n' + 1194 't=1338864773894 [st= 0] +QUIC_SESSION [dt=475]\n' +
1195 ' --> host = "www.example.com"\n' + 1195 ' --> host = "www.example.com"\n' +
1196 't=1338864773906 [st= 12] QUIC_SESSION_RST_STREAM_FRAME_RECEIVED\n' + 1196 't=1338864773906 [st= 12] QUIC_SESSION_RST_STREAM_FRAME_RECEIVED\n' +
1197 ' --> details = "invalid headers"\n' + 1197 ' --> details = "invalid headers"\n' +
1198 ' --> quic_rst_stream_error = ' + 1198 ' --> quic_rst_stream_error = ' +
1199 QuicRstStreamError.QUIC_BAD_APPLICATION_PAYLOAD + ' (' + 1199 QuicRstStreamError.QUIC_BAD_APPLICATION_PAYLOAD + ' (' +
1200 'QUIC_BAD_APPLICATION_PAYLOAD)\n' + 1200 'QUIC_BAD_APPLICATION_PAYLOAD)\n' +
1201 ' --> stream_id = 1\n' + 1201 ' --> stream_id = 1\n' +
1202 't=1338864774151 [st=257] QUIC_SESSION_CONNECTION_CLOSE_FRAME_RECEIVED\n' + 1202 't=1338864774151 [st=257] QUIC_SESSION_CONNECTION_CLOSE_FRAME_RECEIVED\n' +
1203 ' --> quic_error = ' + 1203 ' --> quic_error = ' +
1204 QuicError.QUIC_CONNECTION_TIMED_OUT + ' (QUIC_CONNECTION_TIMED_OUT)\n' + 1204 QuicError.QUIC_NETWORK_IDLE_TIMEOUT + ' (QUIC_NETWORK_IDLE_TIMEOUT)\n' +
1205 't=1338864774369 [st=475] -QUIC_SESSION\n' + 1205 't=1338864774369 [st=475] -QUIC_SESSION\n' +
1206 ' --> quic_error = ' + 1206 ' --> quic_error = ' +
1207 QuicError.QUIC_CONNECTION_TIMED_OUT + ' (QUIC_CONNECTION_TIMED_OUT)'; 1207 QuicError.QUIC_NETWORK_IDLE_TIMEOUT + ' (QUIC_NETWORK_IDLE_TIMEOUT)';
1208 1208
1209 return testCase; 1209 return testCase;
1210 } 1210 }
1211 1211
1212 /** 1212 /**
1213 * Tests the custom formatting of QUIC crypto handshake messages. 1213 * Tests the custom formatting of QUIC crypto handshake messages.
1214 */ 1214 */
1215 function painterTestQuicCryptoHandshakeMessage() { 1215 function painterTestQuicCryptoHandshakeMessage() {
1216 var testCase = {}; 1216 var testCase = {};
1217 testCase.tickOffset = '1337911098446'; 1217 testCase.tickOffset = '1337911098446';
(...skipping 977 matching lines...) Expand 10 before | Expand all | Expand 10 after
2195 2195
2196 testCase.expectedText = 2196 testCase.expectedText =
2197 't= 2 [st= 0] +REQUEST_ALIVE [dt=789+]\n' + 2197 't= 2 [st= 0] +REQUEST_ALIVE [dt=789+]\n' +
2198 't=152 [st=150] HTTP_STREAM_REQUEST [dt=1]\n' + 2198 't=152 [st=150] HTTP_STREAM_REQUEST [dt=1]\n' +
2199 't=791 [st=789]'; 2199 't=791 [st=789]';
2200 2200
2201 return testCase; 2201 return testCase;
2202 } 2202 }
2203 2203
2204 })(); // Anonymous namespace 2204 })(); // Anonymous namespace
OLDNEW
« no previous file with comments | « no previous file | components/domain_reliability/util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698