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

Unified Diff: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h

Issue 2005783005: Re-enable storage for Suborigins. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rebase on ToT Created 4 years, 2 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 | « third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-storage-dom-access.php ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
index f34f25d0b6ac3ead151525961d9389cd9703c1ef..d789b9ec22da9015f680dce64ea28965b3015a26 100644
--- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
+++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.h
@@ -175,7 +175,7 @@ class PLATFORM_EXPORT SecurityOrigin : public RefCounted<SecurityOrigin> {
bool isGrantedUniversalAccess() const { return m_universalAccess; }
bool canAccessDatabase() const { return !isUnique(); }
- bool canAccessLocalStorage() const { return !isUnique() && !hasSuborigin(); }
+ bool canAccessLocalStorage() const { return !isUnique(); }
bool canAccessSharedWorkers() const { return !isUnique(); }
bool canAccessServiceWorkers() const {
return !isUnique() && !hasSuborigin();
« no previous file with comments | « third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-storage-dom-access.php ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698