OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/scoped_temp_dir.h" | 10 #include "base/scoped_temp_dir.h" |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) { | 63 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) { |
64 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html")))); | 64 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html")))); |
65 } | 65 } |
66 | 66 |
67 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTestIncognito) { | 67 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTestIncognito) { |
68 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))), | 68 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))), |
69 true /* incognito */); | 69 true /* incognito */); |
70 } | 70 } |
71 | 71 |
| 72 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorPrefetch) { |
| 73 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_prefetch.html")))); |
| 74 } |
| 75 |
72 // Flaky: http://crbug.com/70773 | 76 // Flaky: http://crbug.com/70773 |
73 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_IndexTest) { | 77 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_IndexTest) { |
74 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("index_test.html")))); | 78 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("index_test.html")))); |
75 } | 79 } |
76 | 80 |
77 // Flaky: http://crbug.com/70773 | 81 // Flaky: http://crbug.com/70773 |
78 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) { | 82 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) { |
79 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_path_test.html")))); | 83 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("key_path_test.html")))); |
80 } | 84 } |
81 | 85 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 virtual void SetUpCommandLine(CommandLine* command_line) { | 256 virtual void SetUpCommandLine(CommandLine* command_line) { |
253 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); | 257 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); |
254 } | 258 } |
255 }; | 259 }; |
256 | 260 |
257 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, | 261 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, |
258 DatabaseCallbacksTest) { | 262 DatabaseCallbacksTest) { |
259 SimpleTest( | 263 SimpleTest( |
260 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); | 264 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); |
261 } | 265 } |
OLD | NEW |