diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 15:30:32 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-03-18 15:30:32 +0000 |
commit | 1afb9af0b6a4471088825e168dbf8ad2a5aa7c08 (patch) | |
tree | b1a1e44cbb8d66490270b82c9443460eda6118fe /content/shell/webkit_test_runner.h | |
parent | 7598787c6c5141d8babfa7023605738e4628b5bd (diff) | |
download | chromium_src-1afb9af0b6a4471088825e168dbf8ad2a5aa7c08.zip chromium_src-1afb9af0b6a4471088825e168dbf8ad2a5aa7c08.tar.gz chromium_src-1afb9af0b6a4471088825e168dbf8ad2a5aa7c08.tar.bz2 |
[content shell] prune the history as soon as a pending navigation entry for the next layout test exists
Since we prune the history asynchronously from the browser, we need to prune it
before the renderer had a chance to access it for the next test.
BUG=171128
TEST=history tests don't report a too long session history
Review URL: https://codereview.chromium.org/12483009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@188744 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/webkit_test_runner.h')
-rw-r--r-- | content/shell/webkit_test_runner.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/shell/webkit_test_runner.h b/content/shell/webkit_test_runner.h index fd8805b..a66445a 100644 --- a/content/shell/webkit_test_runner.h +++ b/content/shell/webkit_test_runner.h @@ -98,6 +98,7 @@ class WebKitTestRunner : public RenderViewObserver, const std::vector<int>& routing_ids, const std::vector<std::vector<std::string> >& session_histories, const std::vector<unsigned>& current_entry_indexes); + void OnReset(); // After finishing the test, retrieves the audio, text, and pixel dumps from // the TestRunner library and sends them to the browser process. |