From a7215f5d4723b74a071cfe9d2f827392a2ce9022 Mon Sep 17 00:00:00 2001 From: "dpranke@google.com" Date: Wed, 30 Sep 2009 23:12:17 +0000 Subject: Fix issue #23442 - when test shell is run in layout test mode and a URL is passed in on the command line (which happens when running under Purify using --run-singly), the URL is canonicalized and echoed back into the output. The net result of this is that if we passed in a file:///c:/ URL with a lower case drive letter, the output gets echoed back with an upper case drive letter (file:///C:/). The test harness checks the output URL against the input URL to make sure we're getting the output we expect, and in this case it bails out (incorrectly). To fix this, we change test_shell to echo out the URL as passed in. BUG=http://crbug.com/23442 TEST=none R=darin@chromium.org Review URL: http://codereview.chromium.org/249045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@27681 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/tools/test_shell/test_shell_main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc index 951b87d..783f7aa 100644 --- a/webkit/tools/test_shell/test_shell_main.cc +++ b/webkit/tools/test_shell/test_shell_main.cc @@ -321,7 +321,7 @@ int main(int argc, char* argv[]) { } else { // TODO(ojan): Provide a way for run-singly tests to pass // in a hash and then set params.pixel_hash here. - params.test_url = starting_url.spec(); + params.test_url = WideToUTF8(loose_values[0]); TestShell::RunFileTest(params); } -- cgit v1.1