Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1207)

Side by Side Diff: content/browser/in_process_webkit/indexed_db_browsertest.cc

Issue 9117040: Prep for landing WK76487 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Move default: label to last, add bug URL to TODO comment Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/indexed_db/idbbindingutilities_browsertest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/scoped_temp_dir.h" 10 #include "base/scoped_temp_dir.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 if (result != "pass") { 53 if (result != "pass") {
54 std::string js_result; 54 std::string js_result;
55 ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractString( 55 ASSERT_TRUE(ui_test_utils::ExecuteJavaScriptAndExtractString(
56 the_browser->GetSelectedWebContents()->GetRenderViewHost(), L"", 56 the_browser->GetSelectedWebContents()->GetRenderViewHost(), L"",
57 L"window.domAutomationController.send(getLog())", &js_result)); 57 L"window.domAutomationController.send(getLog())", &js_result));
58 FAIL() << "Failed: " << js_result; 58 FAIL() << "Failed: " << js_result;
59 } 59 }
60 } 60 }
61 }; 61 };
62 62
63 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) { 63 // TODO(jsbell): Disabled to land WK76487; http://crbug.com/110956 has fix.
64 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_CursorTest) {
64 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html")))); 65 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))));
65 } 66 }
66 67
67 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTestIncognito) { 68 // TODO(jsbell): Disabled to land WK76487; http://crbug.com/110956 has fix.
69 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_CursorTestIncognito) {
68 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))), 70 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_test.html"))),
69 true /* incognito */); 71 true /* incognito */);
70 } 72 }
71 73
72 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorPrefetch) { 74 // TODO(jsbell): Disabled to land WK76487; http://crbug.com/110956 has fix.
75 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_CursorPrefetch) {
73 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_prefetch.html")))); 76 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("cursor_prefetch.html"))));
74 } 77 }
75 78
76 // Flaky: http://crbug.com/70773 79 // Flaky: http://crbug.com/70773
77 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_IndexTest) { 80 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_IndexTest) {
78 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("index_test.html")))); 81 SimpleTest(testUrl(FilePath(FILE_PATH_LITERAL("index_test.html"))));
79 } 82 }
80 83
81 // Flaky: http://crbug.com/70773 84 // Flaky: http://crbug.com/70773
82 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) { 85 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DISABLED_KeyPathTest) {
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
323 virtual void SetUpCommandLine(CommandLine* command_line) { 326 virtual void SetUpCommandLine(CommandLine* command_line) {
324 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc"); 327 command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
325 } 328 }
326 }; 329 };
327 330
328 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed, 331 IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed,
329 DatabaseCallbacksTest) { 332 DatabaseCallbacksTest) {
330 SimpleTest( 333 SimpleTest(
331 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html")))); 334 testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html"))));
332 } 335 }
OLDNEW
« no previous file with comments | « no previous file | content/browser/indexed_db/idbbindingutilities_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698