summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/test_shell_main.cc
diff options
context:
space:
mode:
authorkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 01:02:02 +0000
committerkuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-23 01:02:02 +0000
commit544219f4ebbc269a5b4cc7346286d1a21d5138c2 (patch)
treebfb3cf20316612e32bfd2a9cea681c306dbc6b11 /webkit/tools/test_shell/test_shell_main.cc
parent1da70a5924f41d7e2682c43e175b1b05796d13d4 (diff)
downloadchromium_src-544219f4ebbc269a5b4cc7346286d1a21d5138c2.zip
chromium_src-544219f4ebbc269a5b4cc7346286d1a21d5138c2.tar.gz
chromium_src-544219f4ebbc269a5b4cc7346286d1a21d5138c2.tar.bz2
Dump text/image on notifyDone.
Review URL: http://codereview.chromium.org/18440 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8532 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell_main.cc')
-rw-r--r--webkit/tools/test_shell/test_shell_main.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/webkit/tools/test_shell/test_shell_main.cc b/webkit/tools/test_shell/test_shell_main.cc
index 3e4ecf3..3a52828 100644
--- a/webkit/tools/test_shell/test_shell_main.cc
+++ b/webkit/tools/test_shell/test_shell_main.cc
@@ -355,12 +355,13 @@ int main(int argc, char* argv[]) {
if (!*filenameBuffer)
continue;
-
- if (!TestShell::RunFileTest(filenameBuffer, params))
+ params.test_url = filenameBuffer;
+ if (!TestShell::RunFileTest(params))
break;
}
} else {
- TestShell::RunFileTest(WideToUTF8(uri).c_str(), params);
+ params.test_url = WideToUTF8(uri).c_str();
+ TestShell::RunFileTest(params);
}
shell->CallJSGC();