summaryrefslogtreecommitdiffstats
path: root/webkit/glue/unittest_test_server.h
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 02:37:22 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 02:37:22 +0000
commitdeb27ae20cd7d59fba58ad530a72b2dbf8a099ee (patch)
tree7c751a2197b767521e89849abd2cb35e874238d0 /webkit/glue/unittest_test_server.h
parentce7c39483b5e113ec862a231580684f35268c227 (diff)
downloadchromium_src-deb27ae20cd7d59fba58ad530a72b2dbf8a099ee.zip
chromium_src-deb27ae20cd7d59fba58ad530a72b2dbf8a099ee.tar.gz
chromium_src-deb27ae20cd7d59fba58ad530a72b2dbf8a099ee.tar.bz2
Scrape search definitions from forms that have onsubmit handlers. The scraping is done after submit events are handled by the page DOM so doing this is safe.
Adds test infrastructure for determining that scraping occurs on submit: - allow testserver to be configured to serve pages from / on the server - provide a ui test util that navigates and waits for N subsequent redirections/navigations before returning control to the test to handle automated submission Eric, please review the test server changes. Scott, please look over everything else. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=13444 Review URL: http://codereview.chromium.org/62145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13491 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/unittest_test_server.h')
-rw-r--r--webkit/glue/unittest_test_server.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/unittest_test_server.h b/webkit/glue/unittest_test_server.h
index c8e622b..583abf9 100644
--- a/webkit/glue/unittest_test_server.h
+++ b/webkit/glue/unittest_test_server.h
@@ -26,7 +26,7 @@ class UnittestTestServer : public HTTPTestServer {
FilePath no_cert;
FilePath docroot = FilePath::FromWStringHack(L"webkit/data");
if (!test_server->Start(net::TestServerLauncher::ProtoHTTP,
- "localhost", 1337, docroot, no_cert)) {
+ "localhost", 1337, docroot, no_cert, std::wstring())) {
delete test_server;
return NULL;
}