summaryrefslogtreecommitdiffstats
path: root/chrome/test/page_cycler
diff options
context:
space:
mode:
authorchase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 01:30:04 +0000
committerchase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-26 01:30:04 +0000
commit4a2e88b5a5a3025f54cde74d508cbacfcea7bf30 (patch)
tree7102d422a322a99bb2deda9fce82d5daf2d9e06f /chrome/test/page_cycler
parent4efa4214727d3cc50f9ca876f843ad4b57e7c479 (diff)
downloadchromium_src-4a2e88b5a5a3025f54cde74d508cbacfcea7bf30.zip
chromium_src-4a2e88b5a5a3025f54cde74d508cbacfcea7bf30.tar.gz
chromium_src-4a2e88b5a5a3025f54cde74d508cbacfcea7bf30.tar.bz2
Revert "Changed page_cycler to use sessionStorage instead of cookies for timing values."
This reverts r56932. BUG=none TEST=page_cycler_database is green TBR=nsylvain@chromium.org Review URL: http://codereview.chromium.org/3126032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57445 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/page_cycler')
-rw-r--r--chrome/test/page_cycler/page_cycler_test.cc9
1 files changed, 1 insertions, 8 deletions
diff --git a/chrome/test/page_cycler/page_cycler_test.cc b/chrome/test/page_cycler/page_cycler_test.cc
index 0520f38..d7a7454 100644
--- a/chrome/test/page_cycler/page_cycler_test.cc
+++ b/chrome/test/page_cycler/page_cycler_test.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2006-2009 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.
@@ -162,7 +162,6 @@ class PageCyclerTest : public UITest {
PageCyclerTest()
: print_times_only_(false) {
show_window_ = true;
- dom_automation_enabled_ = true;
const CommandLine& parsed_command_line = *CommandLine::ForCurrentProcess();
num_test_iterations_ = TEST_ITERATIONS;
@@ -246,12 +245,6 @@ class PageCyclerTest : public UITest {
pages->assign(UTF8ToWide(cookie));
ASSERT_FALSE(pages->empty());
ASSERT_TRUE(tab->GetCookieByName(test_url, "__pc_timings", &cookie));
- std::wstring wcookie;
- ASSERT_TRUE(tab->ExecuteAndExtractString(L"",
- L"window.domAutomationController.send("
- L"JSON.stringify(__get_timings()));",
- &wcookie));
- cookie = base::SysWideToNativeMB(wcookie);
timings->assign(cookie);
ASSERT_FALSE(timings->empty());
}