зеркало из https://github.com/mozilla/gecko-dev.git
Bug 890304 - Remove the indexeddb.feature.enabled pref. r=sicking
This commit is contained in:
Родитель
98d7e22ea3
Коммит
859692a042
|
@ -257,7 +257,6 @@ pref("layers.async-pan-zoom.enabled", true);
|
|||
pref("notification.feature.enabled", true);
|
||||
|
||||
// IndexedDB
|
||||
pref("indexedDB.feature.enabled", true);
|
||||
pref("dom.indexedDB.warningQuota", 5);
|
||||
|
||||
// prevent video elements from preloading too much data
|
||||
|
|
|
@ -1195,7 +1195,7 @@ nsDOMClassInfo::Init()
|
|||
AutoSafeJSContext cx;
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN(Window, nsIDOMWindow)
|
||||
DOM_CLASSINFO_WINDOW_MAP_ENTRIES(nsGlobalWindow::HasIndexedDBSupport())
|
||||
DOM_CLASSINFO_WINDOW_MAP_ENTRIES(true)
|
||||
#ifdef MOZ_WEBSPEECH
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsISpeechSynthesisGetter)
|
||||
#endif
|
||||
|
@ -1390,7 +1390,7 @@ nsDOMClassInfo::Init()
|
|||
DOM_CLASSINFO_MAP_END
|
||||
|
||||
DOM_CLASSINFO_MAP_BEGIN_NO_CLASS_IF(ModalContentWindow, nsIDOMWindow)
|
||||
DOM_CLASSINFO_WINDOW_MAP_ENTRIES(nsGlobalWindow::HasIndexedDBSupport())
|
||||
DOM_CLASSINFO_WINDOW_MAP_ENTRIES(true)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMModalContentWindow)
|
||||
#ifdef MOZ_WEBSPEECH
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsISpeechSynthesisGetter)
|
||||
|
|
|
@ -11436,13 +11436,6 @@ nsGlobalWindow::DisableTimeChangeNotifications()
|
|||
nsSystemTimeChangeObserver::RemoveWindowListener(this);
|
||||
}
|
||||
|
||||
// static
|
||||
bool
|
||||
nsGlobalWindow::HasIndexedDBSupport()
|
||||
{
|
||||
return Preferences::GetBool("indexedDB.feature.enabled", true);
|
||||
}
|
||||
|
||||
static size_t
|
||||
SizeOfEventTargetObjectsEntryExcludingThisFun(
|
||||
nsPtrHashKey<nsDOMEventTargetHelper> *aEntry,
|
||||
|
|
|
@ -668,8 +668,6 @@ public:
|
|||
return innerWindow && innerWindow->IsInnerWindow() ? innerWindow : nullptr;
|
||||
}
|
||||
|
||||
static bool HasIndexedDBSupport();
|
||||
|
||||
static WindowByIdTable* GetWindowsTable() {
|
||||
return sWindowsById;
|
||||
}
|
||||
|
|
|
@ -560,7 +560,6 @@ pref("dom.webnotifications.enabled", true);
|
|||
|
||||
// prevent tooltips from showing up
|
||||
pref("browser.chrome.toolbar_tips", false);
|
||||
pref("indexedDB.feature.enabled", true);
|
||||
pref("dom.indexedDB.warningQuota", 5);
|
||||
|
||||
// prevent video elements from preloading too much data
|
||||
|
|
Загрузка…
Ссылка в новой задаче