Bug 923417 - Enabling DataStore for b2g and Desktop (non-release build), r=khuey

This commit is contained in:
Andrea Marchesini 2013-10-05 08:36:53 -04:00
parent 6d43820437
commit 396b35c0d0
2 changed files with 7 additions and 0 deletions

View File

@ -796,7 +796,11 @@ pref("network.sntp.timeout", 30); // In seconds.
pref("dom.promise.enabled", false);
// Enable dataStore
#ifdef RELEASE_BUILD
pref("dom.datastore.enabled", false);
#else
pref("dom.datastore.enabled", true);
#endif
// DOM Inter-App Communication API.
#ifdef MOZ_WIDGET_GONK

View File

@ -150,6 +150,9 @@ var interfaceNamesInGlobalScope =
"DataChannel",
"DataContainerEvent",
{name: "DataErrorEvent", b2g: true},
{name: "DataStore", b2g: true, release: false},
{name: "DataStoreChangeEvent", b2g: true, release: false},
{name: "DataStoreCursor", b2g: true, release: false},
"DataTransfer",
"DelayNode",
"DesktopNotification",