diff --git a/b2g/app/b2g.js b/b2g/app/b2g.js index 412d1e62f03f..4b961724b9c5 100644 --- a/b2g/app/b2g.js +++ b/b2g/app/b2g.js @@ -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 diff --git a/dom/tests/mochitest/general/test_interfaces.html b/dom/tests/mochitest/general/test_interfaces.html index e3fce3f48a0e..3fdae7f0405e 100644 --- a/dom/tests/mochitest/general/test_interfaces.html +++ b/dom/tests/mochitest/general/test_interfaces.html @@ -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",