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

Issue 165091: Enable new FTP for Windows TestShell so that the results of block-test.html a... (Closed)

Created:
11 years, 4 months ago by darin (slow to review)
Modified:
9 years, 7 months ago
Reviewers:
wtc, dglazkov
CC:
chromium-reviews_googlegroups.com, darin (slow to review)
Visibility:
Public.

Description

Enable new FTP for Windows TestShell so that the results of block-test.html are the same across platforms. WTC tells me that it should be ready to go, and it anyways is only exercised by these two security/block-test*.html tests. Also, add back the fix from r22651. Extend that fix a bit so that when we do not have a special mapping, we just spit out the existing error code value. This way, if we get an unexpected result, the output will tell us what the original error code was. This change doesn't impact any layout tests. R=dglazkov,wtc BUG=18665 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=22686

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -24 lines) Patch
M webkit/data/layout_tests/platform/chromium-win/LayoutTests/security/block-test-expected.txt View 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M webkit/tools/layout_tests/test_expectations.txt View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell_request_context.cc View 1 2 3 2 chunks +0 lines, -9 lines 0 comments Download
M webkit/tools/test_shell/test_shell_switches.h View 1 chunk +0 lines, -1 line 0 comments Download
M webkit/tools/test_shell/test_shell_switches.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 3 2 chunks +4 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
darin (slow to review)
wtc: you only need to review the change to test_shell_request_context.cc, which enables new ftp for ...
11 years, 4 months ago (2009-08-06 22:11:26 UTC) #1
dglazkov
LGTM!
11 years, 4 months ago (2009-08-06 22:38:59 UTC) #2
wtc
LGTM on my part. But more code can be removed. http://codereview.chromium.org/165091/diff/11/1010 File webkit/tools/test_shell/test_shell_request_context.cc (left): http://codereview.chromium.org/165091/diff/11/1010#oldcode64 ...
11 years, 4 months ago (2009-08-06 22:40:55 UTC) #3
darin (slow to review)
11 years, 4 months ago (2009-08-06 22:44:51 UTC) #4
Good catch, Wan-Teh!-Darin

On Thu, Aug 6, 2009 at 3:40 PM, <wtc@chromium.org> wrote:

> LGTM on my part.  But more code can be removed.
>
>
> http://codereview.chromium.org/165091/diff/11/1010
> File webkit/tools/test_shell/test_shell_request_context.cc (left):
>
> http://codereview.chromium.org/165091/diff/11/1010#oldcode64
> Line 64: if
> (CommandLine::ForCurrentProcess()->HasSwitch(test_shell::kNewFtp))
> Please also remove the test_shell command-line switch
> kNewFtp from test_shell_switches.{cc,h}.
>
> http://codereview.chromium.org/165091/diff/11/1010
> File webkit/tools/test_shell/test_shell_request_context.cc (right):
>
> http://codereview.chromium.org/165091/diff/11/1010#newcode7
> Line 7: #include "base/command_line.h"
> See if you can remove this and
> "webkit/tools/test_shell/test_shell_switches.h".
>
> I added them for the
> CommandLine::ForCurrentProcess()->HasSwitch(test_shell::kNewFtp)
> call below.
>
>
> http://codereview.chromium.org/165091
>

Powered by Google App Engine
This is Rietveld 408576698