зеркало из https://github.com/mozilla/gecko-dev.git
Bug 923417 - Enabling DataStore for b2g and Desktop (non-release build), r=khuey
This commit is contained in:
Родитель
571a5beee7
Коммит
40b3730a18
|
@ -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
|
||||
|
|
|
@ -96,6 +96,10 @@ const kEventConstructors = {
|
|||
return e;
|
||||
},
|
||||
},
|
||||
DataStoreChangeEvent: { create: function (aName, aProps) {
|
||||
return new DataStoreChangeEvent(aProps);
|
||||
},
|
||||
},
|
||||
DeviceLightEvent: { create: function (aName, aProps) {
|
||||
return new DeviceLightEvent(aName, aProps);
|
||||
},
|
||||
|
|
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче