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

Issue 4664009: All SSL UI tests work with ephemeral ports. (Closed)

Created:
10 years, 1 month ago by cbentzel
Modified:
4 years, 2 months ago
CC:
chromium-reviews, cbentzel+watch_chromium.org, ben+cc_chromium.org, brettw-cc_chromium.org, pam+watch_chromium.org, Paweł Hajdan Jr., darin-cc_chromium.org
Visibility:
Public.

Description

All SSL UI tests work with ephemeral ports. This also changes the testserver text replacement hooks to accept base64 encoded pairs, and to support multiple replacement texts. These changes were needed for some of the "ssl/top_frame.html" based tests, which contained a frame with an HTML page referencing three URLs on three tdifferent test servers. BUG=56814 TEST=browser_tests --gtest_filter="*SSLUI*" Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=65819

Patch Set 1 #

Patch Set 2 : Skip preallocating vectors. #

Patch Set 3 : Remove unneeded includes. #

Patch Set 4 : File path may fail due to base64 encoding. #

Patch Set 5 : Remove extra newline. #

Patch Set 6 : Fix windows compile #

Total comments: 14

Patch Set 7 : Use pairs of strings, minor testserver.py tweaks #

Patch Set 8 : #include <utility> #

Unified diffs Side-by-side diffs Delta from patch set Stats (+193 lines, -75 lines) Patch
M chrome/browser/renderer_host/test/render_view_host_manager_browsertest.cc View 1 2 3 4 5 6 5 chunks +21 lines, -21 lines 0 comments Download
M chrome/browser/ssl/ssl_browser_tests.cc View 1 2 3 4 5 6 15 chunks +103 lines, -34 lines 0 comments Download
M chrome/test/data/ssl/frame_left.html View 1 2 3 4 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/test/data/ssl/top_frame.html View 1 chunk +1 line, -1 line 0 comments Download
M net/test/test_server.h View 1 2 3 4 5 6 7 2 chunks +10 lines, -3 lines 0 comments Download
M net/test/test_server.cc View 1 2 3 4 5 6 3 chunks +39 lines, -3 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 5 6 1 chunk +16 lines, -10 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
cbentzel
10 years, 1 month ago (2010-11-11 05:01:16 UTC) #1
akalin
http://codereview.chromium.org/4664009/diff/10001/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/4664009/diff/10001/net/test/test_server.cc#newcode281 net/test/test_server.cc:281: DCHECK_EQ(0U, (text_to_replace.size() % 2)); if you take a vector ...
10 years, 1 month ago (2010-11-11 05:20:54 UTC) #2
Paweł Hajdan Jr.
http://codereview.chromium.org/4664009/diff/10001/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/4664009/diff/10001/net/test/test_server.cc#newcode281 net/test/test_server.cc:281: DCHECK_EQ(0U, (text_to_replace.size() % 2)); On 2010/11/11 05:20:54, akalin wrote: ...
10 years, 1 month ago (2010-11-11 10:40:44 UTC) #3
cbentzel
Thanks for the speedy and useful reviews! http://codereview.chromium.org/4664009/diff/10001/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/4664009/diff/10001/net/test/test_server.cc#newcode281 net/test/test_server.cc:281: DCHECK_EQ(0U, (text_to_replace.size() ...
10 years, 1 month ago (2010-11-11 15:34:09 UTC) #4
Paweł Hajdan Jr.
LGTM
10 years, 1 month ago (2010-11-11 18:09:52 UTC) #5
akalin
10 years, 1 month ago (2010-11-11 19:35:40 UTC) #6
LGTM

On 2010/11/11 18:09:52, Paweł Hajdan Jr. wrote:
> LGTM

Powered by Google App Engine
This is Rietveld 408576698