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

Unified Diff: chrome/browser/browsing_data_quota_helper_unittest.cc

Issue 9958107: Limiting the "Cookies and site data" form to "web safe" schemes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: License. Created 8 years, 9 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/browsing_data_quota_helper_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browsing_data_quota_helper_unittest.cc
diff --git a/chrome/browser/browsing_data_quota_helper_unittest.cc b/chrome/browser/browsing_data_quota_helper_unittest.cc
index 5203b881e0963803b875376ed7b77552432a3aba..41351d30ccd32a951f0edaea38dc86a107065a20 100644
--- a/chrome/browser/browsing_data_quota_helper_unittest.cc
+++ b/chrome/browser/browsing_data_quota_helper_unittest.cc
@@ -160,7 +160,7 @@ TEST_F(BrowsingDataQuotaHelperTest, FetchData) {
EXPECT_TRUE(expected == actual);
}
-TEST_F(BrowsingDataQuotaHelperTest, IgnoreExtensions) {
+TEST_F(BrowsingDataQuotaHelperTest, IgnoreExtensionsAndDevTools) {
const quota::MockOriginData kOrigins[] = {
{"http://example.com/", quota::kStorageTypeTemporary, 1},
{"https://example.com/", quota::kStorageTypeTemporary, 10},
@@ -170,6 +170,10 @@ TEST_F(BrowsingDataQuotaHelperTest, IgnoreExtensions) {
quota::kStorageTypeTemporary, 10000},
{"chrome-extension://abcdefghijklmnopqrstuvwxyz/",
quota::kStorageTypePersistent, 100000},
+ {"chrome-devtools://abcdefghijklmnopqrstuvwxyz/",
+ quota::kStorageTypeTemporary, 10000},
+ {"chrome-devtools://abcdefghijklmnopqrstuvwxyz/",
+ quota::kStorageTypePersistent, 100000},
};
RegisterClient(kOrigins, arraysize(kOrigins));
« no previous file with comments | « chrome/browser/browsing_data_quota_helper_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698