| Index: content/browser/in_process_webkit/indexed_db_browsertest.cc
|
| diff --git a/content/browser/in_process_webkit/indexed_db_browsertest.cc b/content/browser/in_process_webkit/indexed_db_browsertest.cc
|
| index 35f60b2abbe5869d627aaab53181dfc3ed037a26..47153758e7a5410397b531030c828e4125fd6eea 100644
|
| --- a/content/browser/in_process_webkit/indexed_db_browsertest.cc
|
| +++ b/content/browser/in_process_webkit/indexed_db_browsertest.cc
|
| @@ -9,6 +9,7 @@
|
| #include "base/scoped_temp_dir.h"
|
| #include "base/utf_string_conversions.h"
|
| #include "chrome/browser/ui/browser.h"
|
| +#include "chrome/common/chrome_switches.h"
|
| #include "chrome/test/in_process_browser_test.h"
|
| #include "chrome/test/testing_profile.h"
|
| #include "chrome/test/thread_test_helper.h"
|
| @@ -126,3 +127,16 @@ IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTest, ClearLocalState) {
|
| ASSERT_FALSE(file_util::PathExists(temp_file_path_1));
|
| ASSERT_TRUE(file_util::PathExists(temp_file_path_2));
|
| }
|
| +
|
| +class IndexedDBBrowserTestWithGCExposed : public IndexedDBBrowserTest {
|
| + public:
|
| + virtual void SetUpCommandLine(CommandLine* command_line) {
|
| + command_line->AppendSwitchASCII(switches::kJavaScriptFlags, "--expose-gc");
|
| + }
|
| +};
|
| +
|
| +IN_PROC_BROWSER_TEST_F(IndexedDBBrowserTestWithGCExposed,
|
| + DatabaseCallbacksTest) {
|
| + SimpleTest(
|
| + testUrl(FilePath(FILE_PATH_LITERAL("database_callbacks_first.html"))));
|
| +}
|
|
|