diff options
author | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 20:46:22 +0000 |
---|---|---|
committer | tommi@chromium.org <tommi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-12 20:46:22 +0000 |
commit | a6562bd21d839e7df89c7b7e8dee357099eced81 (patch) | |
tree | 3c6d083c9343fdc6585da03c9b949f38dba19efa /chrome_frame/test/test_with_web_server.h | |
parent | 69a1f58a5d53946b7d2ed7afbd205b6ca05565a4 (diff) | |
download | chromium_src-a6562bd21d839e7df89c7b7e8dee357099eced81.zip chromium_src-a6562bd21d839e7df89c7b7e8dee357099eced81.tar.gz chromium_src-a6562bd21d839e7df89c7b7e8dee357099eced81.tar.bz2 |
An attempt to catch unexpected script errors in html test pages in a more generic way.
TEST=This is meant to help track down flakiness of a few tests.
BUG=none
Review URL: http://codereview.chromium.org/2052006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/test_with_web_server.h')
-rw-r--r-- | chrome_frame/test/test_with_web_server.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome_frame/test/test_with_web_server.h b/chrome_frame/test/test_with_web_server.h index 2f3c05d7..f670717 100644 --- a/chrome_frame/test/test_with_web_server.h +++ b/chrome_frame/test/test_with_web_server.h @@ -62,6 +62,10 @@ class ChromeFrameTestWithWebServer: public testing::Test { bool CheckResultFile(const std::wstring& file_name, const std::string& expected_result); + // If a script error was caught and reported by chrome_frame_test_helpers.js, + // we log it as an error. + void LogScriptErrorResultFile(); + const FilePath& GetCFTestFilePath() { return test_file_path_; } |