summaryrefslogtreecommitdiffstats
path: root/dom/fs/api/FileSystemManager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'dom/fs/api/FileSystemManager.cpp')
-rw-r--r--dom/fs/api/FileSystemManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/fs/api/FileSystemManager.cpp b/dom/fs/api/FileSystemManager.cpp
index 099739f8a1..5bcc49c615 100644
--- a/dom/fs/api/FileSystemManager.cpp
+++ b/dom/fs/api/FileSystemManager.cpp
@@ -100,7 +100,7 @@ void FileSystemManager::BeginRequest(
MOZ_ASSERT(mGlobal);
// Check if we're allowed to use storage
- if (mGlobal->GetStorageAccess() < StorageAccess::eSessionScoped) {
+ if (mGlobal->GetStorageAccess() <= StorageAccess::ePrivateBrowsing) {
aFailure(NS_ERROR_DOM_SECURITY_ERR);
return;
}