OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/file_path.h" | 5 #include "base/file_path.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/test/test_timeouts.h" | 7 #include "base/test/test_timeouts.h" |
8 #include "chrome/test/automation/tab_proxy.h" | 8 #include "chrome/test/automation/tab_proxy.h" |
9 #include "chrome/test/base/ui_test_utils.h" | 9 #include "chrome/test/base/ui_test_utils.h" |
10 #include "chrome/test/ui/ui_layout_test.h" | 10 #include "chrome/test/ui/ui_layout_test.h" |
11 #include "content/common/content_switches.h" | 11 #include "content/public/common/content_switches.h" |
12 #include "net/base/net_util.h" | 12 #include "net/base/net_util.h" |
13 | 13 |
14 static const char* kRootFiles[] = { | 14 static const char* kRootFiles[] = { |
15 "clear.html", | 15 "clear.html", |
16 // "complex-keys.html", // Output too big for a cookie. crbug.com/33472 | 16 // "complex-keys.html", // Output too big for a cookie. crbug.com/33472 |
17 // "complex-values.html", // crbug.com/33472 | 17 // "complex-values.html", // crbug.com/33472 |
18 "quota.html", | 18 "quota.html", |
19 "remove-item.html", | 19 "remove-item.html", |
20 "window-attributes-exist.html", | 20 "window-attributes-exist.html", |
21 NULL | 21 NULL |
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 NavigateToURL(GURL("javascript:set()")); | 182 NavigateToURL(GURL("javascript:set()")); |
183 QuitBrowser(); | 183 QuitBrowser(); |
184 EXPECT_FALSE(StorageDirIsEmpty()); | 184 EXPECT_FALSE(StorageDirIsEmpty()); |
185 | 185 |
186 LaunchBrowserAndServer(); | 186 LaunchBrowserAndServer(); |
187 NavigateToURL(TestUrl()); | 187 NavigateToURL(TestUrl()); |
188 NavigateToURL(GURL("javascript:clear()")); | 188 NavigateToURL(GURL("javascript:clear()")); |
189 QuitBrowser(); | 189 QuitBrowser(); |
190 EXPECT_TRUE(StorageDirIsEmpty()); | 190 EXPECT_TRUE(StorageDirIsEmpty()); |
191 } | 191 } |
OLD | NEW |