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

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

Issue 2167253002: s/SYN_STREAM/HEADERS/ in frame types, method names, comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 | net/http/bidirectional_stream_unittest.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 1804 matching lines...) Expand 10 before | Expand all | Expand 10 after
1815 'user-agent: Mozilla/5.0' 1815 'user-agent: Mozilla/5.0'
1816 ], 1816 ],
1817 'stream_id': 1 1817 'stream_id': 1
1818 }, 1818 },
1819 'phase': EventPhase.PHASE_NONE, 1819 'phase': EventPhase.PHASE_NONE,
1820 'source': { 1820 'source': {
1821 'id': 153, 1821 'id': 153,
1822 'type': EventSourceType.HTTP2_SESSION 1822 'type': EventSourceType.HTTP2_SESSION
1823 }, 1823 },
1824 'time': '1012984638', 1824 'time': '1012984638',
1825 'type': EventType.HTTP2_SESSION_SYN_STREAM 1825 'type': EventType.HTTP2_SESSION_SEND_HEADERS
1826 }, 1826 },
1827 { 1827 {
1828 'params': { 1828 'params': {
1829 'flags': 0, 1829 'flags': 0,
1830 'headers': [ 1830 'headers': [
1831 ':status: 204 No Content', 1831 ':status: 204 No Content',
1832 ':version: HTTP/1.1', 1832 ':version: HTTP/1.1',
1833 'date: Tue, 05 Jun 2012 19:21:30 GMT', 1833 'date: Tue, 05 Jun 2012 19:21:30 GMT',
1834 'server: GSE', 1834 'server: GSE',
1835 'set-cookie: MyMagicPony', 1835 'set-cookie: MyMagicPony',
1836 'x-random-header: sup' 1836 'x-random-header: sup'
1837 ], 1837 ],
1838 'stream_id': 5 1838 'stream_id': 5
1839 }, 1839 },
1840 'phase': EventPhase.PHASE_NONE, 1840 'phase': EventPhase.PHASE_NONE,
1841 'source': { 1841 'source': {
1842 'id': 153, 1842 'id': 153,
1843 'type': EventSourceType.HTTP2_SESSION 1843 'type': EventSourceType.HTTP2_SESSION
1844 }, 1844 },
1845 'time': '1012992266', 1845 'time': '1012992266',
1846 'type': EventType.HTTP2_SESSION_SYN_REPLY 1846 'type': EventType.HTTP2_SESSION_RECV_HEADERS
1847 } 1847 }
1848 ]; 1848 ];
1849 1849
1850 testCase.expectedText = 1850 testCase.expectedText =
1851 't=1338924082421 [st= 0] HTTP2_SESSION_SYN_STREAM\n' + 1851 't=1338924082421 [st= 0] HTTP2_SESSION_SEND_HEADERS\n' +
1852 ' --> flags = 1\n' + 1852 ' --> flags = 1\n' +
1853 ' --> :host: mail.google.com\n' + 1853 ' --> :host: mail.google.com\n' +
1854 ' :method: GET\n' + 1854 ' :method: GET\n' +
1855 ' :path: /a/google.com\n' + 1855 ' :path: /a/google.com\n' +
1856 ' :scheme: https\n' + 1856 ' :scheme: https\n' +
1857 ' :version: HTTP/1.1\n' + 1857 ' :version: HTTP/1.1\n' +
1858 ' accept: text/html\n' + 1858 ' accept: text/html\n' +
1859 ' accept-charset: ISO-8859-1\n' + 1859 ' accept-charset: ISO-8859-1\n' +
1860 ' accept-encoding: gzip,deflate,sdch\n' + 1860 ' accept-encoding: gzip,deflate,sdch\n' +
1861 ' accept-language: en-US,en;q=0.8\n' + 1861 ' accept-language: en-US,en;q=0.8\n' +
1862 ' cookie: MyMagicPony\n' + 1862 ' cookie: MyMagicPony\n' +
1863 ' user-agent: Mozilla/5.0\n' + 1863 ' user-agent: Mozilla/5.0\n' +
1864 ' --> stream_id = 1\n' + 1864 ' --> stream_id = 1\n' +
1865 't=1338924090049 [st=7628] HTTP2_SESSION_SYN_REPLY\n' + 1865 't=1338924090049 [st=7628] HTTP2_SESSION_RECV_HEADERS\n' +
1866 ' --> flags = 0\n' + 1866 ' --> flags = 0\n' +
1867 ' --> :status: 204 No Content\n' + 1867 ' --> :status: 204 No Content\n' +
1868 ' :version: HTTP/1.1\n' + 1868 ' :version: HTTP/1.1\n' +
1869 ' date: Tue, 05 Jun 2012 19:21:30 GMT\n' + 1869 ' date: Tue, 05 Jun 2012 19:21:30 GMT\n' +
1870 ' server: GSE\n' + 1870 ' server: GSE\n' +
1871 ' set-cookie: MyMagicPony\n' + 1871 ' set-cookie: MyMagicPony\n' +
1872 ' x-random-header: sup\n' + 1872 ' x-random-header: sup\n' +
1873 ' --> stream_id = 5'; 1873 ' --> stream_id = 5';
1874 1874
1875 return testCase; 1875 return testCase;
(...skipping 319 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 | net/http/bidirectional_stream_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698