Index: content/browser/indexed_db/indexed_db_browsertest.cc |
diff --git a/content/browser/indexed_db/indexed_db_browsertest.cc b/content/browser/indexed_db/indexed_db_browsertest.cc |
index b0097ed249eee391d392502e48364d93aad38bc6..ff400ecee6d1b748f1cd50f3ddfed09fe755083b 100644 |
--- a/content/browser/indexed_db/indexed_db_browsertest.cc |
+++ b/content/browser/indexed_db/indexed_db_browsertest.cc |
@@ -187,6 +187,16 @@ class IndexedDBBrowserTest : public ContentBrowserTest { |
DISALLOW_COPY_AND_ASSIGN(IndexedDBBrowserTest); |
}; |
+class IndexedDBBrowserTestWithExperimentalAPIs |
+ : public IndexedDBBrowserTest, |
+ public ::testing::WithParamInterface<const char*> { |
+ public: |
+ void SetUpCommandLine(base::CommandLine* command_line) override { |
+ command_line->AppendSwitch( |
+ switches::kEnableExperimentalWebPlatformFeatures); |
+ } |
+}; |
+ |
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CursorTest) { |
SimpleTest(GetTestUrl("indexeddb", "cursor_test.html")); |
} |
@@ -232,6 +242,11 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, CallbackAccounting) { |
SimpleTest(GetTestUrl("indexeddb", "callback_accounting.html")); |
} |
+IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithExperimentalAPIs, |
+ GetAllMaxMessageSize) { |
+ SimpleTest(GetTestUrl("indexeddb", "getall_max_message_size.html")); |
+} |
+ |
IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, DoesntHangTest) { |
SimpleTest(GetTestUrl("indexeddb", "transaction_run_forever.html")); |
CrashTab(shell()->web_contents()); |
@@ -679,16 +694,8 @@ static scoped_ptr<net::test_server::HttpResponse> CorruptDBRequestHandler( |
} // namespace |
-class IndexedDBBrowserCorruptionTest |
- : public IndexedDBBrowserTest, |
- public ::testing::WithParamInterface<const char*> { |
- public: |
- void SetUpCommandLine(base::CommandLine* command_line) override { |
- // Experimental for IDBObjectStore.getAll() |
- command_line->AppendSwitch( |
- switches::kEnableExperimentalWebPlatformFeatures); |
- } |
-}; |
+// Experimental for IDBObjectStore.getAll() |
+using IndexedDBBrowserCorruptionTest = IndexedDBBrowserTestWithExperimentalAPIs; |
IN_PROC_BROWSER_TEST_P(IndexedDBBrowserCorruptionTest, |
OperationOnCorruptedOpenDatabase) { |