summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/safe_browsing
diff options
context:
space:
mode:
authorbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 22:44:31 +0000
committerbryner@chromium.org <bryner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-17 22:44:31 +0000
commitc3227412419ae17a358e54cdf36def3288880538 (patch)
tree216e25d9e58736e891b4872b6d5d365f54e6e794 /chrome/renderer/safe_browsing
parentc8a2efe7cea1c1b1f10afdb9a835e7f24ff4da84 (diff)
downloadchromium_src-c3227412419ae17a358e54cdf36def3288880538.zip
chromium_src-c3227412419ae17a358e54cdf36def3288880538.tar.gz
chromium_src-c3227412419ae17a358e54cdf36def3288880538.tar.bz2
Make dom_feature_extractor_unittest into a browser test.
WebKit doesn't work correctly if it is shut down and re-initialized. browser_tests runs each test in its own process, which avoids this problem. TEST=passes BUG=none Review URL: http://codereview.chromium.org/3184002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56436 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/safe_browsing')
-rw-r--r--chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc (renamed from chrome/renderer/safe_browsing/phishing_dom_feature_extractor_unittest.cc)5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_unittest.cc b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc
index c90af60..965d1b5 100644
--- a/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_unittest.cc
+++ b/chrome/renderer/safe_browsing/phishing_dom_feature_extractor_browsertest.cc
@@ -1,6 +1,11 @@
// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+//
+// Note that although this is not a "browser" test, it runs as part of
+// browser_tests. This is because WebKit does not work properly if it is
+// shutdown and re-initialized. Since browser_tests runs each test in a
+// new process, this avoids the problem.
#include "chrome/renderer/safe_browsing/phishing_dom_feature_extractor.h"