summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/ActorsParent.cpp
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-09-29 00:16:29 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-09-29 00:16:29 +0200
commit097f982b32b1cb0915b760c1a40f67806081f45a (patch)
treebd90476a3c73b3f7045d666f944832da4aecf90f /dom/indexedDB/ActorsParent.cpp
parentbb68f6a4378c930b1a02c6a8f1fa9a9dff2251b0 (diff)
downloadUXP-097f982b32b1cb0915b760c1a40f67806081f45a.tar
UXP-097f982b32b1cb0915b760c1a40f67806081f45a.tar.gz
UXP-097f982b32b1cb0915b760c1a40f67806081f45a.tar.lz
UXP-097f982b32b1cb0915b760c1a40f67806081f45a.tar.xz
UXP-097f982b32b1cb0915b760c1a40f67806081f45a.zip
Remove IndexedDB for content pref.
Tag Issue #765
Diffstat (limited to 'dom/indexedDB/ActorsParent.cpp')
-rw-r--r--dom/indexedDB/ActorsParent.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/dom/indexedDB/ActorsParent.cpp b/dom/indexedDB/ActorsParent.cpp
index e6fe9e2a8..a3dc710ed 100644
--- a/dom/indexedDB/ActorsParent.cpp
+++ b/dom/indexedDB/ActorsParent.cpp
@@ -249,8 +249,6 @@ const char kSQLiteJournalSuffix[] = ".sqlite-journal";
const char kSQLiteSHMSuffix[] = ".sqlite-shm";
const char kSQLiteWALSuffix[] = ".sqlite-wal";
-const char kPrefIndexedDBEnabled[] = "dom.indexedDB.enabled";
-
const char kPrefFileHandleEnabled[] = "dom.fileHandle.enabled";
#define IDB_PREFIX "indexedDB"
@@ -21172,16 +21170,6 @@ FactoryOp::CheckPermission(ContentParent* aContentParent,
return NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR;
}
- if (NS_WARN_IF(!Preferences::GetBool(kPrefIndexedDBEnabled, false))) {
- if (aContentParent) {
- // The DOM in the other process should have kept us from receiving any
- // indexedDB messages so assume that the child is misbehaving.
- aContentParent->KillHard("IndexedDB CheckPermission 1");
- }
-
- return NS_ERROR_DOM_INDEXEDDB_NOT_ALLOWED_ERR;
- }
-
const ContentPrincipalInfo& contentPrincipalInfo =
principalInfo.get_ContentPrincipalInfo();
if (contentPrincipalInfo.attrs().mPrivateBrowsingId != 0) {