summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/test/perf/page_cycler_test.cc13
-rw-r--r--tools/page_cycler/common/head.js5
2 files changed, 6 insertions, 12 deletions
diff --git a/chrome/test/perf/page_cycler_test.cc b/chrome/test/perf/page_cycler_test.cc
index 31401ea..e07e36b 100644
--- a/chrome/test/perf/page_cycler_test.cc
+++ b/chrome/test/perf/page_cycler_test.cc
@@ -197,11 +197,6 @@ class PageCyclerTest : public UIPerfTest {
pages->assign(UTF8ToWide(cookie));
ASSERT_FALSE(pages->empty());
- // Wait for the report.html to be loaded.
- ASSERT_TRUE(WaitUntilCookieValue(
- tab.get(), test_url, "__navigated_to_report",
- TestTimeouts::action_max_timeout_ms(), "1"));
-
// Get the timing cookie value from the DOM automation.
std::wstring wcookie;
ASSERT_TRUE(tab->ExecuteAndExtractString(L"",
@@ -447,18 +442,20 @@ TEST_F(PageCyclerReferenceTest, name) { \
// This macro simplifies setting up regular and reference build tests
// for HTML5 database tests.
+// FLAKY http://crbug.com/67918
#define PAGE_CYCLER_DATABASE_TESTS(test, name) \
-TEST_F(PageCyclerDatabaseTest, Database##name##File) { \
+TEST_F(PageCyclerDatabaseTest, FLAKY_Database##name##File) { \
RunTest(test, test, false); \
} \
-TEST_F(PageCyclerDatabaseReferenceTest, Database##name##File) { \
+TEST_F(PageCyclerDatabaseReferenceTest, FLAKY_Database##name##File) { \
RunTest(test, test, false); \
}
// This macro simplifies setting up regular and reference build tests
// for HTML5 Indexed DB tests.
+// FLAKY http://crbug.com/67918
#define PAGE_CYCLER_IDB_TESTS(test, name) \
-TEST_F(PageCyclerIndexedDatabaseTest, IndexedDB##name##File) { \
+TEST_F(PageCyclerIndexedDatabaseTest, FLAKY_IndexedDB##name##File) { \
RunTest(test, test, false); \
} \
TEST_F(PageCyclerIndexedDatabaseReferenceTest, IndexedDB##name##File) { \
diff --git a/tools/page_cycler/common/head.js b/tools/page_cycler/common/head.js
index 39bb220..19a38dc 100644
--- a/tools/page_cycler/common/head.js
+++ b/tools/page_cycler/common/head.js
@@ -74,11 +74,8 @@ function __ontimeout() {
document.location.href = url;
}
function __onload() {
- if (__results) {
- // Set a variable to indicate that the result report page is loaded.
- document.cookie = " __navigated_to_report=1; path=/";
+ if (__results)
return;
- }
var unused = document.body.offsetHeight; // force layout
var ts = 0, td = 0, te = (new Date()).getTime(), tf = 0;