From deb27ae20cd7d59fba58ad530a72b2dbf8a099ee Mon Sep 17 00:00:00 2001 From: "ben@chromium.org" Date: Fri, 10 Apr 2009 02:37:22 +0000 Subject: 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 --- webkit/glue/unittest_test_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webkit/glue/unittest_test_server.h') 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; } -- cgit v1.1