OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/command_line.h" | 6 #include "base/command_line.h" |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 } | 109 } |
110 | 110 |
111 // Appears flaky/slow, see: http://crbug.com/120298 | 111 // Appears flaky/slow, see: http://crbug.com/120298 |
112 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_ValueSizeTest) { | 112 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_ValueSizeTest) { |
113 SimpleTest(GetTestURL(FilePath(FILE_PATH_LITERAL("value_size_test.html")))); | 113 SimpleTest(GetTestURL(FilePath(FILE_PATH_LITERAL("value_size_test.html")))); |
114 } | 114 } |
115 | 115 |
116 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DoesntHangTest) { | 116 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DoesntHangTest) { |
117 SimpleTest(GetTestURL(FilePath( | 117 SimpleTest(GetTestURL(FilePath( |
118 FILE_PATH_LITERAL("transaction_run_forever.html")))); | 118 FILE_PATH_LITERAL("transaction_run_forever.html")))); |
119 ui_test_utils::CrashTab(chrome::GetActiveWebContents(browser())); | 119 content::CrashTab(chrome::GetActiveWebContents(browser())); |
120 SimpleTest(GetTestURL(FilePath(FILE_PATH_LITERAL("transaction_test.html")))); | 120 SimpleTest(GetTestURL(FilePath(FILE_PATH_LITERAL("transaction_test.html")))); |
121 } | 121 } |
122 | 122 |
123 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, Bug84933Test) { | 123 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, Bug84933Test) { |
124 const GURL url = GetTestURL(FilePath(FILE_PATH_LITERAL("bug_84933.html"))); | 124 const GURL url = GetTestURL(FilePath(FILE_PATH_LITERAL("bug_84933.html"))); |
125 | 125 |
126 // Just navigate to the URL. Test will crash if it fails. | 126 // Just navigate to the URL. Test will crash if it fails. |
127 ui_test_utils::NavigateToURLBlockUntilNavigationsComplete(browser(), url, 1); | 127 ui_test_utils::NavigateToURLBlockUntilNavigationsComplete(browser(), url, 1); |
128 } | 128 } |
129 | 129 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 virtual void SetUpCommandLine(CommandLine* command_line) { | 180 virtual void SetUpCommandLine(CommandLine* command_line) { |
181 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); | 181 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); |
182 } | 182 } |
183 }; | 183 }; |
184 | 184 |
185 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, | 185 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, |
186 DatabaseCallbacksTest) { | 186 DatabaseCallbacksTest) { |
187 SimpleTest( | 187 SimpleTest( |
188 GetTestURL(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); | 188 GetTestURL(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); |
189 } | 189 } |
OLD | NEW |