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

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

Issue 11287002: IndexedDB: Ensure pending callbacks are fired before dispatcher is torn down (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
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 "content/test/layout_browsertest.h" 5 #include "content/test/layout_browsertest.h"
6 6
7 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest { 7 class IndexedDBLayoutTest : public InProcessBrowserLayoutTest {
8 public: 8 public:
9 IndexedDBLayoutTest() : InProcessBrowserLayoutTest( 9 IndexedDBLayoutTest() : InProcessBrowserLayoutTest(
10 FilePath(), FilePath().AppendASCII("storage").AppendASCII("indexeddb")) { 10 FilePath(), FilePath().AppendASCII("storage").AppendASCII("indexeddb")) {
(...skipping 16 matching lines...) Expand all
27 "factory-basics.html", 27 "factory-basics.html",
28 "index-basics.html", 28 "index-basics.html",
29 "objectstore-basics.html", 29 "objectstore-basics.html",
30 NULL 30 NULL
31 }; 31 };
32 32
33 static const char* kComplexTests[] = { 33 static const char* kComplexTests[] = {
34 "prefetch-bugfix-108071.html", 34 "prefetch-bugfix-108071.html",
35 // Flaky: http://crbug.com/123685 35 // Flaky: http://crbug.com/123685
36 // "pending-version-change-stuck-works-with-terminate.html", 36 // "pending-version-change-stuck-works-with-terminate.html",
37 "pending-version-change-on-exit.html",
37 NULL 38 NULL
38 }; 39 };
39 40
40 static const char* kIndexTests[] = { 41 static const char* kIndexTests[] = {
41 "deleteIndex.html", 42 "deleteIndex.html",
42 // Flaky: http://crbug.com/123685 43 // Flaky: http://crbug.com/123685
43 // "index-basics-workers.html", 44 // "index-basics-workers.html",
44 "index-count.html", 45 "index-count.html",
45 "index-cursor.html", // Locally takes ~6s compared to <1 for the others. 46 "index-cursor.html", // Locally takes ~6s compared to <1 for the others.
46 "index-get-key-argument-required.html", 47 "index-get-key-argument-required.html",
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 RunLayoutTests(kTransactionTests); 125 RunLayoutTests(kTransactionTests);
125 } 126 }
126 127
127 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, IntVersionTests) { 128 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, IntVersionTests) {
128 RunLayoutTests(kIntVersionTests); 129 RunLayoutTests(kIntVersionTests);
129 } 130 }
130 131
131 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) { 132 IN_PROC_BROWSER_TEST_F(IndexedDBLayoutTest, RegressionTests) {
132 RunLayoutTests(kRegressionTests); 133 RunLayoutTests(kRegressionTests);
133 } 134 }
OLDNEW
« no previous file with comments | « no previous file | content/common/indexed_db/indexed_db_dispatcher.cc » ('j') | content/common/indexed_db/indexed_db_dispatcher.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698