Index: content/browser/indexed_db/indexed_db_browsertest.cc |
=================================================================== |
--- content/browser/indexed_db/indexed_db_browsertest.cc (revision 236350) |
+++ content/browser/indexed_db/indexed_db_browsertest.cc (working copy) |
@@ -431,4 +431,16 @@ |
EXPECT_EQ(expected_title16, title_watcher.WaitAndGetTitle()); |
} |
+class IndexedDBBrowserTestSingleProcess : public IndexedDBBrowserTest { |
+ public: |
+ virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE { |
+ command_line->AppendSwitch(switches::kSingleProcess); |
+ } |
+}; |
+ |
+IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestSingleProcess, |
+ RenderThreadShutdownTest) { |
+ SimpleTest(GetTestUrl("indexeddb", "shutdown_with_requests.html")); |
+} |
+ |
} // namespace content |