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

Unified Diff: third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.idl

Issue 2692633002: Use [SecureContext] for navigator.storage (Closed)
Patch Set: TypeError and rebased tests Created 3 years, 10 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
Index: third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.idl
diff --git a/third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.idl b/third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.idl
index 09925e138497a525825cbb9ee1f3df3db689c0c1..d69e46c552f920f5ed57c0650af58ea5603233ca 100644
--- a/third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.idl
+++ b/third_party/WebKit/Source/modules/quota/NavigatorStorageQuota.idl
@@ -25,5 +25,5 @@ partial interface Navigator {
[MeasureAs=PrefixedStorageQuota] readonly attribute DeprecatedStorageQuota webkitPersistentStorage;
// https://storage.spec.whatwg.org/#api
- [RuntimeEnabled=DurableStorage] readonly attribute StorageManager storage;
+ [SecureContext, RuntimeEnabled=DurableStorage] readonly attribute StorageManager storage;
};

Powered by Google App Engine
This is Rietveld 408576698